Skip to main content
Glama

List inbox

list_messages
Read-onlyIdempotent

Lists messages received by an fmsg address, newest first, with page size, offset and unread-only filters. Use it to review senders, topics, timestamps, read state and previews before fetching full bodies.

Instructions

List messages received by this address, newest first. Each item carries the id, sender, recipients, topic, time, read state, flags, size, attachment names and types, and a short preview. Reaction messages are hidden unless include_reactions is true, and hidden reactions never count as unread; listed reactions have their own read state (mark_read accepts them) and carry the emoji in reaction. Topics are set only on a thread's first message; get_thread reports a reply's thread_topic. Use get_message for a full body and get_thread for the conversation around a message.

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

Input Schema

NameRequiredDescriptionDefault
limitNopage size (host maximum 100)
offsetNonumber of newest messages to skip
unread_onlyNokeep only unread messages from the fetched page (reactions only with include_reactions)
include_reactionsNoalso list reaction messages (normally hidden)

Output Schema

NameRequiredDescriptionDefault
countYes
offsetYes
messagesYes
next_offsetYesoffset for the next page, or null when this page was short
untrusted_content_noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • addedOutput schema / properties / messages / items / properties / edited
      Added value: +{
      +  "description": "ISO-8601 time its sender last edited the body, which is shown as edited; null when unedited",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed13 schema fields changedv1.1.0
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / unread_only / description
      Previous value: -"keep only unread messages from the fetched page"New value: +"keep only unread messages from the fetched page (reactions only with include_reactions)"
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / messages / items / additionalProperties
      Previous value: -falseNew value: +{}
    • addedOutput schema / properties / messages / items / properties / attachments / description
      Added value: +"sorted by filename, the same order in every tool"
    • changedOutput schema / properties / messages / items / properties / attachments / items / additionalProperties
      Previous value: -falseNew value: +{}
    • addedOutput schema / properties / messages / items / properties / attachments / items / properties / type
      Added value: +{
      +  "description": "media type; inferred from the filename when the host records none",
      +  "type": "string"
      +}
    • addedOutput schema / properties / messages / items / properties / compressed
      Added value: +{
      +  "description": "true when the body was sent deflate-compressed on the wire (see size)",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / messages / items / properties / preview / description
      Added value: +"start of the body; may be shorter than the full body"
    • addedOutput schema / properties / messages / items / properties / reaction
      Added value: +{
      +  "description": "the emoji when this message is itself a reaction (\"\" clears one); null otherwise",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / messages / items / properties / reactions / items / additionalProperties
      Previous value: -falseNew value: +{}
    • addedOutput schema / properties / messages / items / properties / size / description
      Added value: +"body size in bytes as stored by your host: for a message you received with compressed true, the compressed wire length; your own sent messages store the uncompressed length. body_bytes, where given, is the decoded length"
    • addedOutput schema / properties / untrusted_content_notice
      Added value: +{
      +  "type": "string"
      +}
  3. First observedv0.1.3

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real behavioral detail: result ordering, the exact fields per item, the rule that hidden reactions never count as unread, and that listed reactions carry their own read state. It does not mention pagination limits or what an empty inbox returns, which the schema covers only partially, so it stops short of a 5.

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?

Four sentences, each with a distinct job: purpose, return shape, reaction semantics, then sibling routing. Front-loaded with the core action, and every sentence earns its place, though the density of the reaction/topic sentences makes it slightly harder to scan than it could be.

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

Completeness5/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, yet the description still summarizes the item fields for quick orientation. Combined with the reaction and topic semantics and the explicit routing to get_message and get_thread, nothing an agent needs in order to call this correctly is missing.

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 100%, so the baseline is 3, but the description adds genuine meaning beyond it: include_reactions controls visibility of reaction messages, and unread_only interacts with that setting because hidden reactions are excluded from unread counts. limit and offset are left entirely to the schema, which is acceptable given the full coverage.

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?

States a specific verb and resource (list messages received by this address) and immediately fixes the ordering (newest first). The closing sentence separates it from get_message (full body) and get_thread (conversation context), so an agent can choose it without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Names explicit alternatives and the condition that selects each: get_message for a full body, get_thread for the surrounding conversation, mark_read for reactions. It also states the inclusion rule for reactions (hidden unless include_reactions is true), which is the main when-to-use decision for this tool.

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