Skip to main content
Glama

Mailrith Email Marketing

Change Subscriber sending eligibility

subscribers_update_status
DestructiveIdempotent

Changes the delivery status for one Subscriber without changing profile, targeting, or Sequence enrollment fields. Making an Unsubscribed, Complained, Bounced, or Blocked Subscriber Active again needs reactivate: true. The consent_evidence object is optional; when it is sent, its collected_at value must include the correct UTC offset and must not be later than Mailrith's server time. Effect: external-email. Retry after reading the current resource state. Permissions: live_actions:write, subscribers:write. API reference: https://mailrith.com/developers/api-reference.

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": {
      "subscriber_id": "<subscriber_id>",
      "body": "<body>"
    },
    "name": "subscribers_update_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe exact JSON request body defined by the Mailrith public API contract.
subscriber_idYesThe Subscriber identifier.

Output Schema

NameRequiredDescriptionDefault
errorNo
responseNo
request_idYesThe stable correlation ID for this MCP tool invocation.
operation_idYesThe stable Mailrith public API operation ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $defs / ConsentEvidence / description
      Previous value: -"Compact evidence required when the public API makes a Subscriber Active. Keep raw consent text, IP addresses, and user-agent data in your evidence system; Mailrith stores only this version, reference, URL, and optional SHA-256 digest."New value: +"Optional compact consent evidence. Send it when you have it; Mailrith stores it when the request makes the Subscriber Active. Keep raw consent text, IP addresses, and user-agent data in your evidence system; Mailrith stores only this version, reference, URL, and optional SHA-256 digest."
    • addedInput schema / $defs / SubscriberStatusRequest / properties / reactivate
      Added value: +{
      +  "description": "Send true to make an Unsubscribed, Complained, Bounced, or Blocked Subscriber Active again, and only when they knowingly asked to receive your emails again. Without it, that change returns a 409 conflict. A Subscriber who objected to or restricted processing through a privacy request can only be made Active after that request's privacy block is lifted in the app.",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / $defs / ConsentEvidence / properties / collected_at / description
      Added value: +"When the consent evidence was collected, as ISO 8601 with an explicit UTC offset. This must not be later than Mailrith's server time. Do not treat a workspace-local clock as UTC; use the evidence record's confirmed timestamp."
    • removedInput schema / $defs / ConsentEvidence / properties / collected_at / format
      Removed value: -"date-time"
    • addedInput schema / $defs / ConsentEvidence / properties / collected_at / pattern
      Added value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$"
  3. Changed3 schema fields changed
    • removedInput schema / $defs / ConsentEvidence / properties / collected_at / description
      Removed value: -"When the consent evidence was collected, as ISO 8601 with an explicit UTC offset. This must not be later than Mailrith's server time. Do not treat a workspace-local clock as UTC; use the evidence record's confirmed timestamp."
    • addedInput schema / $defs / ConsentEvidence / properties / collected_at / format
      Added value: +"date-time"
    • removedInput schema / $defs / ConsentEvidence / properties / collected_at / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$"
  4. Changed3 schema fields changed
    • addedInput schema / $defs / ConsentEvidence / properties / collected_at / description
      Added value: +"When the consent evidence was collected, as ISO 8601 with an explicit UTC offset. This must not be later than Mailrith's server time. Do not treat a workspace-local clock as UTC; use the evidence record's confirmed timestamp."
    • removedInput schema / $defs / ConsentEvidence / properties / collected_at / format
      Removed value: -"date-time"
    • addedInput schema / $defs / ConsentEvidence / properties / collected_at / pattern
      Added value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$"
  5. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, so the safety profile is covered; the description adds value beyond that with required permissions (live_actions:write, subscribers:write), the external-email effect, the consent-evidence timestamp validation against server time, and the retry-after-read instruction. It does not spell out the concrete consequence of the destructive change (e.g., halting sends to the subscriber), which is the main remaining 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?

Front-loaded with the scope constraint and the reactivation rule, with compact structured tags for effect, permissions, and reference. A few clauses (the consent_evidence timestamp rule) duplicate schema text and could be dropped without loss.

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?

For a two-parameter mutation with a fully covered schema and an output schema, the description supplies everything the annotations and schema do not: sibling scoping, the reactivate prerequisite, permission requirements, and retry semantics. Nothing an agent needs to call it correctly is missing.

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% and the schema already documents reactivate, its 409 conflict behavior, the privacy-block exception, and the consent_evidence collected_at offset rule in more detail than the description. The description restates rather than extends that meaning, so 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?

States a specific verb and resource ('Changes the delivery status for one Subscriber') and immediately scopes it against the adjacent tool by saying it does not touch profile, targeting, or Sequence enrollment fields, which is exactly what subscribers_update would change. An agent can route between the two without opening either 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?

Gives a concrete conditional rule — reactivating an Unsubscribed, Complained, Bounced, or Blocked subscriber requires reactivate: true — plus operational guidance to retry after reading the current resource state. It stops short of explicitly naming subscribers_update as the alternative for profile changes, leaving that inference to the agent.

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.