Skip to main content
Glama

Robinsite website previews

Delete a preview site

delete_site
DestructiveIdempotent

Permanently deletes a preview site and its files, freeing its address. Requires the site_token from publish_site.

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": {
      "site_name": "<site_name>",
      "site_token": "<site_token>"
    },
    "name": "delete_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_nameYesThe site name returned by publish_site, e.g. "rosies-bakery".
site_tokenYesThe site_token returned by publish_site.

Output Schema

NameRequiredDescriptionDefault
deletedYes
site_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered structurally; the description adds meaningful scope beyond that by specifying that files are deleted and the address is freed, not just a record removed. It does not discuss effects on a published/deployed site or error conditions, which keeps it from a 5.

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?

Two short sentences, front-loaded with the destructive effect, with zero filler wording. Every clause adds information an agent needs.

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 destructive, two-required-parameter tool with annotations and an output schema, the description covers purpose, destruction scope, and token provenance. It stops short of describing irreversibility edge cases or behavior when the site is still live, but nothing critical to invoking it correctly is missing.

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 both parameters are documented with provenance ('returned by publish_site') and an example for site_name. The description reinforces that site_token is mandatory from publish_site but adds no format or constraint detail beyond the schema, so 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+resource ('Permanently deletes a preview site') plus the extended effect ('and its files, freeing its address'), which distinguishes it from the sibling update_site/get_site_status operations. An agent knows exactly what this tool does without opening the schema.

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 establishes the workflow position by stating the site_token must come from publish_site, implying this is the teardown step after publishing. No explicit 'do not use when' conditions are given, but there is no sibling delete alternative to route against, so the guidance is adequate.

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.

Resources