Skip to main content
Glama

Mailbuttons (mbag.ai)

List inbox messages

mailbuttons_list_messages
Read-onlyIdempotent

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.

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, so the bar is lower; the description adds genuinely new behavior by noting that only policy-passed mail is returned (a silent filtering rule) and that a `read` capability is required. It does not describe pagination or default limit behavior, but the added filtering and auth disclosure is substantive.

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 compact sentences; the resource and scope are front-loaded, followed by the returned fields, then the constraint and auth requirement. No filler sentences.

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 no output schema, the description usefully lists the returned fields, and it discloses the auth requirement and the policy-passed filtering rule for a read tool whose annotations are already rich. Only pagination behavior is left unaddressed, which is minor given the cursor parameter's schema documentation.

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%, with each of the four parameters, including cursor and inbox scoping, already documented in the schema, so the baseline is 3. The description adds no format or syntax detail beyond the schema and merely echoes the returned-field set.

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+resource ('List delivered messages in a scoped inbox') and enumerates the returned fields, which is more than a restatement of the title. It implies a distinction from list_drafts/get_message but never names a sibling, so an agent must still infer the boundary.

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?

The description gives a prerequisite ('Requires the `read` capability') and a scope constraint, which is useful context for deciding whether the call will succeed. However it never says when to prefer this over get_message, get_thread, or list_drafts, leaving the alternative selection to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.