Skip to main content
Glama

bridge_set_channel

Set the default conversation channel to 'cli', 'desktop', or 'auto' globally or for a specific agent, and persist the choice in ~/.agent-bridge/config.json.

Instructions

Set the user's default conversation channel ('cli', 'desktop', or 'auto') globally or for a specific agent (persisted in ~/.agent-bridge/config.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": {
      "channel": "<channel>"
    },
    "name": "bridge_set_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoOptional agent name (omit to set global default).
channelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It helpfully discloses the persistence file (~/.agent-bridge/config.json) and the global-vs-per-agent scoping of the mutation, but says nothing about whether running sessions pick up the change immediately, permission requirements, or what happens if the named agent doesn't exist.

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 that packs the action, allowed values, scoping, and persistence with zero filler. Nothing could be removed without losing information.

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 small two-parameter mutation tool with no output schema, the description covers the action, valid values, scoping, and persistence location. The only omissions are edge-case behavior (immediate effect, invalid agent handling), which are minor at this complexity level.

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

Parameters4/5

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

Schema coverage is 50%, and the description compensates meaningfully: it gives semantic meaning to 'channel' as the default conversation channel and clarifies that 'agent' scopes the change versus omitting it for a global default. It does not explain what 'auto' resolves to, which is the one semantic gap left.

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 ('Set') and resource ('user's default conversation channel'), enumerates the allowed values, and gives the scope (global or per-agent). The set/get pairing with bridge_get_channel is self-evident from the verb, so an agent can select this tool without ambiguity.

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?

The description explains the scoping mechanic (omit 'agent' to set the global default) and where the setting persists, which implies when to use each form. It offers no explicit when-to-use guidance, prerequisites, or pointer to sibling tools such as bridge_get_channel for reading current state.

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