naftiko: 1.0.0-alpha2 info: label: Grafana — Upload description: 'Grafana — Upload. 1 operations. Lead operation: Grafana Upload Snapshot. Self-contained Naftiko capability covering one Grafana business surface.' tags: - Grafana - Upload created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAFANA_API_KEY: GRAFANA_API_KEY capability: consumes: - type: http namespace: grafana-upload baseUri: http://{defaultHost} description: Grafana — Upload business capability. Self-contained, no shared references. resources: - name: cloudmigration-migration-uid-snapshot-snapshotUid-upload path: /cloudmigration/migration/{uid}/snapshot/{snapshotUid}/upload operations: - name: uploadsnapshot method: POST description: Grafana Upload Snapshot outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: uid in: path type: string description: Session UID of a session required: true - name: snapshotUid in: path type: string description: UID of a snapshot required: true authentication: type: apikey key: Authorization value: '{{env.GRAFANA_API_KEY}}' placement: header exposes: - type: rest namespace: grafana-upload-rest port: 8080 description: REST adapter for Grafana — Upload. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cloudmigration/migration/{uid}/snapshot/{snapshotuid}/upload name: cloudmigration-migration-uid-snapshot-snapshotuid-upload description: REST surface for cloudmigration-migration-uid-snapshot-snapshotUid-upload. operations: - method: POST name: uploadsnapshot description: Grafana Upload Snapshot call: grafana-upload.uploadsnapshot with: uid: rest.uid snapshotUid: rest.snapshotUid outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-upload-mcp port: 9090 transport: http description: MCP adapter for Grafana — Upload. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: grafana-upload-snapshot description: Grafana Upload Snapshot hints: readOnly: false destructive: false idempotent: false call: grafana-upload.uploadsnapshot with: uid: tools.uid snapshotUid: tools.snapshotUid outputParameters: - type: object mapping: $.