Grafana · Capability

Grafana — Calls

Grafana — Calls. 5 operations. Lead operation: Grafana Datasource Proxy GET By UID Calls. Self-contained Naftiko capability covering one Grafana business surface.

Run with Naftiko GrafanaCalls

What You Can Do

GET
Datasourceproxygetbyuidcalls — Grafana Datasource Proxy GET By UID Calls
/v1/datasources/proxy/uid/{uid}/{datasource-proxy-route}
POST
Datasourceproxypostbyuidcalls — Grafana Datasource Proxy POST By UID Calls
/v1/datasources/proxy/uid/{uid}/{datasource-proxy-route}
DELETE
Datasourceproxydeletebyuidcalls — Grafana Datasource Proxy DELETE By UID Calls
/v1/datasources/proxy/uid/{uid}/{datasource-proxy-route}
GET
Datasourceproxygetcalls — Grafana Datasource Proxy GET calls
/v1/datasources/proxy/{id}/{datasource-proxy-route}
POST
Datasourceproxypostcalls — Grafana Datasource Proxy POST Calls
/v1/datasources/proxy/{id}/{datasource-proxy-route}

MCP Tools

grafana-datasource-proxy-get-uid

Grafana Datasource Proxy GET By UID Calls

read-only idempotent
grafana-datasource-proxy-post-uid

Grafana Datasource Proxy POST By UID Calls

grafana-datasource-proxy-delete-uid

Grafana Datasource Proxy DELETE By UID Calls

idempotent
grafana-datasource-proxy-get-calls

Grafana Datasource Proxy GET calls

read-only idempotent
grafana-datasource-proxy-post-calls

Grafana Datasource Proxy POST Calls

Capability Spec

grafana-calls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Grafana — Calls
  description: 'Grafana — Calls. 5 operations. Lead operation: Grafana Datasource Proxy GET By UID Calls. Self-contained Naftiko
    capability covering one Grafana business surface.'
  tags:
  - Grafana
  - Calls
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAFANA_API_KEY: GRAFANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: grafana-calls
    baseUri: http://{defaultHost}
    description: Grafana — Calls business capability. Self-contained, no shared references.
    resources:
    - name: datasources-proxy-uid-uid-datasource_proxy_route
      path: /datasources/proxy/uid/{uid}/{datasource_proxy_route}
      operations:
      - name: datasourceproxygetbyuidcalls
        method: GET
        description: Grafana Datasource Proxy GET By UID Calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: datasource_proxy_route
          in: path
          type: string
          required: true
        - name: uid
          in: path
          type: string
          required: true
      - name: datasourceproxypostbyuidcalls
        method: POST
        description: Grafana Datasource Proxy POST By UID Calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: datasource_proxy_route
          in: path
          type: string
          required: true
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: datasourceproxydeletebyuidcalls
        method: DELETE
        description: Grafana Datasource Proxy DELETE By UID Calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: datasource_proxy_route
          in: path
          type: string
          required: true
    - name: datasources-proxy-id-datasource_proxy_route
      path: /datasources/proxy/{id}/{datasource_proxy_route}
      operations:
      - name: datasourceproxygetcalls
        method: GET
        description: Grafana Datasource Proxy GET calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: datasource_proxy_route
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
      - name: datasourceproxypostcalls
        method: POST
        description: Grafana Datasource Proxy POST Calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: datasource_proxy_route
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.GRAFANA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: grafana-calls-rest
    port: 8080
    description: REST adapter for Grafana — Calls. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/datasources/proxy/uid/{uid}/{datasource-proxy-route}
      name: datasources-proxy-uid-uid-datasource-proxy-route
      description: REST surface for datasources-proxy-uid-uid-datasource_proxy_route.
      operations:
      - method: GET
        name: datasourceproxygetbyuidcalls
        description: Grafana Datasource Proxy GET By UID Calls
        call: grafana-calls.datasourceproxygetbyuidcalls
        with:
          datasource_proxy_route: rest.datasource_proxy_route
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: datasourceproxypostbyuidcalls
        description: Grafana Datasource Proxy POST By UID Calls
        call: grafana-calls.datasourceproxypostbyuidcalls
        with:
          datasource_proxy_route: rest.datasource_proxy_route
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: datasourceproxydeletebyuidcalls
        description: Grafana Datasource Proxy DELETE By UID Calls
        call: grafana-calls.datasourceproxydeletebyuidcalls
        with:
          uid: rest.uid
          datasource_proxy_route: rest.datasource_proxy_route
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/proxy/{id}/{datasource-proxy-route}
      name: datasources-proxy-id-datasource-proxy-route
      description: REST surface for datasources-proxy-id-datasource_proxy_route.
      operations:
      - method: GET
        name: datasourceproxygetcalls
        description: Grafana Datasource Proxy GET calls
        call: grafana-calls.datasourceproxygetcalls
        with:
          datasource_proxy_route: rest.datasource_proxy_route
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: datasourceproxypostcalls
        description: Grafana Datasource Proxy POST Calls
        call: grafana-calls.datasourceproxypostcalls
        with:
          datasource_proxy_route: rest.datasource_proxy_route
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: grafana-calls-mcp
    port: 9090
    transport: http
    description: MCP adapter for Grafana — Calls. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: grafana-datasource-proxy-get-uid
      description: Grafana Datasource Proxy GET By UID Calls
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-calls.datasourceproxygetbyuidcalls
      with:
        datasource_proxy_route: tools.datasource_proxy_route
        uid: tools.uid
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-datasource-proxy-post-uid
      description: Grafana Datasource Proxy POST By UID Calls
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: grafana-calls.datasourceproxypostbyuidcalls
      with:
        datasource_proxy_route: tools.datasource_proxy_route
        uid: tools.uid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-datasource-proxy-delete-uid
      description: Grafana Datasource Proxy DELETE By UID Calls
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: grafana-calls.datasourceproxydeletebyuidcalls
      with:
        uid: tools.uid
        datasource_proxy_route: tools.datasource_proxy_route
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-datasource-proxy-get-calls
      description: Grafana Datasource Proxy GET calls
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-calls.datasourceproxygetcalls
      with:
        datasource_proxy_route: tools.datasource_proxy_route
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-datasource-proxy-post-calls
      description: Grafana Datasource Proxy POST Calls
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: grafana-calls.datasourceproxypostcalls
      with:
        datasource_proxy_route: tools.datasource_proxy_route
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.