Skip to main content
Glama

Destroy a website, app, or agent

destroy_service
DestructiveIdempotent

Permanently destroy a website, app, or agent and stop serving it. This cannot be undone, so confirm with the user first. Pass kind to say which you mean; a name holding another kind is then refused rather than destroyed. Destroying an app stops it and removes its releases and source; its resources are detached and kept, because they belong to the organization and may serve other apps, and the answer names them for destroy_resource. Destroying an agent stops it and removes its channels, agent-scoped connectors, drains, mailboxes, releases, and source repository; none of those can be recovered. Its sessions and memories remain, and once the agent is gone no MCP tool can remove them, so call destroy_session and destroy_memory first if they should go. The architect agent cannot be destroyed. A name that no longer exists answers that nothing was destroyed. Identify the service by name, which requires connecting a Valet account, or a website published anonymously by the site_token returned when it was published — whoever published a site can always take it down.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoThe kind you mean. Omit to destroy whatever the name holds; give it to have a name holding another kind refused.
nameNoGive this or site_token. The website's, app's, or agent's name, which requires a connected Valet account.
org_nameNoThe Valet organization it belongs to. Omit to use the organization the account joined first.
site_tokenNoGive this or name. The token returned when a website was published anonymously; it identifies that one site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, yet the description adds substantial context beyond them: what is actually deleted (releases, source, channels, connectors, drains, mailboxes), what survives (detached resources, sessions, memories), the irreversibility, the protected architect agent, and the no-op answer for a missing name. These are exactly the traits an agent needs before calling a destructive tool.

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?

The crucial facts are front-loaded ('Permanently destroy... This cannot be undone, so confirm with the user first'), and nearly every sentence carries non-redundant information. It is a single dense paragraph, though, which is heavier to parse than a bulleted when-to-use / what-gets-destroyed structure would be.

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 a destructive tool with no output schema, the description covers all parameters, the consequences for each kind, ordering prerequisites, edge cases (nonexistent name, protected architect agent), and even the return implication ('the answer names them for destroy_resource'). Nothing an agent needs to invoke 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 coverage is 100%, so the schema itself already documents kind, name, org_name, and site_token, including the kind-refusal behavior and the name/site_token exclusivity. The description mostly restates these, only adding the rationale that a publisher can always take their own site down; so the baseline of 3 is appropriate rather than a value-add.

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 ('Permanently destroy a website, app, or agent and stop serving it'), and it clearly separates itself from sibling destroyers (destroy_resource, destroy_session, destroy_memory, destroy_channel, destroy_connector) by enumerating exactly what this tool removes versus what the others handle. An agent can distinguish it from every sibling 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use and ordering guidance: 'confirm with the user first', 'call destroy_session and destroy_memory first if they should go', and the exclusion 'the architect agent cannot be destroyed'. It also names the alternative tools (destroy_resource, destroy_session, destroy_memory) and the conditions that select them.

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