Skip to main content
Glama

build_teardown

DestructiveIdempotent

Destructive: stops a project's deployments, both the permanent build_go_live app and the preview, deleting the managed Cloud Run services and freeing their URLs. Input: project_uuid. Idempotent: nothing deployed returns stopped=true. Manages only Supero-hosted apps; a project deployed to its own AWS/GCP is refused. Returns stopped; stopped=false means the teardown was incomplete and the app may still be serving and billing, which is not a success: if stopped is false, running it again finishes the teardown. A live app whose redeploy failed is still serving its previous version; build_go_live, not build_teardown, recovers it. Requires a domain- or project-admin key.

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": {
      "project_uuid": "<project_uuid>"
    },
    "name": "build_teardown"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_uuidYesProject UUID (from build_list_projects or build_create_project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / project_uuid / description
      Added value: +"Project UUID (from build_list_projects or build_create_project)."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, but the description adds substantial context beyond them: what resources are destroyed and that URLs are freed, the exact idempotent no-op semantics (stopped=true when nothing is deployed), the refusal path for self-hosted deployments, and the authorization requirement (domain- or project-admin key). The interpretation of stopped=false as 'incomplete and still billing, not success' is exactly the kind of behavioral disclosure annotations cannot carry.

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?

The destructive warning is front-loaded and the remaining sentences are ordered by decision importance: scope, refusal, return semantics, recovery alternative, auth. Slightly dense and the 'Input: project_uuid' fragment duplicates the schema, but no sentence is genuinely wasted.

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

Completeness5/5

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

There is no output schema, so the description correctly explains the `stopped` return value and its failure interpretation. Combined with the refusal conditions, retry guidance, and auth requirement, an agent has everything needed to invoke this destructive tool safely.

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 single parameter already documents its source (build_list_projects or build_create_project), so the schema does the work. The description's 'Input: project_uuid' only restates the parameter name without adding format or constraint detail, which is the baseline case for a fully documented single parameter.

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?

Opens with a specific verb and resource ('stops a project's deployments') and immediately scopes it to both the permanent build_go_live app and the preview, naming exactly what is deleted. It explicitly contrasts with build_go_live for the recovery case, so an agent can distinguish the two without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States when it applies (Supero-hosted apps) and when it does not ('a project deployed to its own AWS/GCP is refused'). It also gives the follow-up decision rule for stopped=false (re-run) and names build_go_live as the correct tool for a live app with a failed redeploy, so alternatives and exclusions are both explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.