Skip to main content
Glama

exclude_contact_from_campaigns_tool

Destructive

Stop a CRM contact's sequence inside one or more campaigns (contactId + campaignIds), cancelling every step still pending for them. Use when you know the contact (e.g. from the CRM) but not their targetContactId in each campaign's lead list.

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": {
      "contactId": "<contactId>",
      "campaignIds": "<campaignIds>"
    },
    "name": "exclude_contact_from_campaigns_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
contactIdYesThe CRM contact id to exclude (24-character Mongo id) — not a campaign targetContactId.
campaignIdsYesThe campaigns to stop the contact's sequence in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is structured. The description adds real value beyond that by specifying what is destroyed: only steps still pending are cancelled, implying sent steps are untouched. It stops short of stating reversibility or whether the contact can be re-added.

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?

Two sentences, zero waste, with the action and its scope front-loaded and the usage condition second. Nothing needs pruning.

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 destructive, non-read-only tool with no output schema, the description covers the action, scope, effect and selection condition. It leaves out only secondary behavioral details like reversibility and re-add semantics, which is a minor gap rather than a blocking one.

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 100%, so both parameters are already documented, including the contactId vs targetContactId distinction. The description restates that distinction rather than adding new meaning beyond the schema, so it sits at the baseline.

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?

Names a specific verb and resource ('Stop a CRM contact's sequence inside one or more campaigns') plus the exact key pairing (contactId + campaignIds) and the effect ('cancelling every step still pending'). An agent can distinguish this from status-change or add-to-campaign siblings 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?

Gives an explicit selection condition: use when you know the CRM contact but not their per-campaign targetContactId. That routes the agent away from an id-based campaign tool. No when-not guidance or prerequisites (e.g. permissions) are 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.