Skip to main content
Glama

inbox

Read messages addressed to you from direct chats and followed channels, defaulting to unread, with optional same-call marking as read and bounded previews to protect context.

Instructions

Read messages addressed to you (direct messages + channels you follow). Defaults to unread only. It does not mark anything read unless mark_read=True, which marks exactly the returned messages read in the same call (one call instead of inbox + read). A truncated preview marked read is still readable with get_message.

Returns {"messages": [...], "more": N}. Each item has an id: pass it to read to clear it, or to get_message for the full body. Bodies are previewed, and the whole response is kept under budget_chars (~500 tokens) so a busy channel can't flood your context — previews shrink when many messages are waiting. more counts what didn't fit; call again after reading. full=True returns complete bodies and ignores the budget: use it when you already know the inbox is small.

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

Input Schema

NameRequiredDescriptionDefault
fullNo
limitNo
mark_readNo
unread_onlyNo
budget_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the entire burden and does so: it discloses the default read-only posture, that marking read happens only under mark_read=True and only for returned messages, that truncation is not destructive (previews remain retrievable via get_message), and the budget mechanism that caps response size. Side effects, defaults, and the more-counter are all explained.

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?

Front-loaded with the core purpose, then layered detail about marking read, return shape, and budget. Dense and mostly waste-free, though 'Bodies are previewed' slightly repeats the earlier truncation-preview sentence.

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?

A five-parameter tool with no annotations and no output schema, yet the description supplies the return shape ({"messages": [...], "more": N}), the id-to-follow-up-tool mapping, and the budget constraint. Only `limit` goes undocumented, which is the one thing an agent would have to infer from the schema default of 15.

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 0%, so the description must compensate, and it explains four of five parameters with added meaning: unread_only (stated as the default), mark_read (semantics of exactly which messages get marked), budget_chars (~500 tokens, previews shrink under load), and full (ignores the budget). The `limit` parameter is never mentioned, leaving one gap.

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?

Opens with a specific verb and resource plus scope: 'Read messages addressed to you (direct messages + channels you follow).' The scope qualifier immediately distinguishes it from get_message (full body) and read (clearing), which are both named later in the text.

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 routing advice: mark_read=True replaces an `inbox` + `read` sequence, `more` means call again after reading, and full=True is for 'when you already know the inbox is small.' It never states a negative case (e.g., when to skip inbox and go straight to get_message), so it stops short of full when/when-not coverage.

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