Apache ZooKeeper · Capability

Apache ZooKeeper Admin Server API — Health

Apache ZooKeeper Admin Server API — Health. 2 operations. Lead operation: Apache ZooKeeper Check Read-only Mode. Self-contained Naftiko capability covering one Apache Zookeeper business surface.

Run with Naftiko Apache ZookeeperHealth

What You Can Do

GET
Isreadonly — Apache ZooKeeper Check Read-only Mode
/v1/isro
GET
Healthcheck — Apache ZooKeeper Health Check
/v1/ruok

MCP Tools

apache-zookeeper-check-read-only

Apache ZooKeeper Check Read-only Mode

read-only idempotent
apache-zookeeper-health-check

Apache ZooKeeper Health Check

read-only idempotent

Capability Spec

zookeeper-admin-health.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache ZooKeeper Admin Server API — Health
  description: 'Apache ZooKeeper Admin Server API — Health. 2 operations. Lead operation: Apache ZooKeeper Check Read-only
    Mode. Self-contained Naftiko capability covering one Apache Zookeeper business surface.'
  tags:
  - Apache Zookeeper
  - Health
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_ZOOKEEPER_API_KEY: APACHE_ZOOKEEPER_API_KEY
capability:
  consumes:
  - type: http
    namespace: zookeeper-admin-health
    baseUri: http://localhost:8080/commands
    description: Apache ZooKeeper Admin Server API — Health business capability. Self-contained, no shared references.
    resources:
    - name: isro
      path: /isro
      operations:
      - name: isreadonly
        method: GET
        description: Apache ZooKeeper Check Read-only Mode
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: ruok
      path: /ruok
      operations:
      - name: healthcheck
        method: GET
        description: Apache ZooKeeper Health Check
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: zookeeper-admin-health-rest
    port: 8080
    description: REST adapter for Apache ZooKeeper Admin Server API — Health. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/isro
      name: isro
      description: REST surface for isro.
      operations:
      - method: GET
        name: isreadonly
        description: Apache ZooKeeper Check Read-only Mode
        call: zookeeper-admin-health.isreadonly
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ruok
      name: ruok
      description: REST surface for ruok.
      operations:
      - method: GET
        name: healthcheck
        description: Apache ZooKeeper Health Check
        call: zookeeper-admin-health.healthcheck
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: zookeeper-admin-health-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache ZooKeeper Admin Server API — Health. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-zookeeper-check-read-only
      description: Apache ZooKeeper Check Read-only Mode
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: zookeeper-admin-health.isreadonly
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-zookeeper-health-check
      description: Apache ZooKeeper Health Check
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: zookeeper-admin-health.healthcheck
      outputParameters:
      - type: object
        mapping: $.