Skip to main content
Glama

pod_list

Read-only

List Kubernetes pods with name, namespace, phase, readiness, restarts, node, and age; filter by namespace or label selector, or omit namespace to scan all namespaces.

Instructions

[READ] List pods (name, namespace, phase, ready, restarts, node, age).

Omit namespace to list across all namespaces. Use pod_get for full detail.

Args: namespace: Namespace to scope to; omit for all namespaces. label_selector: Optional label selector, e.g. "app=web". target: k8s target name from config; omit to use the default.

Input Schema

NameRequiredDescriptionDefault
targetNo
namespaceNo
label_selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered and the '[READ]' tag is redundant. The description adds real value beyond that by disclosing the returned fields and the namespace-scoping behavior, which matters since there is no output schema. It omits pagination/limit behavior for large clusters.

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?

Front-loaded with purpose, then usage, then args, so the important routing info comes first. Minor redundancy: the namespace omit-for-all rule is stated once in prose and again in the Args block, which slightly dilutes conciseness.

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 read-only list tool with annotations covering safety and no output schema, the description supplies purpose, alternative, params, and return columns. Remaining gaps are minor: no mention of result size/pagination or other relevant diagnostic siblings.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry the full burden and does: it documents all three params, gives the label_selector syntax with an example ('app=web'), and explains the target default and the namespace omit-for-all semantics. Nothing is left undocumented.

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 ('List pods') and even enumerates the returned columns (name, namespace, phase, ready, restarts, node, age). It explicitly differentiates itself from the sibling pod_get ('Use pod_get for full detail'), so an agent can route between them without opening schemas.

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 explicit conditional guidance ('Omit namespace to list across all namespaces') and names the alternative for detail (pod_get). It lacks guidance against other nearby siblings like pod_describe or pod_health_rca, but the core when-to-use is clear.

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