Skip to main content
Glama

security_k8s_check

Read-only

Kubernetes manifest security audit — Scan Kubernetes YAML (multi-document) for risky settings: privileged containers, hostNetwork/hostPID/hostIPC, runtime socket and hostPath mounts, privilege escalation, running as root, dangerous capabilities, :latest or untagged images, missing limits/requests/probes, auto-mounted service account tokens, missing seccomp, plaintext secrets in env, RBAC wildcards and escalation verbs, cluster-admin bindings, exposed Services. Pass text= or url=. Returns PASS/REVIEW/FAIL, score, resources and findings with fixes. Offline, line-based (Helm templates are not rendered). Price: $0.006 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textYeskind: Pod metadata: name: web spec: containers: - name: app image: nginx securityContext: privileged: true

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds real behavioral context beyond them: the engine is offline and line-based so Helm templates are not rendered, results come back as PASS/REVIEW/FAIL with a score, resources and findings with fixes, and the call costs $0.006 USDC via x402. That payment requirement and the non-rendering limitation are exactly the kind of traits an agent needs before calling. It stops short of 5 because it says nothing about size limits or failure behavior on malformed YAML.

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?

It is dense but well ordered: purpose first, exhaustive detection checklist second, invocation and output notes last, with every clause carrying a distinct security check rather than filler. It is on the long side, but for a multi-rule audit the enumeration is doing real work.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still explains the return shape (PASS/REVIEW/FAIL, score, resources, findings with fixes) and discloses both the offline/line-based limitation and the x402 payment. For a single-parameter read-only scanner, an agent has everything needed to call it and interpret 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 coverage is 100% and the single required parameter carries a full example manifest, so the schema does the heavy lifting and a baseline 3 applies. The description's instruction to "Pass text= or url=" is a slight liability because no url parameter exists in the schema, which could send an agent looking for an argument that is not there.

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 opens with a specific verb and resource ("Kubernetes manifest security audit — Scan Kubernetes YAML") and then enumerates exactly which risky settings are detected, so an agent can tell this apart from siblings like security_dockerfile_check or security_gha_check without opening a schema.

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

Usage Guidelines3/5

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

It gives clear invocation context ("Pass text= or url=") and useful scope limits ("Offline, line-based (Helm templates are not rendered)"), which implies when the tool applies. However, it never states when to prefer this over the other security_*_check tools or what input is out of scope, so routing guidance is only implied.

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.

Resources