Skip to main content
Glama
rsp2k
by rsp2k

registry_generate_kubernetes_credentials

Generate Kubernetes secret YAML for container registry access, with optional expiry, read/write permissions, and base64 encoding.

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
read_writeNo
base64_encodeNo
expiry_secondsNo
registry_identifierYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses smart identifier resolution, parameter defaults, and the YAML return format, but does not state whether generating credentials rotates or invalidates previously issued credentials, nor any permission requirements. This leaves a meaningful gap for an operation that grants registry access.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-organized with purpose, an identifier-resolution note, an Args list, and a Returns section. It is appropriately sized for a 4-parameter tool with no schema descriptions, though 'Smart identifier resolution' is slightly redundant with the registry_identifier arg line.

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?

Since an output schema exists, the description need not detail the return shape, and it covers parameter semantics and the core use case well. It omits side-effect behavior such as whether existing credentials are invalidated and does not mention required permissions, but for most call scenarios an agent has enough to invoke it correctly.

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%, but the description fully compensates with an Args block explaining every parameter: registry_identifier accepts name or ID, expiry_seconds defaults to no expiry, read_write defaults to true with false meaning read-only, and base64_encode defaults to true. This adds substantial meaning beyond the raw schema.

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 states a specific action ('Generate Kubernetes credentials') and a resource ('container registry access'), and the return type ('Kubernetes secret YAML configuration') clearly distinguishes it from the sibling registry_generate_docker_credentials. An agent can identify exactly what this tool does without opening the schema.

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: it produces Kubernetes secret YAML for registry access, which implies when to use it. However, it does not explicitly mention the direct sibling registry_generate_docker_credentials or state when not to use this tool, leaving the alternative selection to inference.

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

Deploy Server

Other Tools