Skip to main content
Glama

pangea_set_autoscaling

Enable, update, or disable horizontal autoscaling for a stateless rolling HTTP project by setting replica limits and a target CPU percentage.

Instructions

Enable, update (1-64 replicas, 20-90% CPU), or disable horizontal autoscaling for a stateless rolling HTTP project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pangea_set_autoscaling"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNoTrue to enable or update autoscaling (default), false to disable (on a running app, scale down to min=1, max=1 first)
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml
max_replicasNoMaximum replicas (min_replicas..64; required when enabled=true)
min_replicasNoMinimum replicas (1-64; required when enabled=true)
wait_secondsNoSeconds to wait for Kubernetes reconciliation (default: 30)
target_cpu_percentNoTarget CPU utilization percent (20-90, default: 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 disclosure burden, yet it says nothing about what disabling does to a running app, whether changes are idempotent, what permissions are required, or how Kubernetes reconciliation is surfaced (the scale-down-to-min=1/max=1 caveat lives only in a parameter description). Only the "stateless rolling HTTP project" restriction adds real behavioral context.

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 front-loaded sentence with the mutation modes first and the scope qualifier second; nothing is wasted and there is no filler or repetition beyond the compact numeric parenthetical.

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 mutating, zero-annotation tool with seven parameters and no output schema, the description should describe the effect of the mutation and its preconditions; instead it covers only the mode set, leaving an agent unaware of what disabling does to replicas or what the call returns.

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%, so every parameter is already documented, including ranges, defaults, and the enabled=false precondition. The description's "1-64 replicas, 20-90% CPU" merely restates schema bounds and adds no new meaning, making the baseline 3 appropriate.

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?

"Enable, update ... or disable horizontal autoscaling" is a specific verb set over a well-defined resource, and the qualifier "for a stateless rolling HTTP project" narrows applicability enough that an agent can distinguish it from the read-only sibling pangea_get_autoscaling without consulting schemas.

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 enable/update/disable framing implies the situations the tool covers, but there is no explicit when-to-use vs. when-not guidance, no mention of reading current state first via pangea_get_autoscaling, and no statement of prerequisites or failure conditions.

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