Skip to main content
Glama

Read member health, role and replica lag

cluster_members_list
Read-onlyIdempotent

List database and service cluster members with health, role, replica lag and resource measurements to identify degraded components; use returned names for individual inspection.

Instructions

Read member health, role and replica lag

Returns an unpaginated items array of observed database and service components, including names, set, state, health and available resource measurements. Pass a returned name to cluster_member_get for the corresponding individual record.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cluster": "<cluster>"
    },
    "name": "cluster_members_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
clusterYesManaged cluster name; the RBAC object is namespace/cluster.
namespaceNoNamespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter.

Output Schema

NameRequiredDescriptionDefault
itemsYes
nextCursorNoOpaque continuation cursor; absent at the end.
operationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / $defs / NamespaceName
      Removed value: -{
      -  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      -  "maxLength": 32,
      -  "minLength": 2,
      -  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      -  "type": "string"
      -}
    • addedInput schema / $defs / NamespaceName_depth16
      Added value: +{
      +  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +  "maxLength": 32,
      +  "minLength": 2,
      +  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +  "type": "string"
      +}
    • addedInput schema / properties / cluster / description
      Added value: +"Managed cluster name; the RBAC object is namespace/cluster."
    • changedInput schema / properties / namespace / $ref
      Previous value: -"#/$defs/NamespaceName"New value: +"#/$defs/NamespaceName_depth16"
    • addedInput schema / properties / namespace / description
      Added value: +"Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "AgentStatus_depth14": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "build": {
      +          "type": "string"
      +        },
      +        "commit": {
      +          "type": "string"
      +        },
      +        "configVersion": {
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "connected": {
      +          "type": "boolean"
      +        },
      +        "lastSeenAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "version": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "connected"
      +      ],
      +      "type": "object"
      +    },
      +    "Member_depth15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "agent": {
      +          "$ref": "#/$defs/AgentStatus_depth14"
      +        },
      +        "autoscaling": {
      +          "allOf": [
      +            {
      +              "$ref": "#/$defs/Resources_depth14"
      +            }
      +          ],
      +          "description": "Effective runtime vertical autoscaling configuration read from the platform, distinct from desired spec and current allocation. Disk bounds refer to the disposable runtime root disk, not the persistent database volume.",
      +          "readOnly": true
      +        },
      +        "componentVersion": {
      +          "description": "Service-component version, independent of the PostgreSQL data-member version.",
      +          "type": "string"
      +        },
      +        "cpuUsage": {
      +          "type": "number"
      +        },
      +        "diskTotalBytes": {
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "diskUsageBytes": {
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "group": {
      +          "description": "Distributed PostgreSQL group; 0 is coordinator, positive groups are workers. Absent for other members.",
      +          "minimum": 0,
      +          "readOnly": true,
      +          "type": "integer"
      +        },
      +        "health": {
      +          "type": "boolean"
      +        },
      +        "lagSeconds": {
      +          "type": "number"
      +        },
      +        "name": {
      +          "maxLength": 128,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "optime": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "placementGroup": {
      +          "type": "string"
      +        },
      +        "publicHost": {
      +          "description": "Member public host:port when public exposure is enabled.",
      +          "readOnly": true,
      +          "type": "string"
      +        },
      +        "ramUsageBytes": {
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "resources": {
      +          "allOf": [
      +            {
      +              "$ref": "#/$defs/ObservedResources_depth14"
      +            }
      +          ],
      +          "description": "CPU, memory, and root disk the member container currently has. Each value comes from the member agent's live reading of its container (cgroup CPU set and quota, cgroup memory limit, root filesystem size) when the agent is reachable and reports it; otherwise from the service's effective vertical autoscaling (start or minimum CPU, minimum RAM, minimum root disk). Absent when neither is known.",
      +          "readOnly": true
      +        },
      +        "role": {
      +          "description": "Provider data-member or service-component role.",
      +          "enum": [
      +            "primary",
      +            "secondary",
      +            "arbiter",
      +            "config-primary",
      +            "config-secondary",
      +            "router",
      +            "broker",
      +            "unknown",
      +            "master",
      +            "data",
      +            "master,data",
      +            "kibana",
      +            "logstash",
      +            "apm",
      +            "replica",
      +            "standalone",
      +            "proxy",
      +            "gateway",
      +            "auth",
      +            "rest",
      +            "realtime",
      +            "storage",
      +            "imgproxy",
      +            "meta",
      +            "studio",
      +            "functions",
      +            "pooler",
      +            "analytics",
      +            "vector"
      +          ],
      +          "type": "string"
      +        },
      +        "set": {
      +          "type": "string"
      +        },
      +        "state": {
      +          "type": "string"
      +        },
      +        "uptime": {
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "version": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "set",
      +        "role",
      +        "state",
      +        "health"
      +      ],
      +      "type": "object"
      +    },
      +    "ObservedResources_depth14": {
      +      "additionalProperties": false,
      +      "description": "Current container allocation, distinct from desired autoscaling limits.",
      +      "properties": {
      +        "cpuCores": {
      +          "description": "Usable CPU cores.",
      +          "type": "number"
      +        },
      +        "diskGB": {
      +          "description": "Runtime root disk size in GiB, not the persistent database volume.",
      +          "type": "number"
      +        },
      +        "memoryGB": {
      +          "description": "Memory limit in GiB.",
      +          "type": "number"
      +        }
      +      },
      +      "readOnly": true,
      +      "required": [
      +        "cpuCores",
      +        "memoryGB",
      +        "diskGB"
      +      ],
      +      "type": "object"
      +    },
      +    "Resources_depth14": {
      +      "additionalProperties": false,
      +      "description": "Resource configuration returned by the control plane. Observed member autoscaling describes runtime root disks, not persistent data volumes; request-only resource bounds do not apply.",
      +      "properties": {
      +        "cpuMode": {
      +          "enum": [
      +            "SHARED",
      +            "DEDICATED"
      +          ],
      +          "type": "string"
      +        },
      +        "maxCpu": {
      +          "type": "number"
      +        },
      +        "maxDisk": {
      +          "description": "GiB",
      +          "type": "number"
      +        },
      +        "maxRam": {
      +          "description": "GiB",
      +          "type": "number"
      +        },
      +        "minCpu": {
      +          "type": "number"
      +        },
      +        "minDisk": {
      +          "description": "GiB",
      +          "type": "number"
      +        },
      +        "minRam": {
      +          "description": "GiB",
      +          "type": "number"
      +        },
      +        "startCpu": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "cpuMode",
      +        "minCpu",
      +        "maxCpu",
      +        "minRam",
      +        "maxRam",
      +        "minDisk",
      +        "maxDisk"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "$ref": "#/$defs/Member_depth15"
      +      },
      +      "type": "array"
      +    },
      +    "nextCursor": {
      +      "description": "Opaque continuation cursor; absent at the end.",
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description still adds a genuinely useful behavioural fact the annotations do not carry: the result set is unpaginated, which warns the agent that the call may return a large items array.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the capability and followed by the return shape and the handoff to the get tool. The only waste is that the opening line simply repeats the title verbatim.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present and full schema coverage on two parameters, the description is sufficiently complete: it says what is returned and where to go next. Describing the returned fields is technically redundant given the output schema, but nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the namespace parameter in particular carries a long, precise description, so the schema is doing the heavy lifting. The description adds no meaning beyond it — it never mentions the required cluster name or how namespace filtering widens or narrows the collection.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and a concrete set of returned facets — health, role and replica lag — plus the resource (cluster members, via the 'observed database and service components' framing). It clearly separates itself from cluster_member_get by pointing at it for individual records, though it does not distinguish itself from near neighbours like cluster_status_get or database_role_get.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Routing guidance is limited to a follow-up rule: pass a returned name to cluster_member_get for the individual record. There is no statement of when to prefer this list over cluster_status_get or role-specific tools, and no exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools