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