Skip to main content
Glama

Terminate project

terminate_project
DestructiveIdempotent

Delete a project for good: its machine, its URL, anything the app kept on the machine (files it wrote, a SQLite database, uploads). It also takes away its bucket with every file in it if add_storage gave it one, and its managed Postgres database if add_database gave it one (those two are kept for 7 days: a new project deployed under the same name can restore them from the console in that time, then they are deleted). Billing stops. Even when the user asked to delete it, first reply telling them what is lost, ask them to confirm, and stop; call with confirm: true only after they answer yes. Without confirm the call refuses and nothing happens. A redeploy under the same name later gets the URL back but not the machine's files; the bucket and database come back only through the console's Restore within the 7 days. To take a project down later rather than now, use schedule_teardown instead. A protected project refuses it: only its owner turns protection off, on the project's page in the console, so relay the refusal instead of looking for another way.

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_id": "<project_id>"
    },
    "name": "terminate_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNotrue only once the user, told that the machine and its data are destroyed for good, the URL stops working, and its database and bucket are kept only 7 days, answered yes to that question. The request to delete the project is not that yes: ask first, and stop
project_idYesthe id of the project to terminate

Output Schema

NameRequiredDescriptionDefault
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"true only once the user, told that the machine, its data, its database, its bucket, and the URL are destroyed for good, answered yes to that question. The request to delete the project is not that yes: ask first, and stop"New value: +"true only once the user, told that the machine and its data are destroyed for good, the URL stops working, and its database and bucket are kept only 7 days, answered yes to that question. The request to delete the project is not that yes: ask first, and stop"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this destructive and non-read-only, but the description goes well beyond them: it discloses 7-day retention for bucket and database, the console Restore path, that billing stops, that a redeploy recovers the URL but not machine files, and that omitting confirm makes the call refuse with no side effects. No claim conflicts with the annotations.

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?

Front-loads the destruction inventory before the procedural rules, which is the right ordering, and nearly every sentence carries distinct information. It is dense and somewhat long, with the confirmation protocol restated relative to the schema, but nothing is padding.

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?

For a destructive, high-stakes tool, the description covers consequences, reversibility windows, confirmation gating, and the protected-project edge case. An output schema exists, so return values need not be described, and nothing an agent needs before calling is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the field definitions: it explains that the absence of confirm produces a no-op refusal, and frames confirm as the outcome of a specific user conversation rather than a simple flag. Slight overlap with the already-detailed confirm schema description keeps it from a 5.

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 ('Delete a project for good') and enumerates the scope: machine, URL, files, SQLite database, uploads. It explicitly distinguishes itself from schedule_teardown, so an agent can separate the two without reading either schema.

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?

Gives explicit when/when-not: use this to delete now, use schedule_teardown to take a project down later. It also prescribes the conversational protocol (warn, ask, stop, call only after a yes) and what to do when a protected project refuses — relay the refusal rather than find a workaround.

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.