Skip to main content
Glama

List emails

list_emails
Read-only

List the team's transactional emails (sent, queued and scheduled), oldest first, with cursor pagination.

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_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoCursor: id of the last item of the previous page. Must be an id this list returned; there is no sentinel value.
limitNoPage size, 1-100 (default 20)
beforeNoCursor: id of the first item of the next page (page backwards); same rule as after.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the description is not obligated to restate it. It does add genuinely non-obvious behavior — deterministic oldest-first ordering and cursor-style paging — which is exactly the extra context that justifies credit above baseline.

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?

A single sentence, front-loaded with the verb and resource, then the scope, then ordering and pagination. Every clause carries information and nothing is padded.

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?

For a read-only list tool with three fully documented optional cursor parameters and annotations covering safety, the description covers scope, ordering and pagination mode adequately. Because there is no output schema, the shape of returned email objects is left unstated, which is the only real residual gap.

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 'after', 'before' and 'limit' (including the 1-100 range and default) are fully documented in the schema. The description only adds the generic phrase 'cursor pagination' and the ordering direction, which does not extend per-parameter meaning beyond the schema; 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?

The description states a precise verb and resource — listing the team's transactional emails — and enumerates the covered states (sent, queued, scheduled), which already separates it from get_email (single email) and mailbox_list_messages (mailbox mailbox). It never names a sibling or an alternative, so differentiation is inferable rather than explicit.

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 scope clause ('team's transactional emails — sent, queued and scheduled') implicitly tells the agent this is the unfiltered team-wide listing rather than a per-mailbox view, but there is no explicit when-to-use, no exclusion, and no pointer to get_email for a single record. Usage must be inferred from the scope wording.

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.