Skip to main content
Glama

Read one member status

cluster_member_get
Read-onlyIdempotent

Retrieve a named cluster member's status, including role, state, health, version, lag, and resource observations, by supplying its exact name from the members list.

Instructions

Read one member status

Returns the named component's set, role, state, health and available version, lag, resource and agent observations. Select its name from cluster_members_list; an unknown component returns 404.

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>",
      "member": "<member>"
    },
    "name": "cluster_member_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
memberYesExact member name returned by cluster_members_list, a nonempty string of at most 128 characters; this is a name, not an array index.
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
setYes
nameYes
roleYesProvider data-member or service-component role.
agentNo
groupNoDistributed PostgreSQL group; 0 is coordinator, positive groups are workers. Absent for other members.
stateYes
healthYes
optimeNo
uptimeNo
versionNo
cpuUsageNo
resourcesNoCPU, 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.
lagSecondsNo
publicHostNoMember public host:port when public exposure is enabled.
autoscalingNoEffective 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.
operationIdNo
ramUsageBytesNo
diskTotalBytesNo
diskUsageBytesNo
placementGroupNo
componentVersionNoService-component version, independent of the PostgreSQL data-member version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 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."
    • addedInput schema / properties / member / description
      Added value: +"Exact member name returned by cluster_members_list, a nonempty string of at most 128 characters; this is a name, not an array index."
    • 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_depth15": {
      +      "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"
      +    },
      +    "ObservedResources_depth15": {
      +      "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_depth15": {
      +      "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": {
      +    "agent": {
      +      "$ref": "#/$defs/AgentStatus_depth15"
      +    },
      +    "autoscaling": {
      +      "allOf": [
      +        {
      +          "$ref": "#/$defs/Resources_depth15"
      +        }
      +      ],
      +      "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"
      +    },
      +    "operationId": {
      +      "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_depth15"
      +        }
      +      ],
      +      "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"
      +}
  2. First observedv0.4.3

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's main added value is the unknown-component 404 behavior, which is genuinely useful. The rest of the description summarizes the payload, which overlaps with the existing output schema and adds little beyond that.

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 tight sentences, front-loaded with the purpose and followed by the payload and error behavior; every sentence carries information. The first line merely restates the title verbatim, which is a small redundancy but not harmful.

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?

For a 3-parameter read tool with full schema coverage, complete annotations and an output schema, the definition covers purpose, identifier sourcing and the error case. Nothing essential for a correct call is missing, though it could note any authorization implications of the namespace parameter.

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%, so cluster, member and namespace are already fully documented in the schema, including that member is a name and not an index. The description reinforces the sourcing of the member value from cluster_members_list but adds no new syntax or constraints. Baseline 3 is appropriate when the schema does the heavy lifting.

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

Purpose5/5

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

States a specific verb and resource ('Read one member status') and immediately enumerates what is returned (set, role, state, health, version, lag, resource and agent observations). It also names the sibling cluster_members_list as the source of the identifier, so an agent can distinguish this single-object read from the collection tool without opening either schema.

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

Usage Guidelines4/5

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

Gives a concrete workflow prerequisite: obtain the name from cluster_members_list rather than guessing. It also states the failure mode for a bad name (404), which helps the agent decide to call the list tool first. No explicit 'do not use this when...' exclusion is present, so it falls short of a 5.

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