Dropwizard · Capability

Dropwizard Admin API — Health

Dropwizard Admin API — Health. 2 operations. Lead operation: Run all health checks. Self-contained Naftiko capability covering one Dropwizard business surface.

Run with Naftiko DropwizardHealth

What You Can Do

GET
Gethealthchecks — Run all health checks
/v1/healthcheck
GET
Ping — Ping the application
/v1/ping

MCP Tools

run-all-health-checks

Run all health checks

read-only idempotent
ping-application

Ping the application

read-only idempotent

Capability Spec

admin-health.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dropwizard Admin API — Health
  description: 'Dropwizard Admin API — Health. 2 operations. Lead operation: Run all health checks. Self-contained Naftiko
    capability covering one Dropwizard business surface.'
  tags:
  - Dropwizard
  - Health
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DROPWIZARD_API_KEY: DROPWIZARD_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-health
    baseUri: http://localhost:8081
    description: Dropwizard Admin API — Health business capability. Self-contained, no shared references.
    resources:
    - name: healthcheck
      path: /healthcheck
      operations:
      - name: gethealthchecks
        method: GET
        description: Run all health checks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: ping
      path: /ping
      operations:
      - name: ping
        method: GET
        description: Ping the application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: admin-health-rest
    port: 8080
    description: REST adapter for Dropwizard Admin API — Health. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/healthcheck
      name: healthcheck
      description: REST surface for healthcheck.
      operations:
      - method: GET
        name: gethealthchecks
        description: Run all health checks
        call: admin-health.gethealthchecks
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ping
      name: ping
      description: REST surface for ping.
      operations:
      - method: GET
        name: ping
        description: Ping the application
        call: admin-health.ping
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-health-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dropwizard Admin API — Health. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: run-all-health-checks
      description: Run all health checks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-health.gethealthchecks
      outputParameters:
      - type: object
        mapping: $.
    - name: ping-application
      description: Ping the application
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-health.ping
      outputParameters:
      - type: object
        mapping: $.