Skip to main content
Glama

Samuelz® Communications

Kontaktsperre erfassen

add_suppression
Idempotent

Add or update a specifically requested contact block, not marketing consent, a contact import or deletion of another block. matchType defines how value identifies the contact; channel defines the blocked channel, reason/source/evidence document the actual basis and optional expiresAt is a future expiry. Returns suppressed with matchType/value/channel; no send. Record an explicitly requested tenant-wide contact suppression with match type, channel, reason, source and evidence. Postal and all entries block every native postal price/send path, including single letters and campaign adapters. postal_address_hash is SHA-256 of normalized street, line2, postal code, city, country; inspect prepared recipient before computing. Does not remove existing suppressions, send or grant permission.

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": {
      "matchType": "<matchType>",
      "value": "<value>",
      "channel": "<channel>",
      "reason": "<reason>",
      "source": "<source>",
      "evidence": "<evidence>"
    },
    "name": "add_suppression"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesActual identifier of the selected matchType. postal_address_hash is the existing SHA256 of the normalised street, line2, postal code, city and country.
reasonYesActual basis of the block: objection, compliance_hold, bounce or manual. Never invent an objection.
sourceYesActual source of the suppression instruction or evidence.
channelYesBlocked contact channel: all, postal, email or phone. Postal/all also block native price/send paths.
evidenceYesSpecific supporting evidence for this requested suppression, not a new permission to contact.
expiresAtNoOptional actual future expiry timestamp of the suppression; omission keeps the existing non-expiring form.
matchTypeYesHow value identifies the suppressed contact: organisation name, domain, email, phone, postal_address_hash or external_ref.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / channel / description
      Added value: +"Blocked contact channel: all, postal, email or phone. Postal/all also block native price/send paths."
    • addedInput schema / properties / evidence / description
      Added value: +"Specific supporting evidence for this requested suppression, not a new permission to contact."
    • addedInput schema / properties / expiresAt / description
      Added value: +"Optional actual future expiry timestamp of the suppression; omission keeps the existing non-expiring form."
    • addedInput schema / properties / matchType / description
      Added value: +"How value identifies the suppressed contact: organisation name, domain, email, phone, postal_address_hash or external_ref."
    • addedInput schema / properties / reason / description
      Added value: +"Actual basis of the block: objection, compliance_hold, bounce or manual. Never invent an objection."
    • addedInput schema / properties / source / description
      Added value: +"Actual source of the suppression instruction or evidence."
    • addedInput schema / properties / value / description
      Added value: +"Actual identifier of the selected matchType. postal_address_hash is the existing SHA256 of the normalised street, line2, postal code, city and country."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare the write/read-only, idempotency and destructiveness profile, and the description adds substantial context on top: it returns `suppressed` with matchType/value/channel, performs no send, does not remove existing suppressions, does not grant permission, and postal/all blocks intercept every native postal price/send path including single letters and campaign adapters. That last clause in particular is a non-obvious side effect an agent could not infer from annotations.

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 core action and the exclusion list, then moves to return value, side effects and hash guidance — a sensible order. It loses a point for a run-on semicolon-chained style and a partially redundant restatement ("Record an explicitly requested tenant-wide contact suppression with match type, channel, reason, source and evidence") that repeats sentence one.

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 7-parameter mutation with no output schema, the description covers the return payload, the no-send guarantee, idempotent add-or-update behavior, expiry semantics and the special-case hashing rule. Nothing material is left for the agent to guess.

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 100%, so baseline is 3; the description earns an extra point by explaining the relationship between fields (matchType determines how `value` identifies the contact, channel is the blocked channel, reason/source/evidence capture the actual basis, expiresAt must be a future expiry and omission preserves the non-expiring form). It also clarifies the postal_address_hash computation order against the prepared recipient, which is operational meaning beyond the schema text.

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 names a specific verb+resource ("add or update a specifically requested contact block") and immediately fences off confusable operations: marketing consent, contact import, and deletion of another block. An agent can distinguish this from the import/contact-management siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use is given (an explicitly requested, tenant-wide contact suppression) along with explicit when-not cases (marketing consent, contact import, removing a block). It also states a prerequisite workflow step — inspect the prepared recipient before computing the hash — which is real guidance, not restatement.

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