Skip to main content
Glama

Proxy Mail QA

Record what an account agreed to

record_consent
DestructiveIdempotent

Records what the address agreed to at sign-up, after you filled in the form: marketing (opted_in or declined), prechecked (whether the consent box was already ticked when the page loaded) and double_opt_in (confirmed or pending, when the app asks to confirm the subscription by email; it confirms itself when the verify link is used). check_email then judges marketing email by the rules where the persona lives (create_address with country): marketing_consent, prechecked_consent, double_opt_in, unsubscribe_deadline, postal_address, sender_identity, minor_marketing, misleading_subject and ad_label, for the EU and EEA, UK, US, Canada, Australia, New Zealand, Switzerland, Japan, South Korea, Singapore and Hong Kong, each naming its official source. A test aid, not legal advice. Give only what changed; answers with the consent as recorded.

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": "record_consent"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoWhen. Default: now.
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.
marketingNoWhat it chose about marketing email.
precheckedNoThe marketing box was ticked already when the form loaded.
double_opt_inNoWhether it has confirmed its subscription by email.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / address / maxLength
      Added value: +254
    • addedInput schema / properties / at / maxLength
      Added value: +35
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, destructive, idempotent write, so the safety profile is covered. The description adds useful behavior: partial updates ('Give only what changed'), the return value ('answers with the consent as recorded'), and a test-aid disclaimer. However, it never explains what 'destructive' means here, such as whether omitted fields are preserved or cleared, which is a meaningful gap for a consent-mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single long, run-on paragraph. A large middle section enumerates check_email outputs and jurisdictions, which is tangential to invoking record_consent and bloats the definition. The useful information is front-loaded but buried under unrelated detail.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation with annotations covering safety and idempotency, the description covers purpose, partial-update behavior, and return semantics. It is still missing how destructive overwrites work and whether existing consent fields are preserved when omitted. The lengthy check_email discussion adds context about the workflow but not about this tool's own behavior.

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 coverage is 100%, so the schema already documents every parameter. The description restates the enum meanings for marketing, prechecked, and double_opt_in, and adds that double_opt_in confirms itself when the verify link is used, which is useful beyond the schema. The 'at' parameter is not discussed, so the added value is modest.

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?

The description opens with a specific verb and resource: 'Records what the address agreed to at sign-up,' then names the three consent fields. It also distinguishes this tool from check_email, which 'judges marketing email by the rules,' so an agent can tell the two apart without opening the schema.

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?

It gives clear timing guidance ('after you filled in the form') and points to check_email as the separate judgment step. It also says 'Give only what changed,' which guides partial updates. It stops short of explicit when-not-to-use guidance, but the context is clear.

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