Skip to main content
Glama
jhmorimoto

Kubernetes Read-Only MCP

by jhmorimoto

list_statefulsets

Read-only

List StatefulSets in a Kubernetes cluster to check replica readiness and diagnose workload status without modifying resources.

Instructions

List StatefulSets and replica readiness.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clusterYes
namespaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description does not need to repeat safety. It adds a small behavioral detail, replica readiness, but says nothing about auth expectations, namespace semantics, or pagination. This is acceptable but not rich.

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?

The description is a single concise sentence with no wasted words. It front-loads the core purpose, though it might have used a bit more room to clarify namespace scoping.

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

Completeness3/5

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

For a simple read-only listing tool with an output schema and annotations, the description is minimally viable. The main gap is the lack of explicit namespace behavior and absent guidance on when to use this versus the more generic list_resources.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate. The parameter names cluster and namespace are self-explanatory, but the description does not clarify what namespace=null means, whether only the given namespace is used, or any constraints on the cluster parameter.

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 StatefulSets', and adds the output nuance 'replica readiness'. This clearly distinguishes it from sibling tools like list_pods or list_deployments, even without explicit comparison.

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?

Usage is implied by the resource name: if an agent needs StatefulSets, this is the tool. However, it does not explicitly state when to prefer it over list_resources or provide any when-not/alternatives guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhmorimoto/kubernetes-readonly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server