Skip to main content
Glama

DNS Doctor - Email & DMARC

List Email Tests

list_email_tests
Read-onlyIdempotent

Use this when a signed-in user asks about email tests they ran before, or how a sender's earlier tests scored. Needs a connected DNS Doctor account or 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, and scoring_version: 2 is the one-decimal score), 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.

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

Input 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.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, yet the description still adds real context: the auth prerequisite (connected DNS Doctor account or API token with monitoring:read), result ordering (newest first), and scoping to the account's own tests. It does repeat "Read-only" and enumerates return fields that the output schema presumably already declares, which keeps it short of a 5.

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?

Usage trigger is front-loaded, then auth, then behavior, then the handoff — a sensible order with little waste. The middle sentence is a long run-on list of return fields that partly duplicates the output schema, and "Read-only." is redundant against readOnlyHint.

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?

Auth requirements, ordering, filtering, the score/out_of/scoring_version nuance, and the follow-up tool are all covered, and an output schema exists so return shape needn't be spelled out. Minor gap: no mention that results are capped at limit with no paging cursor, which matters for accounts with many tests.

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 the schema already explains limit (1..50, default 20) and domain (organization match, subdomain counts as its organization). The description's parenthetical about filtering to an organization only paraphrases the domain parameter, adding no new syntax or edge-case meaning, 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?

"List email tests" is given as a concrete verb+resource, scoped to the account's own tests, newest first. It also distinguishes itself from the sibling get_email_test by name, so an agent can route between the two without opening a schema.

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?

The opening states the triggering user intent (asks about prior email tests or a sender's earlier scores), and the closing sentence names the downstream alternative ("call get_email_test with a test_id for the full result"). It even prescribes output handling (print report_url as a clickable link), which is unusually explicit.

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.