Skip to main content
Glama

peer_inbox

Check and consume unread messages from the peer agent without blocking, so you can read the other agent's planning notes at the start of a review turn.

Instructions

Instantly check and consume any unread messages from the peer agent without blocking. Use this at the start of a planning review turn in Antigravity or Claude Code to read what the other agent posted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "peer_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomNoOptional explicit room name override (e.g. "auth-refactor"). If omitted, derived from project_path or falls back to "default".
project_pathNoOptional absolute path to the current workspace or repo. Automatically walks up to the git root and derives a deterministic per-project room ID so both agents share the same room.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose two meaningful traits: the call is non-blocking, and messages are consumed rather than just read. It does not say whether consumption is permanent or merely marks read, what permissions or room membership are required, or what happens when the inbox is empty — all material for a draining operation.

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?

Two sentences, zero filler, and the core behavior (instant, non-blocking, consuming) is front-loaded before the usage cue. Nothing is restated from the title or schema.

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?

There is no output schema, so the description is the only place to learn what comes back (a message list, a count, an empty result) and whether consumed messages are gone for good — neither is covered. The room-resolution logic is delegated entirely to the schema, which is acceptable, but the return-value gap leaves it only partially complete.

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%, and the schema already explains the room override, the git-root walk-up, and the deterministic per-project room derivation. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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?

"Instantly check and consume any unread messages from the peer agent without blocking" gives a concrete verb pair (check/consume) and resource (unread peer messages), plus the non-blocking property that separates it from a waiting-style sibling. It stops short of naming which sibling to use when blocking behavior is actually wanted, so differentiation is implied rather than explicit.

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?

It states a concrete trigger point: "at the start of a planning review turn in Antigravity or Claude Code." That is actionable context, but there is no explicit when-not guidance (e.g., use peer_wait when you need to block for a reply), so the agent must infer the exclusion from "without blocking."

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