Skip to main content
Glama

Delete a website

delete_website
Destructive

Delete a website from the organization (soft delete: past audits, reports, and issues are preserved, and published report links keep working). Frees a slot under the plan's website limit. Re-adding the same domain later registers a fresh website with a new website_id. Call once without confirm to see what will happen; call again with confirm: true to delete. A website whose settings were changed from the defaults can only be deleted by organization owners and admins. To remove many sites at once, use delete_websites.

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

Input Schema

NameRequiredDescriptionDefault
confirmNoApprove the deletion. Omit on the first call to see the effect; set true to delete after the user approves.
website_idYesWebsite id from list_websites, run_audit, or add_website.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / website_id / pattern
      Added value: +"^(?:[0-9A-HJKMNP-TV-Z]{8}|[0-9A-HJKMNP-TV-Z]{26})$"
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +{}
  3. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, yet the description adds substantive context beyond the safety flag: past audits, reports and issues are preserved, published report links keep working, a plan slot is freed, and re-adding the domain yields a fresh website_id rather than restoring the old one. The permission rule for customized sites is also disclosed, which is exactly the kind of behavioral detail annotations cannot carry.

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?

Front-loads the action and its soft-delete consequence, then layers the confirmation protocol, permission caveat, and bulk alternative in order of decision relevance. Each sentence carries a distinct fact with no restatement of the name or title.

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 a destructive two-parameter tool with no output schema, the description covers consequences, reversibility, confirmation flow, authorization, and the bulk alternative. An agent has everything needed to call it safely and correctly on the first attempt.

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 100%, so both parameters are already documented, establishing a baseline of 3. The description nonetheless adds operational meaning by framing confirm as a two-call preview/commit protocol and by noting that the website_id obtained earlier will not be reused after re-adding, which goes beyond the schema's field-level text.

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 and resource ("Delete a website from the organization") and immediately qualifies the scope as a soft delete, listing exactly what survives. It also names the bulk sibling delete_websites, so an agent can distinguish the two 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?

Gives an explicit two-step protocol (call without confirm to preview, call again with confirm: true), an explicit exclusion for bulk removal pointing to delete_websites, and a precondition that non-default-settings sites require organization owner/admin rights. Nothing about when to call or not call is left to inference.

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.