Skip to main content
Glama

Delete site

delete_site
DestructiveIdempotent

Deletes a site: off the web at once; pages, versions and uploads go. A paid plan ends (yearly: refunded; send back the refundCents stated); a live one is the person’s press in the editor (the answer links there). It goes to "Recently deleted" (list_deleted_sites (area admin); restore_site (area admin) brings it back, unpublished, on Free), restorable for 30 days, its address held for 180. confirm: the site id exactly, or refused. Full reference: get_reference {topic:"sites"}.

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": {
      "siteId": "<siteId>",
      "confirm": "<confirm>"
    },
    "name": "delete_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite id (from list_sites)
confirmYesThe site id again, exactly
refundCentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations declare destructive=true and idempotent=true, and the description goes well beyond them: exact destroyed entities (pages, versions, uploads), plan termination and yearly refund handling with refundCents, editor-side consequence, 30-day 'Recently deleted' retention, and 180-day address hold. The confirm-id-or-refused rule is an unusual guard that the agent could not infer from the schema alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Highly front-loaded and every clause carries real information, but the telegraphic style ('a live one is the person's press in the editor (the answer links there)') and semicolon-chained fragments make it harder to parse than necessary. Dense, not padded — but readability costs it a point.

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 tool with no output schema, the description covers destruction scope, refund logic, recovery window, confirmation requirement, and a reference pointer — nearly everything an agent needs. Ambiguities remain around when refundCents is required and what 'the answer links there' actually returns.

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 67%; siteId and confirm are documented in the schema, but refundCents has no schema description. The description supplies that missing meaning — money is only refunded for yearly paid plans and the stated amount must be sent back — plus the consequence that a mismatched confirm is refused. It does not clarify whether refundCents is mandatory in that case, so a small gap remains.

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 ('Deletes a site') and immediately scopes the blast radius: 'off the web at once; pages, versions and uploads go.' It names the recovery siblings (list_deleted_sites, restore_site) and the reference tool, so an agent can distinguish it from unpublish_site or release_deleted_sites without opening a 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?

Clear context is supplied: deletion is immediate, recoverable only for 30 days via restore_site (area admin), and yearly paid plans require sending back the refundCents stated. It does not explicitly say when to prefer unpublish_site over deletion, but the routing to recovery/reference tools gives strong operational guidance.

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