Grafana · Capability

Grafana — Help

Grafana — Help. 2 operations. Lead operation: Grafana Clear Help Flags. Self-contained Naftiko capability covering one Grafana business surface.

Run with Naftiko GrafanaHelp

What You Can Do

GET
Clearhelpflags — Grafana Clear Help Flags
/v1/user/helpflags/clear
PUT
Sethelpflag — Grafana Set Help Flag
/v1/user/helpflags/{flag-id}

MCP Tools

grafana-clear-help-flags

Grafana Clear Help Flags

read-only idempotent
grafana-set-help-flag

Grafana Set Help Flag

idempotent

Capability Spec

grafana-help.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Grafana — Help
  description: 'Grafana — Help. 2 operations. Lead operation: Grafana Clear Help Flags. Self-contained Naftiko capability
    covering one Grafana business surface.'
  tags:
  - Grafana
  - Help
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAFANA_API_KEY: GRAFANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: grafana-help
    baseUri: http://{defaultHost}
    description: Grafana — Help business capability. Self-contained, no shared references.
    resources:
    - name: user-helpflags-clear
      path: /user/helpflags/clear
      operations:
      - name: clearhelpflags
        method: GET
        description: Grafana Clear Help Flags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - 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-help-rest
    port: 8080
    description: REST adapter for Grafana — Help. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/user/helpflags/clear
      name: user-helpflags-clear
      description: REST surface for user-helpflags-clear.
      operations:
      - method: GET
        name: clearhelpflags
        description: Grafana Clear Help Flags
        call: grafana-help.clearhelpflags
        outputParameters:
        - type: object
          mapping: $.
    - 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-help.sethelpflag
        with:
          flag_id: rest.flag_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: grafana-help-mcp
    port: 9090
    transport: http
    description: MCP adapter for Grafana — Help. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: grafana-clear-help-flags
      description: Grafana Clear Help Flags
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-help.clearhelpflags
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-set-help-flag
      description: Grafana Set Help Flag
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: grafana-help.sethelpflag
      with:
        flag_id: tools.flag_id
      outputParameters:
      - type: object
        mapping: $.