Skip to main content
Glama

Proxy Mail QA

Check a series of emails

check_sequence
Read-onlyIdempotent

Checks a welcome series or drip campaign: each step is an email to expect, in order, after since (the sign-up, for example). A step can name a phrase from its subject, its category (auth, transactional or marketing), whether it has a code or a link, after (when it should come, such as 1d, from since) and within (how far off still passes; default a tenth of after, at least 10 minutes). Each step answers pass, early, late, missing or waiting (not due yet), with when it came; done is false while any step is waiting, so call again later. Subjects are matched here and never returned.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>",
      "steps": "<steps>"
    },
    "name": "check_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoWhen the series started, such as the sign-up.
stepsYes
addressYesA test address in this project. A variant works too (capitals, or a +tag such as name+o'brien@…): it acts on the plain address, and a wait on a +tag variant only finds mail sent to it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / address / maxLength
      Added value: +254
    • addedInput schema / properties / since / maxLength
      Added value: +35
    • addedInput schema / properties / steps / items / properties / after / maxLength
      Added value: +8
    • addedInput schema / properties / steps / items / properties / within / maxLength
      Added value: +8
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world behavior, and the description adds substantial context beyond them: subjects are matched but never returned, step timing defaults are explained, waiting steps keep done false, and address variants are described in the schema. This is rich behavioral disclosure for a read-only check tool.

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 dense and front-loaded, beginning with what is checked and then explaining step semantics and result states. It is slightly run-on and packs multiple rules into long clauses, but nearly every sentence adds actionable information.

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?

With no output schema, the description carries the burden of explaining return semantics and does so by listing all five step statuses and the done flag. Given the tool's complexity, it provides enough information for an agent to interpret results and decide whether to call again.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description meaningfully supplements it by explaining that since is the sign-up point, each step names a subject phrase or category, and after/within express expected timing. The within default rule (a tenth of after, at least 10 minutes) is especially useful, though some parameter detail is still carried by the schema.

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?

States a specific verb and resource: it checks a welcome series or drip campaign where each step is an expected email, in order, after a start time. The scope is clear enough to distinguish it from single-email checks, but it does not explicitly name a sibling alternative such as check_email or check_delivery.

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

Usage Guidelines4/5

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

Gives clear operating context: results are pass, early, late, missing or waiting, and 'done is false while any step is waiting, so call again later' tells the agent to poll. It lacks explicit when-not-to-use guidance or named alternatives, but the polling condition is a concrete usage rule.

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.

Resources