Skip to main content
Glama

generate_pod_security_policy

Generate Kubernetes Pod Security Standards (restricted/baseline/privileged)

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": {
      "namespace": "<namespace>",
      "level": "<level>"
    },
    "name": "generate_pod_security_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYesPod Security Standard level
namespaceYesKubernetes namespace
withSeccompProfileNoAdd seccomp RuntimeDefault profile

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it only says 'Generate' — it does not disclose whether the tool merely returns a manifest/YAML or applies it to a live cluster, whether the operation is side-effect free, or whether it requires authentication against a cluster. For a policy generator with zero annotation coverage this is a meaningful gap.

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 front-loaded sentence with no filler, and the resource and its key values come first. It is efficient, though the terseness leaves the reader wanting more rather than being over-long.

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 annotations and no output schema, the description should at least say what is returned (a Pod Security manifest snippet?) and whether anything is mutated. Neither is stated, and the role of withSeccompProfile in the generated output is never explained, so an agent cannot fully predict the result.

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 description coverage is 100%, so the schema already documents namespace, level, and withSeccompProfile, and the enum constrains level. The parenthetical (restricted/baseline/privileged) merely repeats the enum and adds no new meaning, so baseline 3 applies.

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

Purpose4/5

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

The description gives a specific verb ('Generate') and a specific resource ('Kubernetes Pod Security Standards'), and quotes the three level values, so an agent knows exactly what artifact family this produces. It does not name or differentiate itself from any sibling generate_* tool, so it stops short of a 5.

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 statement of when to use this versus the many sibling policy generators (network policy, IAM policy, cloud armor policy, etc.), nor any prerequisite such as cluster access or namespace existence. The only implied usage is the parameter values themselves.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.