Skip to main content
Glama

Remove an integration from a chatbot

remove_chatbot_integration
DestructiveIdempotent

IRREVERSIBLE: Remove an integration from a chatbot

Unassigns an integration from a chatbot, so the chatbot can no longer call any of its tools. The integration itself is untouched and stays available to assign elsewhere. The reduced tool set is pushed to the voice engine after the row is removed; if that push fails the request returns 502 and the integration is already unassigned locally but may still be callable until a later change syncs. 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>",
      "integrationId": "<integrationId>"
    },
    "name": "remove_chatbot_integration"
  }
}

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.
integrationIdYesNumeric identifier of the integration whose assignment is being changed. This is the integration id, not the assignment id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructive/idempotent annotations: it flags IRREVERSIBLE up front, explains the downstream sync to the voice engine, and discloses a concrete failure mode (502 after local unassignment, with the integration possibly still callable). This is exactly the partial-failure information an agent needs before a destructive call.

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?

Front-loads the destructive warning and then sequences the mechanics in a logical order with no filler sentences. The trailing 'takes no request body' sentence is the one item that does not clearly earn its place.

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 3-parameter tool with no output schema, the description covers irreversible effects, what is preserved, downstream propagation, and the 502 partial-failure state. An agent has everything needed to decide and to explain consequences to the user.

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%, so chatbotId, integrationId and confirm are already fully documented in the schema; the description adds no field-level meaning. The line 'This endpoint takes no request body' is marginal and risks confusing an agent that must still pass chatbotId/integrationId/confirm, since it describes the underlying REST shape rather than the tool's arguments.

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 (remove an integration from a chatbot) and immediately scopes it: 'Unassigns an integration from a chatbot, so the chatbot can no longer call any of its tools.' The clause 'The integration itself is untouched' cleanly separates it from delete_integration and the other integration-level 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?

Usage context is clear via the distinction from deleting the integration ('stays available to assign elsewhere'), which tells an agent when this is the right call versus delete_integration. It does not explicitly name a sibling as the alternative or state exclusions, so it stops short of 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.