Skip to main content
Glama

Fetch Inbox

fetch_inbox

Retrieve an agent's recent messages without altering read or acknowledgment state, enabling safe inspection of inbox updates.

Instructions

Retrieve recent messages for an agent without mutating read/ack state.

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": {
      "project_key": "<project_key>",
      "agent_name": "<agent_name>"
    },
    "name": "fetch_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
topicNo
formatNo
since_tsNo
agent_nameYes
project_keyYes
unread_onlyNo
urgent_onlyNo
include_bodiesNo
registration_tokenNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.5
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.3.4

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose one genuinely useful trait — the call does not mutate read/ack state — but it says nothing about the registration_token auth requirement, rate limits, pagination, or result size for a 10-parameter tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of waste, and the read-only constraint is placed prominently. However, it is undersized for a tool with ten parameters and no annotation coverage, so brevity comes at the cost of adequacy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. But with ten parameters at zero description coverage, no annotations, and an undocumented auth token, the definition leaves far too much unstated for an agent to call it confidently.

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

Parameters1/5

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

Schema description coverage is 0% across 10 parameters (limit, topic, format, since_ts, unread_only, urgent_only, include_bodies, registration_token, plus the two required keys), and the description mentions none of them. No meaning is added beyond the bare schema, leaving filtering and auth parameters unexplained.

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 description gives a specific verb and resource ('Retrieve recent messages') plus a scope ('for an agent'), and the phrase 'without mutating read/ack state' implicitly separates it from acknowledge_message and mark_message_read. It stops short of naming any sibling, so differentiation is inferred rather than stated.

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 is only implied: 'recent messages' and the non-mutating clause suggest a safe peek-inbox scenario, but there is no explicit when-to-use, when-not, or pointer to search_messages / fetch_topic / fetch_summary as alternatives. The agent must infer the routing decision.

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