Skip to main content
Glama

Detach AI tool

detach_ai_tool
Destructive

Unbind an AI tool from the agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tool_idYesId of the attached AI tool.
agent_idYesTarget agent's id (from list_agents / create_agent / get_catalog view=agents).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Target agent's id (from list_agents / create_agent / get_catalog view=agents)."
    • addedInput schema / properties / tool_id / description
      Added value: +"Id of the attached AI tool."
  2. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, indicating this is a destructive mutation. The description adds no additional behavioral context beyond what annotations provide—it does not mention reversibility, side effects, or what happens to the unbound tool. Since the description carries no extra value, this is a minimal score.

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?

The description is a single sentence with zero waste, stating the core action without superfluous details. It is appropriately front-loaded and efficient for a simple detach operation.

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

Completeness3/5

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

Given the tool's simplicity (two required parameters, no output schema), the description covers the basic action. However, it does not mention any side effects or outcomes (e.g., whether the tool is deleted or remains available for reattachment), and it provides no disambiguation from sibling detach tools. For a tool with destructive annotations, a bit more context would improve completeness, but it is not severely lacking.

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%, with both tool_id and agent_id having clear descriptions. The tool description itself adds no parameter-level information, but the schema already documents them adequately. Baseline 3 is appropriate given the high schema coverage.

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 uses a specific verb 'Unbind' and names the resource 'an AI tool from the agent', making the action clear. However, it does not distinguish this from sibling detach tools like detach_api_endpoint or detach_file, relying on the tool name for differentiation. The description is direct and unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the many sibling detach tools (detach_api_endpoint, detach_file, etc.). The description merely states the action without providing context on prerequisites, alternatives, or conditions. An agent would have to infer usage from the tool name alone.

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