Skip to main content
Glama
razvanmacovei

Multi Cluster Kubernetes MCP Server

k8s_create_secret_resource

Create Kubernetes Secrets with automatic base64 encoding. Supports Opaque, TLS, and Docker config types.

Instructions

Create a new Kubernetes Secret. Values in data will be automatically base64-encoded. Common types: Opaque (default), kubernetes.io/tls, kubernetes.io/dockerconfigjson.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
nameYes
labelsNo
contextYes
namespaceYes
secret_typeNoOpaque
Behavior3/5

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

With no annotations, the description carries full burden for behavioral disclosure. It reveals that values in data are automatically base64-encoded and lists common secret types, which adds value beyond the schema. However, it does not address idempotency, whether overwrites occur, permissions required, or error handling.

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 exceptionally concise, with two sentences that efficiently convey the core action and key details (auto encoding and common types). No superfluous words are present.

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

Completeness2/5

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

Given 6 parameters (4 required), nested objects, and no output schema, the description is too sparse. It fails to explain parameter structures, required status, defaults, or return behavior, leaving significant gaps for the agent.

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 only briefly mentions the data parameter (auto encoding) and the secret_type (via common types). No explanation is given for required parameters like name, namespace, context, or for labels and secret_type's default.

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 clearly states the tool creates a Kubernetes Secret and highlights auto base64 encoding and common types. While the specialized name already distinguishes it from the generic k8s_create_resource, the description adds value by specifying these details, making the purpose clear.

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 description implies usage for creating secrets but provides no explicit guidance on when to use this tool over alternatives like k8s_create_resource for other resources or k8s_create_configmap_resource. No when-not-to-use criteria are mentioned.

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/razvanmacovei/k8s-multicluster-mcp'

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