Skip to main content
Glama

k8s_secrets

Manage Kubernetes secrets to store sensitive data like passwords and API keys. Perform actions to list, get, create, update, or delete secrets within your cluster.

Instructions

Manage Kubernetes Secrets. Actions:

  • list: List all Secrets in a namespace

  • get: Get a specific Secret (metadata only, no data)

  • create: Create a new Secret

  • update: Update an existing Secret (requires confirm=true or dryRun=true)

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
nameNoSecret name (required for most actions except list)
namespaceNoNamespace (optional)
dataNoSecret data as key-value pairs (required for create/update)
typeNoSecret type (default: Opaque)Opaque
confirmNoConfirm destructive action (required for update/delete unless dryRun=true)
dryRunNoPreview changes without executing (default: false)
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: metadata-only retrieval for 'get', confirmation requirements for destructive actions (update/delete), and dry-run capabilities. It doesn't cover rate limits, authentication needs, or error behaviors, but provides substantial operational context.

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 efficiently structured with a clear headline followed by bullet points for each action. Every sentence earns its place by providing essential operational information without redundancy. The formatting makes it easy to scan and understand.

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 complex tool with 7 parameters, no annotations, and no output schema, the description provides substantial context about actions and their requirements. It covers the main use cases and safety mechanisms (confirm/dryRun) but doesn't explain return values or error conditions, which would be helpful given the absence of output schema.

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 baseline is 3. The description adds some value by clarifying parameter usage in context (e.g., 'name required for most actions except list', 'data required for create/update'), but doesn't significantly expand beyond what the schema already documents.

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 as 'Manage Kubernetes Secrets' with specific actions listed (list, get, create, update, delete). It distinguishes from sibling tools by focusing specifically on Secrets rather than other Kubernetes resources like configmaps, deployments, or pods.

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 usage context by listing specific actions and their purposes, but doesn't explicitly state when to use this tool versus alternatives like k8s_configmaps or other sibling tools. It does differentiate actions within the tool (e.g., list vs get) but lacks cross-tool comparison guidance.

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