Skip to main content
Glama

MyDataHub

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/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that licensee scope suppresses immediately for your organisation while emailmovers propagates database-wide within one working day and notifies other licensees, that the call is free, that suppressions:write is required, and that repeats return the same suppression. The lawful-basis and PECR corporate-subscriber default add real behavioural context an agent could not infer.

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-loads purpose, then scope effects, cost, permission, idempotency, and finally the legal caveat — a sensible ordering with little waste. It reads as one dense paragraph, and the lawful-basis/PECR sentence is long enough that the operational caveat could be split out for scanability.

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?

An output schema exists, so return values need no explanation, and annotations plus the description cover safety, idempotency, permissions and propagation timing. The only gap is that the optional free-text 'note' parameter and edge cases like supplying neither identifier go unmentioned.

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?

With 67% schema coverage the schema already documents scope, record_id format and email_sha256, and the description restates the mutually exclusive identifier choice already expressed by oneOf. It still adds value by explaining the email-audience consequence of the corporate-subscriber default, though 'channel' and 'note' receive no treatment in the description.

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 ('Records an objection to direct marketing') plus the two accepted identifier forms, so an agent knows exactly what the tool does before opening the schema. The scoped-effect sentence further pins down what kind of write this is.

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 clear triggering context, and the two scope values are explained as alternatives with different propagation. It stops short of explicitly routing away from related tools such as check_suppression for verification, so no exclusion is stated.

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