Skip to main content
Glama

bridge_send_message

Send structured messages between coding agents via a shared mailbox, atomically updating a linked ledger task's status and assignee in the same call.

Instructions

Send a structured message (handoff, review_request, review_verdict, question, note) between coding agents via the shared mailbox. Can atomically flip a linked ledger task's status and ball_with in the same call. Sending does NOT wake the recipient: the result's delivery field is 'live_wakeup' only when an active wait-inbox watcher for that recipient is running right now; otherwise it is 'queued_for_next_turn'. Report that honestly to the user.

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": {
      "recipient": "<recipient>",
      "sender": "<sender>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "bridge_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesFull markdown body (findings, commit/worktree info, verdict, next steps).
kindNonote
senderYesSender identifier, e.g. 'claude:c5d0ca70' or 'antigravity:d3f8cbbc'.
subjectYesShort one-line summary.
recipientYesAgent role ('claude', 'antigravity', 'codex', 'gemini') or target session ID.
task_slugNoOptional linked ledger task slug.
update_ball_withNoOptional: update linked task ball_with.
update_task_statusNoOptional: update linked task status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that sending does not wake the recipient, that `delivery` is 'live_wakeup' only when an active wait-inbox watcher is running, and that the status/ball_with flip is atomic with the send. It omits failure modes (unknown recipient, missing task slug) and permission/auth expectations.

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?

Three tight sentences ordered by importance: what it does, the atomic side effect, then the delivery caveat. The closing instruction to report delivery honestly is slightly advisory rather than descriptive but still earns its place as agent-facing behavioral guidance.

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 an 8-parameter mutation tool with no annotations and no output schema, the description covers the essential non-obvious behavior and explains the one result field that matters (`delivery`). Error handling and required-vs-optional coupling (e.g., update_task_status without task_slug) are the remaining gaps.

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 already 88%, so the baseline is 3, but the description adds real meaning by tying task_slug, update_task_status and update_ball_with together as one atomic linked update and by framing the enum kinds as message intents. The sender/recipient identifier formats are left to the schema.

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 ('Send a structured message ... between coding agents via the shared mailbox') and enumerates the message kinds, which distinguishes it cleanly from sibling read/ack tools like bridge_check_inbox and bridge_ack_messages. The additional atomic ledger update is called out explicitly rather than left implicit.

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?

Usage context is implied through the kind enum and the optional task-slug/status parameters, but the description never states when to pick this over messaging alternatives or when a ledger-only update suffices. There is no explicit 'do not use for X' clause naming a sibling.

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