Skip to main content
Glama
rsp2k
by rsp2k

generate_kubernetes_credentials

Create Kubernetes credentials for container registry access with configurable expiration and permissions. Generates YAML secret configuration for secure registry authentication.

Instructions

Generate Kubernetes credentials for container registry access.

Smart identifier resolution: Use registry name or ID.

Args: registry_identifier: Registry name or ID expiry_seconds: Expiration time in seconds (optional, default: no expiry) read_write: Whether to grant read-write access (default: True, False for read-only) base64_encode: Whether to base64 encode the credentials (default: True)

Returns: Kubernetes secret YAML configuration for registry access

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
registry_identifierYes
expiry_secondsNo
read_writeNo
base64_encodeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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. It discloses that the tool generates credentials (implying a write/mutation operation) and returns a YAML configuration, but lacks details on permissions required, rate limits, side effects, or error conditions. It adds some behavioral context but is incomplete for a credential-generation 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 efficiently structured with a clear purpose statement, parameter explanations in a bullet-like format, and a returns statement. Every sentence adds value without redundancy, and it is appropriately sized for the tool's complexity.

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 tool's moderate complexity, no annotations, 0% schema coverage, but with an output schema (implied by 'Returns'), the description is mostly complete. It covers purpose, parameters, and output format well, but lacks behavioral details like authentication requirements or error handling that would be helpful for safe invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 fully compensate. It provides detailed semantics for all 4 parameters: explains 'registry_identifier' accepts name or ID, clarifies optionality and defaults for 'expiry_seconds', 'read_write', and 'base64_encode', and adds meaning beyond the bare schema types.

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 specific action ('Generate Kubernetes credentials') and the resource ('for container registry access'), distinguishing it from sibling tools like 'generate_docker_credentials' or 'get_kubernetes_cluster_config'. It precisely defines the tool's function without being tautological.

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 this tool ('for container registry access') and mentions smart identifier resolution ('Use registry name or ID'), but does not explicitly state when not to use it or name specific alternatives among sibling tools like 'get_docker_login_command' or 'get_registry_info'.

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/rsp2k/mcp-vultr'

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