Skip to main content
Glama

Report an objection

report_objection
Idempotent

Records an objection to direct marketing for one record, by record id or email hash. Scope licensee suppresses it for your organisation at once; scope emailmovers suppresses it database-wide within one working day and tells every licensee holding it. Free; it needs suppressions:write, and repeating the same objection returns the same suppression. Call it whenever a contact objects, in any channel. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.

Input Schema

NameRequiredDescriptionDefault
noteNo
scopeYeslicensee suppresses the record for your organisation at once; emailmovers suppresses it database-wide within one working day.
channelYes
record_idNoFormat: a contact id: contact_ followed by a 26 character ULID in upper case Crockford base32, such as contact_01JA9X2V7XN3M9R6T1Y5W8ZAK8.
received_atYesRFC 3339 date and time, with Z or an offset such as +01:00.
email_sha256NoSHA-256 of the trimmed, lower cased address, when the record id is not known.

Output Schema

NameRequiredDescriptionDefault
scopeYes
statusYessuppressed now, or pending until the database-wide overlay applies.
record_idYes
effective_byYes
suppressed_atYes
suppression_idYesThe list the record now sits on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (which only declare idempotency and non-destructiveness), the description discloses cost (free), required permission (suppressions:write), propagation behaviour (licensees notified), and the legal framing (UK GDPR 6(1)(f), PECR corporate-subscriber default). The one weak spot is the reference to "unless the toggle is changed" for sole traders and ordinary partnerships, which implies a control that no parameter in the schema exposes.

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

Conciseness3/5

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

Purpose is front-loaded, which is good, but the single dense paragraph mixes operational facts, cost, permissions, and legal basis, and it duplicates the scope semantics that the schema already states. The PECR/sole-trader sentence is long and introduces a toggle concept the tool does not accept, which is cost without payoff.

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 write tool with an output schema, the description covers the important behavioural facts: permission required, cost, idempotency, propagation scope and timing. The only incompleteness is the dangling "toggle" reference, which an agent cannot act on given the six-parameter schema.

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 67%, and the description largely restates what the schema already documents: the scope enum meanings appear almost verbatim in the scope property's own description, and the record_id/email_sha256 alternative is spelled out in the object-level description. It adds the propagation timing nuance but not much else, so the 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?

The opening sentence gives a specific verb and resource (records an objection to direct marketing) plus the two accepted identifiers (record id or email hash), which cleanly separates it from the read-only sibling check_suppression. An agent can identify both what the tool does and the unit it operates on 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?

"Call it whenever a contact objects, in any channel" gives a clear trigger condition, and the scope clause explains which of the two modes to pick and their differing latency (immediate vs one working day). It stops short of stating when not to use it or pointing at check_suppression as the pre-check alternative, so it is strong but not fully routing.

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