Skip to main content
Glama

Delete Site

delete_site
Destructive

Permanently removes a website and its audits and readiness history. The site a website CMS publishes to (get_website_cms site) is refused until the CMS is disconnected or moved to another site in the Mark app. This cannot be undone. Related: list_sites, save_site, get_website_cms.

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

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite id from list_sites.

Output Schema

NameRequiredDescriptionDefault
siteIdYes

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 already declare destructiveHint=true and idempotentHint=false, and the description adds real substance beyond them: exactly what is destroyed (audits and readiness history), that the operation is irreversible, and a refusal rule tied to CMS connectivity. That CMS precondition is behavior an agent cannot infer from the schema or 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?

Short and front-loaded with the destructive effect and the irreversibility warning. The CMS clause is awkwardly phrased and its parenthetical is hard to parse, which costs a point but not usability.

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?

Given an output schema exists, the description needn't explain returns. It covers cascade scope, irreversibility, the blocking precondition, and pointers to related tools — enough for an agent to decide and call correctly.

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 siteId parameter is documented in the schema as 'Site id from list_sites.' The description doesn't add syntax, format, or sourcing detail beyond that, so the schema carries the load and 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 ('permanently removes') and resource ('a website'), plus the exact cascade scope ('its audits and readiness history'). This clearly separates it from sibling deletion tools such as delete_post, delete_assets, and delete_source, which operate on other resources.

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?

Provides an explicit precondition/exclusion: a site that a CMS publishes to is refused until the CMS is disconnected or moved. It also names the relevant related tools (get_website_cms, list_sites, save_site). What's missing is an explicit statement of the alternative action for the blocked case, but the practical routing signal is unusually strong.

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