Skip to main content
Glama

resize_cluster

Change a running cluster's worker count or autoscaling limits to match workload demand and control resource allocation.

Instructions

Resize a running cluster by changing the number of workers or autoscaling settings.

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": {
      "cluster_id": "<cluster_id>"
    },
    "name": "resize_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYesThe unique identifier of the cluster to resize
num_workersNoNew number of worker nodes (use this OR autoscale)
autoscale_max_workersNoNew maximum workers for autoscaling
autoscale_min_workersNoNew minimum workers for autoscaling

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the mutation itself. It does not say whether resizing disrupts running jobs, whether the change is applied immediately or asynchronously, whether it is reversible, or what permissions are required.

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; the action and the affected settings come first. It is efficiently written, though its brevity reflects thin content rather than disciplined editing.

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?

This is a mutation tool with no annotations and no output schema, so the description is the only place behavioral and safety context can come from, and it is largely absent. For an operation that changes cluster capacity, an agent would want to know about disruption, timing, and validation rules that the text never addresses.

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 all four parameters are already documented, including the mutual exclusivity hint ('use this OR autoscale'). The description adds only a high-level grouping of the parameters into worker-count versus autoscaling settings, which is a baseline-level contribution.

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 uses a specific verb+resource ('Resize a running cluster') and names the two things that change: worker count or autoscaling settings. It is clear what the tool does, but it offers no explicit differentiation from the sibling edit_cluster tool, so an agent cannot tell from this text alone which one to pick.

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 phrase 'a running cluster' implies a prerequisite state (the cluster must exist and be running) but does not say so explicitly, and there is no when-to-use/when-not guidance relative to edit_cluster or create_cluster. Usage context is implied rather than stated.

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