Skip to main content
Glama

pangea_disable_postgres

Permanently destroys a project's Managed PostgreSQL cluster and volume; requires confirm_data_loss=true and workspace owner permissions to prevent accidental data loss.

Instructions

Permanently destroy a project's Managed PostgreSQL cluster and volume (workspace owner-only; requires confirm_data_loss=true).

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": {
      "confirm_data_loss": "<confirm_data_loss>"
    },
    "name": "pangea_disable_postgres"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNoImmediately roll running workloads after clearing credentials (default: true)
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml
wait_secondsNoSeconds to wait for cleanup (default: 120)
confirm_data_lossYesMust be true to confirm permanent destruction of the Managed PostgreSQL database and volume

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 behavioral burden and does real work: it discloses irreversibility ('permanently destroy'), the destruction scope (cluster AND volume), the owner-only authorization requirement, and the mandatory confirmation flag. Missing are what remains after destruction (e.g. whether backups survive) and any interaction with the apply/wait_seconds cleanup behavior described only in the schema.

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 destructive action first and the gating prerequisites in a compact parenthetical. No redundant phrasing; every clause (permanence, scope, permission, confirmation) earns its place.

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 an irreversible, unannotated, schema-rich tool this covers the essentials an agent needs before calling it: what is destroyed, that it is permanent, who may call it, and the required confirmation. It stops short of describing post-destruction state or response, which matters for a tool with no output schema.

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 five parameters are already documented structurally. The description only echoes confirm_data_loss=true from the schema and adds no new meaning about project, directory, apply, or wait_seconds; baseline 3 applies.

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?

States a specific verb and resource: permanently destroy a project's Managed PostgreSQL cluster and volume. The 'permanently destroy' framing clearly separates it from sibling teardown tools like pangea_enable_postgres and pangea_get_postgres, which enable or read the same resource.

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 description supplies preconditions ('workspace owner-only; requires confirm_data_loss=true') but never states the situation that calls for teardown nor names an alternative, such as using pangea_get_postgres to inspect a cluster first. Usage is implied by 'destroy' rather than spelled out.

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