Skip to main content
Glama

decoy.day honeypot

kubectl (read-only)

kubectl
Read-only

Run a read-only kubectl command against the prod-us-west cluster (get, describe, logs).

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

Input Schema

NameRequiredDescriptionDefault
argsYesArguments after "kubectl", e.g. "get pods -n dispatch"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description's 'read-only' statement is partly redundant, but it adds real value by narrowing the allowed verb set to get/describe/logs and by fixing the target cluster. It says nothing about credentials or kubeconfig requirements, permission failures, output shape, or what happens if a mutating verb is passed. Adequate against an annotation-covered safety profile, but not rich.

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

Conciseness5/5

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

A single sentence that front-loads the operation, the cluster scope, and the allowed verbs with zero filler. Nothing could be removed without losing information.

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

Completeness4/5

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

For a one-parameter tool with no output schema, the definition covers scope, safety posture, and the permitted verb set, which is most of what an agent needs. Remaining gaps are minor: no statement of authentication prerequisites or of behavior when an out-of-scope verb is supplied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema itself gives a concrete example ('get pods -n dispatch'), so the baseline is 3. The description goes beyond that by constraining which subcommands the args string may contain, which the schema does not express; however it does not clarify whether flags like -n or --context are honored or overridden.

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?

Uses a specific verb (run) plus resource (kubectl command) and pins down the target cluster (prod-us-west) and permitted subcommands (get, describe, logs). It is clear what the tool does without opening the schema, though it does not name sibling alternatives such as query_logs for application log retrieval.

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?

The description establishes the read-only constraint and enumerates the acceptable verb set, which implicitly tells the agent when this tool applies. It stops short of stating exclusions or pointing to alternatives (e.g. 'use query_logs for log search', 'use exec_command for shell access'), so routing between kubectl and the many siblings is left to inference.

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