Skip to main content
Glama

sync_brevo_unsubscribes

DestructiveIdempotent

Take over the unsubscribes of this tenant's Brevo account: every Brevo contact with emailBlacklisted and every transactional block (unsubscribe, spam complaint, admin block — NOT hard bounces) is put on the tenant's blocklist (list_blacklist, channel email_unsubscribe), so send_email, campaigns and group mailings refuse these addresses. Leads with such an address also get a revoked consent for purpose (default newsletter). Default dry_run=true shows only the counts. After the first real run the tenant is synced again every day (03:10 UTC). Nothing is ever removed or un-revoked by the sync.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sync_brevo_unsubscribes"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoDefault true — count only, write nothing.
purposeNoConsent type revoked on matching leads (default newsletter).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true), the definition spells out exactly what state changes: blocklist entries on a specific channel, revoked consent for a named purpose, refusal behavior in send_email and campaigns, and a recurring schedule. It also clarifies the irreversible scope ('nothing is ever removed or un-revoked'), which reconciles the destructive hint with the fact that entries only accumulate.

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 front-loaded with the core action and then layers effects, side effects, and scheduling in a single dense but orderly block. There is no filler, though the long parenthetical clause about block types packs a lot into one sentence and slightly reduces scannability.

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 write tool with no output schema, the definition covers scope, side effects on leads' consent, downstream enforcement, default safety behavior, recurrence, and irreversibility. An agent has everything needed to decide whether and how to invoke it, including the dry-run-first convention.

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%, so both parameters are already documented, and the description largely restates them (dry_run counts only, purpose is the revoked consent type defaulting to newsletter). It adds the useful detail that a dry run yields only counts, but no extra guidance on valid purpose values or what a non-default purpose affects.

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 definition opens with a specific verb and resource: taking over the tenant's Brevo unsubscribes and writing them to the tenant blocklist (list_blacklist, channel email_unsubscribe). It also names the downstream tools affected (send_email, campaigns, group mailings) and explicitly excludes hard bounces, so an agent can distinguish it from siblings like list_blacklist or add_brevo_contacts_to_list without opening a 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?

The definition clearly frames this as a one-time takeover that then recurs daily at 03:10 UTC, and explains that dry_run defaults to true so the first call is a count-only preview. It does not explicitly say 'use X instead when Y' against named siblings, but the onboarding context and the dry-run-first path give strong implied sequencing.

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.