Skip to main content
Glama
Mailbuttons MCP Server

Mailbuttons MCP Server

Official
by mailbuttons

List inbox messages

mailbuttons_list_messages
Read-onlyIdempotent

List delivered messages from a scoped inbox with sender, subject, and received time. Filter by query and paginate results; only policy-passed mail is returned.

Instructions

List delivered messages in a scoped inbox (id, thread, sender, subject, received time). Read-only; only policy-passed mail is returned. Requires the read capability.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax messages to return (default backend-defined).
queryNoOptional full-text/sender filter passed through to JMAP search.
cursorNoOpaque pagination cursor from a previous call's next_cursor.
inbox_idYesInbox (mailbox) id. Must be in scope for the token.

Output Schema

NameRequiredDescriptionDefault
messagesYes
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds real context beyond that: only policy-passed mail is returned (a filtering guarantee) and the `read` capability is required (an auth prerequisite). It does not cover pagination behavior, though the cursor/limit params and output schema handle that.

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 short sentences with the resource and returned fields front-loaded, followed by the safety and capability constraints. No filler; every clause carries information.

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?

With annotations covering safety, a full input schema, and an output schema, the description supplies the remaining essentials — the policy-passed filter and the capability requirement. The only mild redundancy is re-listing return fields that the output schema already defines.

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 all four parameters are already documented in the schema, including the scope constraint on inbox_id. The description adds no parameter-level detail beyond restating that the inbox is scoped, so baseline 3 applies.

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?

States a specific verb (list) and resource (delivered messages in a scoped inbox) and enumerates the returned fields, so the agent knows exactly what it retrieves. It implicitly separates itself from draft-oriented siblings by saying "delivered messages," but never names an alternative explicitly, so it falls short of a 5.

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: "scoped inbox" and the read-capability requirement hint at the context, but there is no explicit when-to-use, when-not-to-use, or routing to siblings like mailbuttons_get_message or mailbuttons_list_drafts. Adequate but leaves the agent to infer selection.

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