Skip to main content
Glama

pangea_preview_down

Stops and permanently purges a pull request preview environment, with stop-only and retry options for stalled or blocked deletions.

Instructions

Idempotently stop and permanently purge (or stop-only) a PR preview environment.

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": {
      "pr": "<pr>"
    },
    "name": "pangea_preview_down"
  }
}

Input Schema

NameRequiredDescriptionDefault
prYesPull request number
nameNoOptional explicit preview project name
retryNoExplicitly retry a stalled deletion in attention/blocked state or purge an attention-state preview (owner deploy credential required; default: false)
base_nameNoOptional base name for {base}-pr-{pr}
directoryNoOptional local directory containing pangea.yaml
stop_onlyNoStop without permanently purging
clone_fromNoOptional base project ID (prj_...) used to derive {base}
wait_secondsNoSeconds to wait for stop/deletion confirmation (default: 60)
name_templateNoOptional project name template (default: '{base}-pr-{pr}')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: 'idempotently' signals retry-safety, 'permanently purge' discloses an irreversible destructive effect, and '(or stop-only)' discloses the non-destructive escape hatch. It does not mention the attention/blocked state machine or owner-credential requirements, which live only in the schema's retry parameter.

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 core verb first, the destructive qualifier immediately after, and the alternative mode in parentheses. No wording could be removed without losing semantics.

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

Completeness4/5

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

For a nine-parameter destructive tool with no annotations and no output schema, the description covers the essential behavioral facts (idempotency, irreversibility, stop-only mode). Remaining gaps, chiefly the retry/attention-state workflow and confirmation timing, are partially covered by the schema, so the definition is largely complete.

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 nine parameters, including retry, wait_seconds, and name_template, are already documented in structured form. The description adds no parameter meaning beyond restating the stop_only distinction, 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 a specific verb pair (stop and permanently purge) against a specific resource (a PR preview environment), and the parenthetical '(or stop-only)' signals the non-destructive variant. The paired sibling pangea_preview_up makes the direction obvious, but the description never names it, so differentiation is implicit rather than explicit.

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?

Usage is implied by the resource type (tearing down a PR preview) and the stop_only flag, but there is no explicit when-to-use or when-not, and no stated alternative to the permanent purge path. An agent must infer that this is the counterpart to preview_up rather than being routed to it.

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