Skip to main content
Glama

Sergio by Serviche

Exclude a person from a campaign

exclude_campaign_recipients
Idempotent

Takes one person out of a campaign's audience, as Exclude on its roster does: the removal is recorded with the reason so the campaign never drafts them again, and their queued draft is pulled back. Nothing is sent. Undo it with include_campaign_recipients. Pass the same idempotency_key when retrying; a repeat changes nothing.

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": {
      "campaign_id": "<campaign_id>",
      "clientId": "<clientId>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "exclude_campaign_recipients"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
clientIdYes
campaign_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

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?

Annotations cover the safety profile, and the description still adds substantial behavior: the removal is persisted with a reason so the campaign never drafts them again, an already-queued draft is pulled back, and nothing is sent. This is consistent with destructiveHint=false (reversible, no message emitted) and idempotentHint=true ("a repeat changes nothing"), so it enriches rather than merely repeats the annotations.

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

Conciseness5/5

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

Three compact sentences, front-loaded with the core action, then the side effects, then the reversal and retry rules. No filler; every clause conveys a fact an agent would otherwise have to guess.

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 mutation tool with no output schema, the definition covers the important ground: what is recorded, what is retracted, that nothing is sent, how to reverse it, and how to retry safely. It omits edge behavior (what happens if the person is not currently in the audience) and gives no hint of the response, which keeps it just short of complete.

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 only 25%, with just idempotency_key documented in the schema, so the description carries the burden for campaign_id, clientId, and reason. It partially compensates — the reason parameter's effect ("recorded with the reason") and the retry semantics of idempotency_key are explained — but campaign_id and clientId are never characterized, and no format or targeting detail is added.

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?

"Takes one person out of a campaign's audience" is a specific verb plus resource, and the clause tying it to the roster's Exclude action anchors it to a concrete operation. It is immediately distinguishable from enroll/opt_out/skip siblings by the removal-and-record semantics.

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 description names the inverse operation explicitly ("Undo it with include_campaign_recipients") and gives the idempotent-retry rule, which is clear guidance. It stops short of stating when this is preferable to opt_out_campaign_recipients or skip_campaign_recipient, so exclusion-vs-alternative routing is left partly implicit despite those siblings existing.

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