naftiko: 1.0.0-alpha2 info: label: Grafana — Clean description: 'Grafana — Clean. 1 operations. Lead operation: Grafana Clean Data Source Cache. Self-contained Naftiko capability covering one Grafana business surface.' tags: - Grafana - Clean created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAFANA_API_KEY: GRAFANA_API_KEY capability: consumes: - type: http namespace: grafana-clean baseUri: http://{defaultHost} description: Grafana — Clean business capability. Self-contained, no shared references. resources: - name: datasources-dataSourceUID-cache-clean path: /datasources/{dataSourceUID}/cache/clean operations: - name: cleandatasourcecache method: POST description: Grafana Clean Data Source Cache outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dataSourceUID in: path type: string required: true authentication: type: apikey key: Authorization value: '{{env.GRAFANA_API_KEY}}' placement: header exposes: - type: rest namespace: grafana-clean-rest port: 8080 description: REST adapter for Grafana — Clean. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/datasources/{datasourceuid}/cache/clean name: datasources-datasourceuid-cache-clean description: REST surface for datasources-dataSourceUID-cache-clean. operations: - method: POST name: cleandatasourcecache description: Grafana Clean Data Source Cache call: grafana-clean.cleandatasourcecache with: dataSourceUID: rest.dataSourceUID outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-clean-mcp port: 9090 transport: http description: MCP adapter for Grafana — Clean. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: grafana-clean-data-source-cache description: Grafana Clean Data Source Cache hints: readOnly: false destructive: false idempotent: false call: grafana-clean.cleandatasourcecache with: dataSourceUID: tools.dataSourceUID outputParameters: - type: object mapping: $.