Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Mark a required email as sent (or missed)

mark_notice_sent
Idempotent

Records that the merchant sent a due notice (ntd_…), optionally with the provider's message id: a reported send, counted only until window end + 6 h unless a copy reaches the notice's bcc address. Idempotent. Only call after the email was sent: a send before the window opens is refused. For an overdue notice that was not and will not be sent, pass missed: true (with a reason) instead: it is recorded as missed, no send is attested.

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": {
      "notice": "<notice>"
    },
    "name": "mark_notice_sent"
  }
}

Input Schema

NameRequiredDescriptionDefault
missedNotrue: record an overdue notice as NOT sent (markNoticeMissed) instead of sent.
noticeYesDue notice id (ntd_…).
reasonNoWith missed: why it was not sent.
sent_atNoWhen it was sent (unix seconds); default now.
verboseNo
providerNoProvider of that id.
provider_message_idNoMessage id your provider returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / provider
      Added value: +{
      +  "description": "Provider of that id.",
      +  "enum": [
      +    "resend",
      +    "postmark",
      +    "sendgrid",
      +    "ses",
      +    "mailgun",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / provider_message_id / description
      Previous value: -"The email provider's message id (Resend / Postmark / SES)."New value: +"Message id your provider returned."
  2. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses real domain behavior: a reported send is 'counted only until window end + 6 h unless a copy reaches the notice's bcc address', early sends are refused, and missed records 'no send is attested'. The one redundancy is restating 'Idempotent', which idempotentHint already declares, but the rest is substantive context the annotations do not carry.

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 definition is dense but front-loaded: the core action comes first, followed by the counting/attestation caveat and then the missed alternative. The opening sentence is long and packs several clauses together, which costs some readability, but no sentence is filler.

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 seven-parameter mutation tool with no output schema, the description covers the essential semantics: what is recorded, when it is refused, how long it counts, and the missed alternative. It does not describe what the call returns, which matters somewhat for a write operation with readOnlyHint=false, but the behavioral picture is otherwise complete.

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 86%, so the schema does most of the work, and the description reinforces the two semantically loaded parameters: provider_message_id as the provider's message id and missed as the not-sent path with a reason. It says nothing about sent_at or verbose, but those are already documented in 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?

The description opens with a specific verb and resource: 'Records that the merchant sent a due notice (ntd_…)', and it distinguishes the reported-send case from the missed case. It does not, however, contrast itself with nearby siblings such as list_due_notices or get_notice_schedule, so an agent must infer its place in the workflow from the name alone.

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 a hard precondition ('Only call after the email was sent: a send before the window opens is refused') and an explicit alternative path ('For an overdue notice that was not and will not be sent, pass missed: true (with a reason) instead'). What is missing is routing to a sibling tool for finding the notice id or checking window status before calling.

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.