Skip to main content
Glama

Delete a website

delete_website
Destructive

Permanently deletes a whole website: every file, its address and its keep link. It cannot be undone. Call it only when the person has asked, in their own words, for the website to be deleted; never to start over, since save_website_files and edit_website_file change a website in place. To remove one file instead, use delete_website_file. A website with a plan is refused with has_a_plan; the person removes it from their dashboard.

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": {
      "websiteId": "<websiteId>"
    },
    "name": "delete_website"
  }
}

Input Schema

NameRequiredDescriptionDefault
editKeyNoThe editKey start_website returned, which proves the website is the caller's. Leave it out for a website in the connected account.
websiteIdYesThe websiteId start_website returned, or one list_sites shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / editKey / description
      Previous value: -"The editKey start_website returned. Not needed for a website in the connected account."New value: +"The editKey start_website returned, which proves the website is the caller's. Leave it out for a website in the connected account."
  2. Changed3 schema fields changed
    • addedInput schema / properties / editKey / description
      Added value: +"The editKey start_website returned. Not needed for a website in the connected account."
    • addedInput schema / properties / websiteId / description
      Added value: +"The websiteId start_website returned, or one list_sites shows."
    • changedInput schema / required
      Previous value: -[
      -  "websiteId",
      -  "editKey"
      -]New value: +[
      +  "websiteId"
      +]
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive=true, idempotent=false and openWorldHint=true, so the safety bar is partly met; the description goes further by spelling out exactly what is destroyed (every file, the address, the keep link), that it cannot be undone, and the has_a_plan refusal with the dashboards remedy. That is substantive behavioral context an agent could not get from the annotations alone.

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?

Four compact sentences, front-loaded with the destructive scope, then the consent gate, then the siblings, then the error case. No sentence is redundant; each adds a distinct decision-relevant fact.

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 an irreversible mutation with no output schema, the description covers scope of destruction, reversibility, consent precondition, the failing state (has_a_plan) and how the user resolves it, plus the alternatives for every nearby intent. Nothing an agent needs in order to call this safely 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 description coverage is 100% and both parameters (editKey with its 64-hex pattern and 'leave it out for the connected account' note, websiteId with its 32-hex pattern) are documented in the schema. The description adds no parameter-level meaning such as how editKey ownership interacts with the deletion, so the baseline of 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?

Specific verb plus resource plus scope: 'Permanently deletes a whole website: every file, its address and its keep link.' It immediately distinguishes itself from delete_website_file by naming the file-level sibling, so an agent can route correctly without opening 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?

It gives an explicit gating condition ('only when the person has asked, in their own words'), an explicit exclusion ('never to start over'), named alternatives that do in-place changes (save_website_files, edit_website_file), and the alternative for the narrower scope (delete_website_file). When-to-use, when-not-to-use, and alternatives are all present.

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.