Skip to main content
Glama

k8s_namespaces

Manage Kubernetes namespaces to list, view, create, or delete them within your cluster using the Kube MCP server.

Instructions

Manage Kubernetes namespaces. Actions:

  • list: List all namespaces in the cluster

  • get: Get details of a specific namespace

  • create: Create a new namespace

  • delete: Delete a namespace (requires confirm=true or dryRun=true)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
nameNoNamespace name (required for get, create, delete)
confirmNoConfirm destructive action (required for delete unless dryRun=true)
dryRunNoPreview changes without executing (default: false)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by specifying that delete requires confirmation or dry-run, indicating a destructive operation. However, it lacks details on permissions needed, rate limits, error handling, or what 'details' include for get actions, leaving gaps for a mutation-capable tool.

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 front-loaded with the core purpose and uses a bulleted list for actions, making it highly scannable and efficient. Every sentence earns its place by clarifying action specifics without redundancy, resulting in zero waste in communication.

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?

Given the tool's complexity (4 parameters, mutation capabilities) and lack of annotations or output schema, the description is adequate but incomplete. It covers basic actions and delete safeguards but misses details on return values, error responses, or broader behavioral traits like idempotency, which are important for a Kubernetes management tool.

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 all parameters thoroughly. The description adds minimal value beyond the schema by mentioning that name is 'required for get, create, delete' and clarifying delete conditions, but it doesn't provide additional semantic context like format examples or edge cases. This meets the baseline for high schema coverage.

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 tool's purpose with specific verbs ('Manage Kubernetes namespaces') and lists four distinct actions (list, get, create, delete). It distinguishes itself from sibling tools like k8s_pods or k8s_services by focusing exclusively on namespace operations, making the scope unambiguous.

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 provides clear context for when to use each action (e.g., 'get details of a specific namespace') and includes prerequisites for delete actions (confirm or dryRun). However, it doesn't explicitly state when to choose this tool over alternatives like k8s_configmaps for resource management, leaving some sibling differentiation implicit rather than explicit.

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/icy-r/kubemcp'

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