Skip to main content
Glama

bridge_unregister_agent

Removes a dynamically registered custom AI coding agent from Agent Bridge's custom agent configuration so it is no longer available for orchestration.

Instructions

Remove a dynamically registered custom AI coding agent from ~/.agent-bridge/custom_agents.json.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "bridge_unregister_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose that this is a mutation whose target is persisted in a specific JSON file, which is useful, but says nothing about whether removal is reversible, what happens if agent_id does not exist, whether the file is rewritten wholesale, or what permissions/state are required. For a destructive unregister operation with zero annotation coverage, that is a meaningful gap.

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?

A single front-loaded sentence with zero filler; the verb and resource lead, and the storage location is a compact, useful detail rather than padding.

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?

For a simple one-parameter tool with no output schema and no annotations, the description covers what it does and where the change lands. It is still short on the identity resolution of agent_id and any failure modes, which an agent would need to invoke it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

One parameter with 0% schema description coverage; the schema only declares {'agent_id': string} with no description. The prose never explains whether agent_id is an ID, slug, or display name, nor where to obtain it (e.g., bridge_list_agents), so the description fails to compensate for the coverage gap.

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?

Names a specific verb ('Remove') and a specific resource ('dynamically registered custom AI coding agent'), and even names the backing store (~/.agent-bridge/custom_agents.json). It implicitly distinguishes itself from bridge_register_agent and from built-in agents via the 'dynamically registered' qualifier, but never names the inverse tool explicitly.

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?

No explicit when-to-use or when-not-to-use guidance. The phrase 'dynamically registered' implies the precondition that the agent must have been added at runtime (via bridge_register_agent), but no alternative or prerequisite is stated outright, leaving usage to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.