Skip to main content
Glama

Scale deployment autoscaler

k8s_scale_deployment_autoscaler

Adjusts the minimum and maximum replica bounds of a Kubernetes deployment autoscaler, letting you control scaling limits for a named deployment in a namespace.

Instructions

Scale deployment autoscaler bounds.

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>",
      "namespace": "<namespace>",
      "min_replicas": "<min_replicas>",
      "max_replicas": "<max_replicas>"
    },
    "name": "k8s_scale_deployment_autoscaler"
  }
}

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.
namespaceYes
max_replicasYes
min_replicasYes

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 readOnlyHint=false, openWorldHint=true, and destructiveHint=false, so the safety profile is partly covered. The description adds nothing beyond that: it does not say whether the autoscaler must pre-exist or is created, whether bounds are clamped against current replica counts, whether the change is reversible, or what a live autoscaler does mid-write. For a cluster-mutating tool this is a substantial gap.

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?

It is short, but shortness here is under-specification rather than conciseness: the text is an unpunctuated fragment that conveys less than a single well-formed sentence could. There is no front-loaded statement of action or scope to build on.

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

Completeness1/5

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

A five-word fragment is far too thin for a tool with 4 required parameters, no output schema, and a mutating effect on live cluster autoscaling. Nothing an agent needs in order to invoke this correctly — preconditions, parameter relationships, or outcome — is present.

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 20% — only the 'context' parameter is documented in the schema. The description's word "bounds" loosely maps to min_replicas/max_replicas but supplies no constraints such as min <= max, integer ranges, or the meaning of 'name' (target vs autoscaler name). With 5 parameters and low coverage, the description does not compensate.

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

Purpose3/5

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

The fragment "Scale deployment autoscaler bounds" gestures at setting min/max replica bounds on a deployment autoscaler, and the required params (min_replicas, max_replicas) confirm that reading. But it is a noun phrase rather than a stated action, and it does not distinguish itself from siblings like k8s_update_horizontal_pod_autoscaler or k8s_set_autoscaler_metrics, so an agent cannot tell from the text alone what unique operation this performs.

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

Usage Guidelines1/5

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

There is no when-to-use guidance whatsoever: no prerequisites (does an HPA need to already exist?), no mention of alternatives such as the update or set-metrics siblings, and no indication of when this tool is the wrong choice. The agent must infer usage entirely from the name.

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