naftiko: 1.0.0-alpha2 info: label: Grafana — Call description: 'Grafana — Call. 2 operations. Lead operation: Grafana Call Datasource Resource With UID. Self-contained Naftiko capability covering one Grafana business surface.' tags: - Grafana - Call created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAFANA_API_KEY: GRAFANA_API_KEY capability: consumes: - type: http namespace: grafana-call baseUri: http://{defaultHost} description: Grafana — Call business capability. Self-contained, no shared references. resources: - name: datasources-uid-uid-resources-datasource_proxy_route path: /datasources/uid/{uid}/resources/{datasource_proxy_route} operations: - name: calldatasourceresourcewithuid method: GET description: Grafana Call Datasource Resource With UID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: datasource_proxy_route in: path type: string required: true - name: uid in: path type: string required: true - name: datasources-id-resources-datasource_proxy_route path: /datasources/{id}/resources/{datasource_proxy_route} operations: - name: calldatasourceresourcebyid method: GET description: Grafana Call Datasource Resource By ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: datasource_proxy_route in: path type: string required: true - name: id in: path type: string required: true authentication: type: apikey key: Authorization value: '{{env.GRAFANA_API_KEY}}' placement: header exposes: - type: rest namespace: grafana-call-rest port: 8080 description: REST adapter for Grafana — Call. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/datasources/uid/{uid}/resources/{datasource-proxy-route} name: datasources-uid-uid-resources-datasource-proxy-route description: REST surface for datasources-uid-uid-resources-datasource_proxy_route. operations: - method: GET name: calldatasourceresourcewithuid description: Grafana Call Datasource Resource With UID call: grafana-call.calldatasourceresourcewithuid with: datasource_proxy_route: rest.datasource_proxy_route uid: rest.uid outputParameters: - type: object mapping: $. - path: /v1/datasources/{id}/resources/{datasource-proxy-route} name: datasources-id-resources-datasource-proxy-route description: REST surface for datasources-id-resources-datasource_proxy_route. operations: - method: GET name: calldatasourceresourcebyid description: Grafana Call Datasource Resource By ID call: grafana-call.calldatasourceresourcebyid with: datasource_proxy_route: rest.datasource_proxy_route id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-call-mcp port: 9090 transport: http description: MCP adapter for Grafana — Call. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: grafana-call-datasource-resource-uid description: Grafana Call Datasource Resource With UID hints: readOnly: true destructive: false idempotent: true call: grafana-call.calldatasourceresourcewithuid with: datasource_proxy_route: tools.datasource_proxy_route uid: tools.uid outputParameters: - type: object mapping: $. - name: grafana-call-datasource-resource-id description: Grafana Call Datasource Resource By ID hints: readOnly: true destructive: false idempotent: true call: grafana-call.calldatasourceresourcebyid with: datasource_proxy_route: tools.datasource_proxy_route id: tools.id outputParameters: - type: object mapping: $.