Skip to main content
Glama

Schedule teardown

schedule_teardown
Destructive

Schedule a spawnpoint project to terminate itself automatically: pass in (e.g. 45m, 2h, 1d) to set or move the teardown, or omit it to cancel one. The sweep runs about once a minute, so teardown happens within a minute of the scheduled time, and it is exactly a terminate: billing stops, the machine is destroyed (a database or bucket is kept 7 days, restorable from the console), and redeploying under the same name later brings the project back at the same share URL. Right for demos, reviews, and anything that should not bill overnight. A protected project refuses a teardown (cancelling one still works): only its owner turns protection off, on the project's page in the console.

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": "schedule_teardown"
  }
}

Input Schema

NameRequiredDescriptionDefault
inNotear the project down this long from now, e.g. 45m, 2h, 1d (minimum 5m, maximum 30d). Omit to cancel a scheduled teardown
project_idYesthe id of the project

Output Schema

NameRequiredDescriptionDefault
noteYes
project_idYes
teardown_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Far beyond the destructiveHint annotation, it discloses sweep cadence (~once a minute), what destruction actually means (billing stops, machine destroyed, database/bucket retained 7 days and restorable from console), and that redeploying restores the same share URL. It also flags the protection gate and who can lift it, which an agent cannot infer from annotations.

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?

Purpose and parameter usage are front-loaded in the first sentence, with consequences and the protection caveat following in logical order. The parenthetical details (retention window, restoration behavior) are substantive, not filler, and no sentence is redundant.

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?

With only two parameters, full schema coverage, and an output schema handling return values, the description covers everything an agent needs: how to set and cancel, timing precision, destruction scope, and the protection failure mode.

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 the schema already documents both parameters including examples, min/max, and cancel-on-omit semantics. The description repeats the same format examples (45m, 2h, 1d) and the omit-to-cancel rule rather than adding new meaning, so it sits at the baseline.

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?

The description names a specific verb and resource — scheduling a spawnpoint project to terminate itself — and immediately clarifies the two modes (set/move vs. cancel). The phrase 'it is exactly a terminate' distinguishes this from the immediate terminate_project sibling without ambiguity.

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

Usage Guidelines4/5

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

It gives explicit use cases ('demos, reviews, and anything that should not bill overnight') and a clear when-not case (a protected project refuses teardown, though cancelling still works). It stops short of naming the alternative tool an agent should reach for when an immediate teardown is wanted.

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.