Skip to main content
Glama

generate_k8s_deployment

Generate K8s Deployment, Service, ConfigMap, and HPA manifests

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": {
      "service": "<service>",
      "image": "<image>",
      "port": "<port>"
    },
    "name": "generate_k8s_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYesContainer port
imageYesContainer image (e.g. myapp:1.0.0)
serviceYesService name
withHPANoInclude HPA (then the Deployment omits replicas so the two never fight)
cpuLimitNoCPU limit (default: 500m)
replicasNoInitial replica count
cpuRequestNoCPU request (default: 100m)
healthPathNoHTTP path for the probes (default /health)
memoryLimitNoMemory limit (default: 512Mi)
livenessPathNoLiveness probe path (default healthPath)
memoryRequestNoMemory request (default: 128Mi)
readinessPathNoReadiness probe path (default healthPath)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed3 schema fields changed
    • changedInput schema / properties / healthPath / description
      Previous value: -"HTTP path for readiness and liveness probes (default /health)"New value: +"HTTP path for the probes (default /health)"
    • addedInput schema / properties / livenessPath
      Added value: +{
      +  "description": "Liveness probe path (default healthPath)",
      +  "type": "string"
      +}
    • addedInput schema / properties / readinessPath
      Added value: +{
      +  "description": "Readiness probe path (default healthPath)",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / healthPath
      Added value: +{
      +  "description": "HTTP path for readiness and liveness probes (default /health)",
      +  "type": "string"
      +}
    • changedInput schema / properties / withHPA / description
      Previous value: -"Include HPA"New value: +"Include HPA (then the Deployment omits replicas so the two never fight)"
  5. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and falls short: it never says whether manifests are returned as YAML text, written to disk, or applied to a cluster, nor whether the call is side-effect free. The useful HPA/replicas interaction note lives in the schema, not the description, so the description adds nothing behavioral of its own.

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, though it is arguably under-specified rather than tight. Nothing is wasted, but nothing is elaborated either.

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 12-parameter generator with no annotations and no output schema, the description should state the output form and any generation constraints. Instead it gives only the resource inventory, leaving the agent guessing about the return value and whether anything is applied to a cluster.

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% — every one of the 12 parameters has its own description including defaults and the withHPA/replicas interaction. The description adds no meaning beyond that, so the 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 pairs a concrete verb (Generate) with the exact resource set produced: Deployment, Service, ConfigMap, and HPA manifests. This clearly separates it from generate_k8s_rbac or generate_deployment_strategy, but it never explicitly states the boundary (e.g., 'no RBAC, no Ingress'), so differentiation is implicit.

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 when-to-use guidance, no prerequisites, and no named alternatives. The agent must infer from the name alone whether to reach for this tool versus generate_deployment_strategy or generate_k8s_rbac.

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.