Skip to main content
Glama
vijaykodam

Kubernetes Read Only MCP Server

by vijaykodam

List Resource

list_resource
Read-onlyIdempotent

List any Kubernetes resource (including CRDs) using dynamic client. Filter by namespace, labels, or fields. Read-only, no mutations.

Instructions

List resources of any kind (including CRDs) via the dynamic client. GET/LIST only; never mutates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesResource kind, e.g. 'Pod', 'Ingress', 'MyCustomResource'.
api_versionNoGroup/version, e.g. 'v1' (default) or 'networking.k8s.io/v1', 'apps/v1'.v1
namespaceNoNamespace to scope to. If omitted, lists across all namespaces (or cluster-scoped).
label_selectorNoLabel selector, e.g. 'app=nginx'.
field_selectorNoField selector, e.g. 'metadata.name=foo'.
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description reinforces these by stating 'never mutates' and adds minor context about the dynamic client, but does not reveal additional behavioral traits beyond what annotations provide.

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 a single sentence that efficiently conveys the core purpose and behavior. Every word adds value, and it is front-loaded with the most important information.

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?

Given the simplicity of the tool (list resources), the description covers the essential purpose and safety. However, it lacks details about output format or pagination, which could be helpful. Still, it is largely complete for its complexity level.

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 input schema already documents all parameters adequately. The tool description does not add new parameter semantics beyond what is in the schema, meeting the baseline of 3.

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?

The description clearly states the action ('List'), the resource scope ('any kind including CRDs'), and the method ('via the dynamic client'). It distinguishes from sibling tools like list_pods by emphasizing broad resource support.

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?

The description explicitly notes that the tool only performs GET/LIST and never mutates, providing clear context for when to use it. However, it does not explicitly guide against using this tool when a more specific listing tool (e.g., list_pods) would be appropriate.

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

Install Server

Other Tools

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/vijaykodam/kubernetes-readonly-mcp'

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