Jaeger · Capability

Jaeger Query API — Services

Jaeger Query API — Services. 2 operations. Lead operation: Get all services. Self-contained Naftiko capability covering one Jaeger business surface.

Run with Naftiko JaegerServices

What You Can Do

GET
Getservices — Get all services
/v1/api/services
GET
Getoperations — Get operations for a service
/v1/api/services/{service}/operations

MCP Tools

get-all-services

Get all services

read-only idempotent
get-operations-service

Get operations for a service

read-only idempotent

Capability Spec

query-services.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Jaeger Query API — Services
  description: 'Jaeger Query API — Services. 2 operations. Lead operation: Get all services. Self-contained Naftiko capability
    covering one Jaeger business surface.'
  tags:
  - Jaeger
  - Services
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JAEGER_API_KEY: JAEGER_API_KEY
capability:
  consumes:
  - type: http
    namespace: query-services
    baseUri: http://localhost:16686
    description: Jaeger Query API — Services business capability. Self-contained, no shared references.
    resources:
    - name: api-services
      path: /api/services
      operations:
      - name: getservices
        method: GET
        description: Get all services
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-services-service-operations
      path: /api/services/{service}/operations
      operations:
      - name: getoperations
        method: GET
        description: Get operations for a service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: service
          in: path
          type: string
          description: The service name.
          required: true
        - name: spanKind
          in: query
          type: string
          description: Filter operations by span kind (e.g. server, client, producer, consumer).
  exposes:
  - type: rest
    namespace: query-services-rest
    port: 8080
    description: REST adapter for Jaeger Query API — Services. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/services
      name: api-services
      description: REST surface for api-services.
      operations:
      - method: GET
        name: getservices
        description: Get all services
        call: query-services.getservices
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/services/{service}/operations
      name: api-services-service-operations
      description: REST surface for api-services-service-operations.
      operations:
      - method: GET
        name: getoperations
        description: Get operations for a service
        call: query-services.getoperations
        with:
          service: rest.service
          spanKind: rest.spanKind
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: query-services-mcp
    port: 9090
    transport: http
    description: MCP adapter for Jaeger Query API — Services. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-all-services
      description: Get all services
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: query-services.getservices
      outputParameters:
      - type: object
        mapping: $.
    - name: get-operations-service
      description: Get operations for a service
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: query-services.getoperations
      with:
        service: tools.service
        spanKind: tools.spanKind
      outputParameters:
      - type: object
        mapping: $.