Skip to main content
Glama

pangea_set_resources

Update an HTTP project's Web CPU, memory, /tmp scratch storage, and Pod runtime class in place to adjust capacity or isolation without redeploying.

Instructions

Update Web CPU (50-32000m), memory (64-65536 MiB), /tmp scratch storage (128-32768 MiB), and/or Pod runtime_class ('gvisor' or trusted 'runc') in-place for an 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_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpu_mNoWeb CPU limit/request in millicores (50-32000)
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml
memory_mibNoWeb memory limit/request in MiB (64-65536)
scratch_mibNoWeb /tmp emptyDir sizeLimit in MiB (128-32768)
wait_secondsNoSeconds to wait for Kubernetes reconciliation (default: 30)
runtime_classNoOptional Pod runtime class ('gvisor' default, or 'runc' for trusted workspaces)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful traits: ranges for each value, that changes apply 'in-place', and that 'runc' is the trusted-workspace option. It does not say whether changing runtime_class restarts or recreates pods, what permissions are required, or how partial updates behave for fields not supplied.

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 that names the four tunable fields and nothing else. The inline parenthetical ranges duplicate the schema and add length without new meaning, which keeps it from being maximally tight.

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

Completeness3/5

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

For a 7-parameter mutation tool with no annotations and no output schema, the description covers only the four resource fields and is silent on project/directory targeting, wait_seconds reconciliation behavior, and what the call returns. The schema fills most of the parameter gap, but the lack of any effect or return-value context leaves the mutation semantics under-described.

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% and the schema already documents units, ranges, and enums, so the description mostly restates those numbers. It does add a small amount of meaning by framing 'runc' as the 'trusted' option and clarifying that scratch is /tmp ephemeral storage, which the schema only partially conveys.

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 specific verb ('Update') with concrete resources (Web CPU, memory, /tmp scratch, Pod runtime_class) and scopes them to an HTTP project, so an agent can tell it apart from siblings like pangea_set_autoscaling or pangea_set_processes. It does not name any sibling explicitly, so differentiation is inferential rather than stated.

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 (e.g. that the target must be an HTTP project), and no pointer to pangea_get_resources for inspection or pangea_set_autoscaling as the alternative for scaling behavior. The only implied usage is that this changes resource limits in place.

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