naftiko: 1.0.0-alpha2 info: label: Grafana Dashboard API — Alerting description: 'Grafana Dashboard API — Alerting. 2 operations. Lead operation: List Alert Rules. Self-contained Naftiko capability covering one Tableaux De Bord business surface.' tags: - Tableaux De Bord - Alerting created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TABLEAUX_DE_BORD_API_KEY: TABLEAUX_DE_BORD_API_KEY capability: consumes: - type: http namespace: grafana-dashboard-alerting baseUri: https://{grafana-host}/api description: Grafana Dashboard API — Alerting business capability. Self-contained, no shared references. resources: - name: v1-provisioning-alert-rules path: /v1/provisioning/alert-rules operations: - name: listalertrules method: GET description: List Alert Rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createalertrule method: POST description: Create Alert Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.TABLEAUX_DE_BORD_API_KEY}}' placement: header exposes: - type: rest namespace: grafana-dashboard-alerting-rest port: 8080 description: REST adapter for Grafana Dashboard API — Alerting. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/provisioning/alert-rules name: v1-provisioning-alert-rules description: REST surface for v1-provisioning-alert-rules. operations: - method: GET name: listalertrules description: List Alert Rules call: grafana-dashboard-alerting.listalertrules outputParameters: - type: object mapping: $. - method: POST name: createalertrule description: Create Alert Rule call: grafana-dashboard-alerting.createalertrule with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-dashboard-alerting-mcp port: 9090 transport: http description: MCP adapter for Grafana Dashboard API — Alerting. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-alert-rules description: List Alert Rules hints: readOnly: true destructive: false idempotent: true call: grafana-dashboard-alerting.listalertrules outputParameters: - type: object mapping: $. - name: create-alert-rule description: Create Alert Rule hints: readOnly: false destructive: false idempotent: false call: grafana-dashboard-alerting.createalertrule with: body: tools.body outputParameters: - type: object mapping: $.