Skip to main content
Glama

get_statefulsets

Read-only

Fetch StatefulSet summary rows: name, namespace, replicas, ready and current counts, service name, age and the first unmet condition. Not-ready sets sort first. A list needs namespace or all_namespaces=true and carries total, returned, truncated and scope.

Input Schema

NameRequiredDescriptionDefault
nameNoSpecific StatefulSet name to fetch.
namespaceNoKubernetes namespace to list. A list needs either this or all_namespaces=true; a named read (name) needs neither.
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.
all_namespacesNoSet true to list every namespace on the cluster deliberately. Omit it and pass namespace to list one namespace; a list with neither is refused (error_code scope_required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description goes beyond that with the non-obvious ordering rule (not-ready sets sort first) and the shape of list results (total, returned, truncated, scope), which tells the agent to expect truncation and scoping metadata. It does not cover permissions or failure modes beyond the schema's scope_required note.

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?

Three dense sentences, front-loaded with the resource and its returned fields, then ordering, then scoping rules. The field enumeration is a little listy but every element is genuinely informative and nothing is padded.

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 no output schema, the description usefully carries the return-shape burden (field list, ordering, truncation metadata) plus the list-scoping prerequisite. Only the error/edge behavior is left to the schema, so it is close to complete for a read-only list tool.

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 all four parameters are already documented, including the namespace/all_namespaces exclusivity and the cluster_id discovery hint. The description restates the scoping rule but adds no syntax or format detail the schema lacks; baseline 3 is appropriate.

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 (Fetch) and resource (StatefulSet summary rows) and enumerates exactly what each row contains, which cleanly separates it from the sibling workload readers (get_pods, get_deployments, get_daemonsets, get_cronjobs). An agent knows precisely what it gets back without opening a 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 clear selection rule for listing: a list needs namespace or all_namespaces=true, while a named read (name) needs neither. It does not name an alternative tool or explain when to prefer a full describe_resource over this summary view, but the scoping condition is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources