Skip to main content
Glama

Describe pod security policy

k8s_describe_pod_security_policy

Describes a Kubernetes PodSecurityPolicy by name, optionally within a named multi-context pool, to inspect its configured security rules and settings.

Instructions

Describe a PodSecurityPolicy.

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": {
      "name": "<name>"
    },
    "name": "k8s_describe_pod_security_policy"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=false and openWorldHint=true, so the safety bar is lower, but the description adds zero behavioral context: not whether the object must exist, whether permissions/RBAC are needed, how verbose the returned detail is, or that PSPs are cluster-scoped. Worth noting for review: readOnlyHint=false is surprising for an operation described purely as 'Describe' — the description does not assert side effects explicitly, so this is an annotation accuracy issue rather than a stated contradiction.

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

Conciseness2/5

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

The single sentence contains no filler, but it is under-specified rather than concise — there is nothing to front-load. Brevity here reflects a lack of content, not efficient communication.

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?

With no output schema, a required undocumented parameter, and reliance on a non-read-only annotation for a seemingly read operation, the description should carry more weight than it does. A one-line restatement leaves an agent unable to distinguish this from list/inspect siblings or to know what the name argument accepts.

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 50%: the 'context' parameter is documented in the schema, but the required 'name' parameter has no description anywhere. The description does not compensate by explaining what 'name' identifies (e.g., the cluster-scoped PSP object name, not a namespaced resource), so an agent gets no meaning beyond the type 'string'.

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

Purpose2/5

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

The description is the sentence "Describe a PodSecurityPolicy." It restates the tool name and title verbatim and adds no scope, detail, or distinguishing characteristic. An agent can infer the resource from the name alone, so the description earns nothing beyond what is already structured.

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?

No when-to-use, when-not-to-use, or alternatives are stated. The read verb 'Describe' weakly implies inspection rather than mutation versus siblings like k8s_create_pod_security_policy or k8s_delete_pod_security_policy, but the connection to k8s_list_pod_security_policies (list vs. single-object detail) is left entirely 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