Skip to main content
Glama

get_pvcs

Read-only

Fetch PersistentVolumeClaim summary rows: name, namespace, status, bound volume, storage class, access modes, capacity and requested size. Unbound claims sort first. A list needs namespace or all_namespaces=true and carries total, returned, truncated and scope.

Input Schema

NameRequiredDescriptionDefault
nameNoSpecific PVC 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

A3.8/5.0
Behavior4/5

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

Annotations already establish this as a read-only operation, so the description's job is to add context. It discloses that unbound claims sort first and that a list response carries total, returned, truncated and scope, which is useful behavioral detail. It does not cover permissions, rate limits, or error behavior beyond the scope_required constraint shown in the schema.

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

Conciseness5/5

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

Three sentences, front-loaded with the operation and returned fields; the sorting rule and list requirements follow efficiently. Every sentence contributes a distinct piece of information, with no filler.

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 carries the return-value burden and does a good job listing row fields and list metadata (total, returned, truncated, scope). The only gap is that it does not explicitly route among sibling resource getters, but for calling this tool correctly that is minor.

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 the schema already documents name, namespace, cluster_id and all_namespaces including the list requirement. The description repeats the namespace/all_namespaces rule and does not add syntax, constraints, or examples beyond the schema, so the baseline of 3 is appropriate.

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?

States a specific verb ('Fetch') and resource ('PersistentVolumeClaim summary rows'), and enumerates the returned fields, so the agent knows exactly what data comes back. It does not name a sibling tool or say when this is preferable to get_pods/get_configmaps, so it misses the top of the scale.

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?

The description gives the call-shape constraint for list vs named read ('A list needs namespace or all_namespaces=true... a named read needs neither'), which helps the agent avoid the scope_required error. It does not say when to choose get_pvcs over other resource getters or give exclusion conditions, so usage guidance remains implied rather than explicit.

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