Skip to main content
Glama

Proxy Mail QA

Mark an address as unsubscribed

mark_unsubscribed
Idempotent

Records that the address unsubscribed from a sender, after you did it in your own browser or in the app (Proxy Mail QA never opens unsubscribe links). From then on, any marketing email from that sender fails after_unsubscribe in check_email and shows in check_unsubscribe, however long after. Name the sender with email_id (the email you unsubscribed from, from count_emails) or service (a name or domain, such as acme.com); with neither, the newest marketing email decides. Pass at for an unsubscribe that happened earlier. Marking twice is harmless.

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>"
    },
    "name": "mark_unsubscribed"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoWhen it unsubscribed. Default: now.
testNoWith run_id: the test or step this call belongs to, shown beside what it saw in the report.
graceNoA grace period, such as 2h or 1d (up to 30d; 0 for none): marketing that comes within it after unsubscribing doesn’t count, for mail already on its way.
run_idNoA run from start_run: what this call sees is added to its report.
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.
serviceNoThe sender, as a service name or a domain such as acme.com.
email_idNoThe email you unsubscribed from (count_emails gives ids).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / address / maxLength
      Added value: +254
    • addedInput schema / properties / at / maxLength
      Added value: +35
    • addedInput schema / properties / email_id / maxLength
      Added value: +36
    • addedInput schema / properties / grace / maxLength
      Added value: +8
    • addedInput schema / properties / run_id / maxLength
      Added value: +36
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false; the description goes further by explaining the durable downstream effect (marketing from that sender fails after_unsubscribe in check_email and appears in check_unsubscribe indefinitely) and confirming 'marking twice is harmless.' It does not state what happens if the address or sender cannot be resolved, which is the main remaining behavioral gap.

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?

Purpose and precondition are front-loaded, then downstream effects, then parameter selection — a sensible order with little waste. The prose is dense, with long semicolon-chained sentences, which costs some readability even though nearly every clause carries information.

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 7-parameter mutation tool with no output schema, the description covers the action, the out-of-band precondition, persistence of the effect, idempotency, and sender resolution. It omits any mention of the `grace` window and of error behavior, but annotations cover the safety profile and the schema covers the parameters.

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 100% and each parameter is already documented, so the baseline is 3. The description still adds value beyond the schema by giving precedence for the sender keys ('email_id ... or service ...; with neither, the newest marketing email decides') and by clarifying that `at` is for a past unsubscribe. The `grace` parameter is left entirely to the schema.

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 and resource: 'Records that the address unsubscribed from a sender,' and immediately scopes it with the precondition that the unsubscribe already happened out of band. It names the related siblings (check_email, check_unsubscribe, count_emails) so an agent can place it in the workflow rather than guessing.

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?

Gives an explicit precondition ('after you did it in your own browser or in the app') plus a negative constraint ('Proxy Mail QA never opens unsubscribe links'), which prevents an agent from assuming this tool performs the unsubscribe. It also spells out sender-selection options (email_id, service, or neither) and when to pass `at`.

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