Skip to main content
Glama

List test emails

list_test_emails
Read-onlyIdempotent

List emails caught in the test inbox (and emails sent with a gm_test_ key), newest first, with the extracted one-time code and links. Kept 14 days.

Input Schema

NameRequiredDescriptionDefault
toNoOnly emails to this exact address
limitNoPage size (1–100)
sinceNoOnly emails received at or after this time (ISO 8601)
cursorNoOpaque cursor for the next page

Output Schema

NameRequiredDescriptionDefault
emailsYesCaught test emails, newest first
has_moreNoTrue when another page of results is available
next_cursorNoCursor to pass as `cursor` to fetch the next page; null on the last page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: a 14-day retention window, newest-first ordering, and that both test-inbox captures and gm_test_-key sends are included.

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 dense sentence with the scope, ordering, payload, and retention all front-loaded. Every clause carries information; nothing is redundant.

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

Completeness5/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 not be re-explained, yet the description still summarizes the useful payload (codes and links). Scope, ordering, retention, and filters together are sufficient for correct 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?

Schema description coverage is 100% and all four filters (to, limit, since, cursor) are already documented in the schema. The description adds no filter syntax or usage nuance beyond that, so the baseline 3 applies.

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?

Specific verb+resource scoped to the test inbox, and it explicitly distinguishes itself from the production list_emails by naming the test inbox and gm_test_ keys. It also states ordering (newest first) and included content (extracted one-time code and links).

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 implied by the test-inbox scoping, so an agent can infer this is the tool for inspecting captured test mail. However, it never names alternatives such as get_test_email or wait_for_test_email, nor states when-not to use it.

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.