Skip to main content
Glama

List Email Tests

list_email_tests
Read-onlyIdempotent

Retrieve an account's previous email authentication tests, newest first, optionally filtered by sending domain, to review scores, DMARC results, and report links.

Instructions

Use this when a signed-in user asks about email tests they ran before, or how a sender's earlier tests scored. Requires an API token with monitoring:read. Returns the account's own tests, newest first (optionally only those whose From names one organization): each with test_id, status, created_at, received_at, from_domain, score (value out of out_of), dmarc_result and report_url. Print report_url as a clickable link; call get_email_test with a test_id for the full result. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoTests to return, newest first, 1..50 (default 20).
domainNoOptional: only tests whose From address names this organization, e.g. example.com (a subdomain counts as its organization). Omit it for every test the account ran.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), yet the description still adds non-structured behavior: the required monitoring:read token scope, the newest-first ordering guarantee, and the instruction to render report_url as a clickable link. The auth requirement in particular is behavioral context annotations cannot express.

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?

Front-loaded with the usage trigger and the auth prerequisite, then the return shape, so the most decision-relevant content comes first. The mid-sentence enumeration of eight return fields makes it dense, but with no output schema that detail is load-bearing rather than filler.

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?

There is no output schema, so the description carries the return-value burden itself and does so by naming each field (test_id, status, created_at, received_at, from_domain, score/out_of, dmarc_result, report_url). Together with the trigger condition, auth scope, ordering, and follow-up routing, an agent has everything needed to call and use this tool.

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 both parameters (limit, domain) are already documented including the default and the 1..50 bound. The description's "optionally only those whose From names one organization" restates the domain filter without adding format or edge-case detail beyond the schema's own example.com note.

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?

States a specific verb+resource (list email tests) and scopes it to the account's own past tests, newest first. It explicitly distinguishes itself from the sibling get_email_test, which it directs the agent to for a single test's full result.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use this when a signed-in user asks about email tests they ran before, or how a sender's earlier tests scored" gives a concrete trigger, and "call get_email_test with a test_id for the full result" names the alternative and the condition that selects it.

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