Skip to main content
Glama

agent_peer_inbox

Read and drain pending peer messages, review requests, and task results from the local Maildir spool; draining removes them from the queue so you can check for new assignments or replies.

Instructions

Read and drain all pending messages, review requests, and task completion results from the local Maildir spool. Draining consumes and removes messages from the queue. Call periodically to check for incoming peer assignments or task replies.

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": "agent_peer_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries full disclosure burden and does deliver the most important non-obvious trait: draining consumes and removes messages from the queue, which is a destructive side effect an agent could not infer from a parameterless schema. However, it says nothing about error behavior, concurrency, whether partially drained state is possible, or the shape of returned results.

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?

Three short sentences, front-loaded with the action and resource, then the destructive consequence, then the polling guidance. Nothing is redundant and each sentence adds a distinct fact.

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 zero-parameter tool with no output schema, the description covers what comes back at a coarse level (messages, review requests, task completions) and warns about consumption. It could still say more about the format of the returned items or what an empty spool looks like, since no output schema documents that.

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?

The tool takes zero parameters, so the schema cannot carry semantic load and the baseline of 4 applies. The description correctly implies no filtering or paging options exist, so the agent knows every call drains the entire queue.

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?

Uses a specific verb pair ("read and drain") plus a well-scoped resource: pending messages, review requests, and task completion results from the local Maildir spool. That is clearly distinct from the send/delegate/reply siblings, though it never names an alternative 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 Guidelines4/5

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

Gives concrete usage context: "Call periodically to check for incoming peer assignments or task replies," which tells the agent this is a polling entry point. It stops short of stating when NOT to call or which sibling to use instead for non-inbox queries such as agent_peer_status.

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