naftiko: 1.0.0-alpha2 info: label: Grafana — Retrieve description: 'Grafana — Retrieve. 2 operations. Lead operation: Grafana Retrieve Service Account. Self-contained Naftiko capability covering one Grafana business surface.' tags: - Grafana - Retrieve created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAFANA_API_KEY: GRAFANA_API_KEY capability: consumes: - type: http namespace: grafana-retrieve baseUri: http://{defaultHost} description: Grafana — Retrieve business capability. Self-contained, no shared references. resources: - name: serviceaccounts-serviceAccountId path: /serviceaccounts/{serviceAccountId} operations: - name: retrieveserviceaccount method: GET description: Grafana Retrieve Service Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: serviceAccountId in: path type: integer required: true - name: signing-keys-keys path: /signing-keys/keys operations: - name: retrievejwks method: GET description: Grafana Retrieve JWKS outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.GRAFANA_API_KEY}}' placement: header exposes: - type: rest namespace: grafana-retrieve-rest port: 8080 description: REST adapter for Grafana — Retrieve. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/serviceaccounts/{serviceaccountid} name: serviceaccounts-serviceaccountid description: REST surface for serviceaccounts-serviceAccountId. operations: - method: GET name: retrieveserviceaccount description: Grafana Retrieve Service Account call: grafana-retrieve.retrieveserviceaccount with: serviceAccountId: rest.serviceAccountId outputParameters: - type: object mapping: $. - path: /v1/signing-keys/keys name: signing-keys-keys description: REST surface for signing-keys-keys. operations: - method: GET name: retrievejwks description: Grafana Retrieve JWKS call: grafana-retrieve.retrievejwks outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-retrieve-mcp port: 9090 transport: http description: MCP adapter for Grafana — Retrieve. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: grafana-retrieve-service-account description: Grafana Retrieve Service Account hints: readOnly: true destructive: false idempotent: true call: grafana-retrieve.retrieveserviceaccount with: serviceAccountId: tools.serviceAccountId outputParameters: - type: object mapping: $. - name: grafana-retrieve-jwks description: Grafana Retrieve JWKS hints: readOnly: true destructive: false idempotent: true call: grafana-retrieve.retrievejwks outputParameters: - type: object mapping: $.