Skip to main content
Glama
jhmorimoto

Kubernetes Read-Only MCP

by jhmorimoto

list_namespaces

Read-only

Retrieve all Kubernetes namespaces and their phases to assess cluster state without making changes.

Instructions

List namespaces and their phases.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clusterYes

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

B3.4/5.0
Behavior3/5

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

The readOnlyHint annotation already signals that this is a safe read operation, and the description is consistent with it. The description adds the useful detail that phases are returned, but it does not explain behavior such as cluster scoping, ordering, or pagination; it provides modest context beyond the annotations.

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?

The description is one compact, front-loaded sentence with no filler or redundant material. It covers the action and the unique output detail efficiently, which is appropriately concise for a simple tool.

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 one required parameter, readOnly annotations, and an output schema, this is a low-complexity tool. The description captures the core operation and the phase output, and the required cluster parameter is inferable as the scoping value; the main gap is that this relationship is not stated explicitly.

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 must compensate, but it says nothing about the required cluster parameter. The title 'Cluster' gives minimal meaning, yet there is no guidance on valid values or how the cluster is used to select namespaces.

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?

The description states a specific action ('List'), a target resource ('namespaces'), and an output detail ('their phases'), making the purpose immediately clear and distinguishable from generic siblings like list_resources. It loses a point because it does not mention that namespaces are scoped to the required cluster parameter, leaving some ambiguity about the listing scope.

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 wording implies the tool should be used when an agent needs a list of namespaces with their phase/status. It does not name any alternatives or when-not-to-use conditions, so it gives only implicit guidance rather than explicit routing to a sibling tool.

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