Skip to main content
Glama

Deny csr

k8s_deny_csr

Deny a Kubernetes CertificateSigningRequest with an optional reason to block unwanted certificate issuance. Specify the CSR name and context to reject requests in your cluster.

Instructions

Deny 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_deny_csr"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoDenied by MCP
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.4/5.0
Behavior2/5

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

Annotations already state readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the description carries a lower bar, but it adds nothing beyond them. It does not disclose that denying a CSR is effectively irreversible, that the supplied reason is recorded on the CSR, or that the change hits a live cluster selected via context.

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

Conciseness3/5

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

One short sentence with no filler, but the brevity is under-specification rather than efficiency. There is no structure beyond the bare statement of action.

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 mutating, open-world cluster operation with no output schema and low parameter documentation, the description should explain irreversibility, the context pool selection, and the effect on the CSR object. None of that is present, so an agent cannot call it confidently without reading the schema.

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 only 33%: csr_name is required yet undocumented and reason only has a default value. The description mentions no parameters at all, so it fails to compensate for the coverage gap, leaving the agent to guess the accepted csr_name format and how reason surfaces.

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 gives a verb plus resource ("Deny a CertificateSigningRequest"), but it is essentially an expansion of the tool name/title and adds no scope. It does not distinguish this from the sibling k8s_approve_csr, which is the obvious contrast case for an agent choosing between the two.

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 deny versus approve a CSR, who is authorized to do so, or what state the CSR must be in. The agent must infer the entire decision context 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