Skip to main content
Glama

Delete a chatbot

delete_chatbot
DestructiveIdempotent

IRREVERSIBLE: Delete a chatbot

Deletes a chatbot permanently and removes it from the voice engine. This cannot be undone, and any widget still embedded on a website stops working. Its integration links and knowledge entries are deleted with it, and so are the indexed knowledge documents that no other agent uses. The removal in the voice engine is attempted first, but a failure there does not stop the local deletion, so the chatbot always disappears from the account. This endpoint takes no request body.

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": {
      "chatbotId": "<chatbotId>"
    },
    "name": "delete_chatbot"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoLeave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value.
chatbotIdYesNumeric identifier of the chatbot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations only declare destructiveHint and idempotentHint; the description goes well beyond them by naming exactly what gets destroyed (widget embeds, integration links, knowledge entries) and what survives (indexed documents still used by other agents). It also discloses ordering and partial-failure semantics — voice-engine removal is attempted first and its failure does not block local deletion — which is exactly the kind of side-effect detail an agent cannot get from structured fields.

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 irreversible warning is front-loaded as the first word, and subsequent sentences are dense with distinct facts rather than filler. It is long, but nearly every clause carries a separate consequence or failure mode, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, no-output-schema tool, the description covers consequence scope, cascade behavior, partial-failure handling, and whether the chatbot disappears regardless. The remaining ambiguity is minor — the 'no request body' line sits awkwardly against a schema with two parameters — but nothing essential for correct invocation 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, including the two-step confirm echo flow, are fully documented in the schema itself, so the baseline of 3 applies. The description adds no parameter-level detail beyond the odd remark that the endpoint 'takes no request body', which does not illuminate chatbotId or confirm.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (permanently delete a chatbot) and immediately scopes the blast radius: voice engine removal, embedded widgets breaking, integration links and knowledge entries being removed. It does not name a sibling such as delete_chatbot_knowledge for partial deletions, so it stops short of a 5, but the intent is unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by 'IRREVERSIBLE' and the permanence warning, which tells the agent to treat this as a last resort, and the confirm-flow requirement is spelled out in the schema. However, the description never explicitly says when to prefer a narrower tool (e.g., removing only knowledge) over deleting the whole chatbot, so guidance is implied rather than stated.

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.