Skip to main content
Glama

Approve csr

k8s_approve_csr

Approve a Kubernetes CertificateSigningRequest by name, optionally targeting a named context in a multi-context pool, to authorize certificate issuance.

Instructions

Approve a CertificateSigningRequest.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "csr_name": "<csr_name>"
    },
    "name": "k8s_approve_csr"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
csr_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.6/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, but the description adds nothing beyond that: it does not say the approval is effectively irreversible, that it grants a certificate to the requesting identity, or that it requires cluster-level CSR approval permissions. For a security-sensitive, one-way state change, this is a meaningful gap even with annotations present.

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?

A single short sentence with zero filler, and the action is front-loaded. It is efficient rather than bloated; the problem is under-specification, not verbosity.

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?

For a two-parameter, non-read-only cluster operation with no output schema, the definition leaves out the review-before-approve workflow, the effect on the requesting identity, and the format of csr_name. An agent would have to guess at both preconditions and argument form before calling it.

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 coverage is only 50%: the 'context' parameter is documented inline, but 'csr_name' has no schema description and the tool description does not clarify whether it is a bare name, a full resource name, or allows namespace qualification. The description therefore adds no meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (Approve) and resource (CertificateSigningRequest), so an agent can tell what it does. However, it merely expands the title 'Approve csr' and gives no differentiation from the sibling k8s_deny_csr, which is the obvious alternative an agent must choose between.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to approve versus deny a CSR, no prerequisites (e.g. that the CSR should be reviewed/verified first), and no reference to listing pending CSRs via cm_k8s_cluster_list_csr. The agent must infer the entire workflow from the name alone.

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