Skip to main content
Glama

Delete a site

delete_site
Destructive

Removes a site from the account: the site is soft-deleted (it disappears from the dashboard and from list_sites; articles stop publishing) and its subscription is cancelled at the end of the current billing period (comped sites are deactivated at once). Only the site owner can do this; invited teammates cannot. A white-label partner can delete a client's site (it runs as the client; the confirm summary names the client). Cannot be undone from the API; contact support to restore a site. The same action as Settings > Account > "Delete site". Destructive: the first call returns a summary and a confirmToken; call again with confirmToken to proceed.

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to act on. One of: fencestainingdenver.com.
confirmTokenNoConfirmation token from a previous call of this tool with the same arguments. Omit on the first call to get a summary and a token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the destructiveHint annotation: soft delete semantics, immediate disappearance from the dashboard and list_sites, article publishing stops, subscription cancels at end of billing period with comped sites deactivated at once. It also discloses irreversibility from the API and the two-phase confirmToken handshake.

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?

A single dense paragraph that leads with what is destroyed and follows with permissions, partner behavior, and the confirmation flow. Every clause carries information, though the subscription/comped-site detail could be tightened slightly.

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?

With no output schema, the description still explains what the first call returns (a summary and confirmToken) and what state results after confirmation. For a destructive, non-idempotent operation, nothing an agent needs to call it safely is missing.

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 the baseline is 3, but the description adds real workflow meaning: the first call with no confirmToken returns a summary and token, and the second call proceeds. That is more than a restatement of the schema's confirmToken text and clarifies the required call sequence.

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 ("Removes a site from the account") and immediately scopes the meaning of removal as a soft delete that removes it from list_sites. This separates it cleanly from delete_article, delete_product, and the other delete_* siblings.

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?

Gives clear preconditions (only the site owner; invited teammates cannot; white-label partners may delete a client's site) and the escape hatch for reversal (contact support). It does not name an alternative tool for the non-owner case, so it stops just short of explicit when-not-and-use-instead routing.

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.