Skip to main content
Glama

pangea_set_processes

Declare, update, scale, or clear background worker processes for a stateless HTTP project, supporting up to 12 processes and 32 replicas each.

Instructions

Declare, update, scale, or clear background worker processes (up to 12 processes, up to 32 replicas each) for a stateless HTTP project.

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": {
      "processes": "<processes>"
    },
    "name": "pangea_set_processes"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml
processesYesMap of process name -> spec (args, resources, optional replicas 1-32, stop_order, scratch_mib 128-32768, termination_grace_seconds, environment, service_bindings). Pass {} to remove all background processes.
wait_secondsNoSeconds to wait for Kubernetes reconciliation (default: 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses hard limits (12 processes, 32 replicas) and the fact that clearing is possible, and the word 'Declare' hints at replace-style semantics, but it never states whether omitted processes are removed, whether the operation is destructive or reversible, or what permissions are needed. Material behavioral traits remain undisclosed for a mutation tool.

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?

One sentence, front-loaded with the verb set and the resource, with the cardinality limits placed inline as parentheticals. Nothing is wasted and nothing important is buried.

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 four-parameter mutation tool with a nested object, no annotations, and no output schema, the description covers the what and the limits but not the outcome (does it return the applied process state? can reconciliation time out given wait_seconds?). It is adequate because the schema is rich, but it leaves behavioral questions unanswered.

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 nested processes object already documents args, resources, replicas, stop_order, scratch_mib, termination grace, environment, and service bindings, plus the {} removal convention. The description merely restates the same ceilings (12 processes, 32 replicas) rather than adding interpretation, 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 gives explicit verbs (declare, update, scale, clear) against a specific resource (background worker processes) scoped to a stateless HTTP project, which cleanly separates it from the pangea_get_processes reader. It stops short of naming a sibling alternative, so it lands just below the top mark.

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 four verbs imply the situations covered (create, modify, resize, remove), but there is no explicit when-to-use guidance, no exclusion such as 'use pangea_set_autoscaling for replica policy' or 'use pangea_get_processes to inspect first', and no statement of prerequisites or required project context. Usage is implied rather than directed.

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