Skip to main content
Glama

Wait inbox

inbox_wait
Read-only

Poll an inbox. block_ms is accepted and capped at 0 in this MVP, so the call returns current events. Call keys.create once. Pass caller_key on every later tools/call.

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": {
      "inbox_id": "<inbox_id>"
    },
    "name": "inbox_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNo
block_msNo
inbox_idYes
caller_keyNopf_ key from keys.create. Pass this on tools/call when Authorization and X-Caller-Key are not set. A header key wins if both are set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare a safe read operation, and the description adds a genuinely important behavioral fact: block_ms is accepted but capped at 0 in this MVP, so the call never actually blocks and returns current events immediately. That non-obvious divergence from the schema's declared maximum of 25000 is exactly what an agent needs. It still omits whether the cursor advances and what the event payload contains.

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 short sentences, front-loaded with the action, then the runtime caveat, then setup. The caller_key instruction partially duplicates the schema property description, but it earns its place as an operational directive.

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?

With four parameters, no output schema, and sparse schema coverage, the description should say more about what a poll returns and how the cursor is used across calls. The blocking caveat and auth instructions are covered, but the return contract is left entirely implicit.

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 25% (only caller_key is documented), so the description must compensate and it partially does: it explains block_ms runtime behavior and the caller_key auth precedence is covered by the schema itself. The cursor and inbox_id parameters receive no semantic explanation anywhere.

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?

The opening sentence gives a specific verb and resource ('Poll an inbox'), so the agent knows exactly what the call does. It does not differentiate from the sibling inbox_poll / inbox.poll, which on the surface appears to do the same thing, leaving the naming distinction unresolved.

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?

There is concrete setup guidance ('Call keys.create once. Pass caller_key on every later tools/call'), which tells the agent how to authenticate. However, there is no guidance on when to choose this over inbox_poll or inbox_ack, and the implied 'wait' semantics are undercut rather than explained.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources