Skip to main content
Glama

List sent messages

list_sent
Read-onlyIdempotent

Retrieve messages sent from your address, including unsent drafts, ordered newest first, with per-recipient delivery status.

Instructions

List messages sent by this address (including unsent drafts, shown with time null), newest first, with per-recipient delivery state. Use delivery_status for one message's detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNopage size (host maximum 100)
offsetNonumber of newest messages to skip
include_reactionsNoalso list reaction messages (normally hidden)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
offsetYes
messagesYes
next_offsetYes
untrusted_content_noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changedv1.1.0
    • addedInput schema / additionalProperties
      Added value: +false
    • 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"
      +}
    • changedOutput schema / properties / messages / items / properties / delivery / items / additionalProperties
      Previous value: -falseNew value: +{}
    • addedOutput schema / properties / messages / items / properties / delivery / items / properties / code / description
      Added value: +"the receiving host's fmsg response code for the last attempt when recorded: 200 means accepted, other codes are rejections; null when not recorded, including some successful deliveries"
    • addedOutput schema / properties / messages / items / properties / delivery / items / properties / code_meaning
      Added value: +{
      +  "description": "the code's name in the fmsg specification, when known",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / messages / items / properties / delivery / items / properties / status / description
      Added value: +"one of \"delivered\", \"pending\", \"failed\"; delivered once the receiving host accepted it; failed when the last attempt was rejected (the host may retry temporary failures); otherwise pending. More values may be added"
    • removedOutput schema / properties / messages / items / properties / delivery / items / properties / status / enum
      Removed value: -[
      -  "delivered",
      -  "pending",
      -  "failed"
      -]
    • addedOutput schema / properties / messages / items / properties / delivery / items / properties / time / description
      Added value: +"when delivery was confirmed"
    • addedOutput schema / properties / messages / items / properties / delivery / items / properties / via / description
      Added value: +"one of \"to\", \"add_to\"; how the recipient was addressed: to for the original recipients, add_to for recipients added later with the fmsg add-to mechanism (add_recipients). More values may be added"
    • removedOutput schema / properties / messages / items / properties / delivery / items / properties / via / enum
      Removed value: -[
      -  "to",
      -  "add_to"
      -]
    • 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"
      +}
  2. First observedv0.1.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the safe, idempotent, read-only profile, so the description's job is lighter. It adds real behavioral context the annotations don't: unsent drafts appear with time null, results are newest-first, and each row carries per-recipient delivery state. It stops short of describing volume or paging limits.

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?

Two sentences with no filler. The scope and ordering come first, and the sibling routing is a compact trailing pointer that earns its place.

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?

An output schema exists, so return values need no explanation, and the annotations carry the safety profile. The description covers the ordering and draft-inclusion nuances an agent would otherwise guess wrong on; only pagination behavior is left to the schema defaults.

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 100%, so limit, offset and include_reactions are already fully documented in the schema. The description adds no syntax or format guidance for them (e.g., what 'number of newest messages to skip' implies for paging), so the baseline 3 is appropriate.

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+resource (list messages sent by this address) and pins down the scope with the non-obvious inclusion of unsent drafts. It also explicitly names the sibling it is not, delivery_status, so an agent can separate the two without opening either schema.

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?

It explicitly routes the agent to delivery_status when a single message's per-recipient detail is wanted, which is the main ambiguity for this family. It doesn't state exclusions against other list tools (list_messages, get_thread), but the sent-vs-all distinction is implied by the name and description.

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