Skip to main content
Glama

Delete a bot

delete_bot
DestructiveIdempotent

Permanently delete a bot: its chat stops working on the website and Telegram, and its knowledge, conversations and leads are deleted. This cannot be undone. Only call this after the user has clearly confirmed, and send confirm: true.

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": {
      "bot_id": "<bot_id>",
      "confirm": "<confirm>"
    },
    "name": "delete_bot"
  }
}

Input Schema

NameRequiredDescriptionDefault
bot_idYesThe bot id, like b_AbC123xyz789 (from create_bot or list_my_bots).
confirmYesMust be true: the user confirmed they want this bot deleted for good.
edit_keyNoThe bot's edit key, like bsk_… (from create_bot). Not needed when the user is signed in and the bot is in their account. Keep it private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description still adds substantial context beyond them: exactly what data is lost (knowledge, conversations, leads), what stops functioning (website and Telegram chat), and that the action is irreversible. It also imposes a human-confirmation gate, which is behavior the annotations cannot express.

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?

Three short sentences, front-loaded with the destructive scope, then the irreversibility warning, then the confirmation requirement. Every sentence carries decision-relevant information with no filler.

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 consequences, irreversibility, and the confirmation workflow, which is what an agent needs before invoking. It does not mention failure modes such as a missing bot or invalid edit_key, a minor gap given full schema coverage.

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 bot_id, confirm, and edit_key are already documented in the input schema. The instruction to 'send confirm: true' restates the schema's 'Must be true' constraint rather than adding new meaning, and edit_key's account-dependent optionality is left to the schema.

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?

States a specific verb and resource ('Permanently delete a bot') and enumerates the cascading effects: chat stops working on the website and Telegram, knowledge/conversations/leads removed. The permanence wording implicitly separates it from update_bot, but no sibling is named explicitly, so it stops short of full differentiation.

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 an explicit precondition: 'Only call this after the user has clearly confirmed.' That is a real when-to-use rule, not just implied usage. It does not name a non-destructive alternative (e.g., update_bot) for the case where the user only wants changes, which keeps it from a 5.

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