Skip to main content
Glama

list_emails

List emails from a project mailbox, showing message ID, template, recipient, status, and timestamp. Optionally filter by direction or paginate results.

Instructions

List sent emails from the project's mailbox. Shows message ID, template, recipient, status, and timestamp.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID
limitNoMax messages to return (server caps at 200)
afterNoPagination cursor (message id from prior page)
directionNoFilter to received (inbound) or sent (outbound) messages. Omit for both. 'inbound' is the reconciliation backstop for a missed reply_received webhook.
mailboxNoTarget mailbox by slug or id; omit only when the project has exactly one mailbox.
Behavior1/5

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

The description says 'List sent emails', but the schema includes a direction parameter with values 'inbound' and 'outbound', indicating the tool can list both. This contradicts the description, which incorrectly limits to sent only. No annotations exist to clarify behavior, so the description is misleading.

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?

The description is concise with two sentences: one for purpose and one for output fields. No extra words, but it could include the direction filter to avoid confusion.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 parameters and no output schema, the description omits critical context: the return structure, pagination use of 'after', and the fact that direction can filter inbound. It contradicts the available schema, leaving gaps for proper invocation.

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?

The input schema has 100% description coverage, so parameters are well-documented. The description adds minimal value beyond listing returned fields. The direction parameter's description in schema is detailed, but the tool description ignores it.

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?

The description clearly states 'List sent emails from the project's mailbox' with specific fields, making the purpose clear. It does not explicitly distinguish from siblings like list_mailbox_webhook_deliveries or get_email, but the action and resource are well-defined.

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 implies usage for listing sent emails but lacks explicit guidance on when to use alternatives or conditions like pagination. No exclusions or context for direction filter are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kychee-com/run402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server