naftiko: 1.0.0-alpha2 info: label: Grafana — Options description: 'Grafana — Options. 2 operations. Lead operation: Grafana List Sort Options. Self-contained Naftiko capability covering one Grafana business surface.' tags: - Grafana - Options created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAFANA_API_KEY: GRAFANA_API_KEY capability: consumes: - type: http namespace: grafana-options baseUri: http://{defaultHost} description: Grafana — Options business capability. Self-contained, no shared references. resources: - name: search-sorting path: /search/sorting operations: - name: listsortoptions method: GET description: Grafana List Sort Options outputRawFormat: json outputParameters: - name: result type: object value: $. - name: snapshot-shared-options path: /snapshot/shared-options operations: - name: getsharingoptions method: GET description: Grafana Get Sharing Options 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-options-rest port: 8080 description: REST adapter for Grafana — Options. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/search/sorting name: search-sorting description: REST surface for search-sorting. operations: - method: GET name: listsortoptions description: Grafana List Sort Options call: grafana-options.listsortoptions outputParameters: - type: object mapping: $. - path: /v1/snapshot/shared-options name: snapshot-shared-options description: REST surface for snapshot-shared-options. operations: - method: GET name: getsharingoptions description: Grafana Get Sharing Options call: grafana-options.getsharingoptions outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-options-mcp port: 9090 transport: http description: MCP adapter for Grafana — Options. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: grafana-list-sort-options description: Grafana List Sort Options hints: readOnly: true destructive: false idempotent: true call: grafana-options.listsortoptions outputParameters: - type: object mapping: $. - name: grafana-get-sharing-options description: Grafana Get Sharing Options hints: readOnly: true destructive: false idempotent: true call: grafana-options.getsharingoptions outputParameters: - type: object mapping: $.