Skip to main content
Glama

remove_lists_from_campaign

DestructiveIdempotent

Remove one or more lists from a DRAFT campaign's recipients, keeping the others. The current lists are matched to list IDs by exact name; refuses (changing nothing) if a name is missing or ambiguous, if the campaign is not a draft or sends to a segment, or if no list would remain. Set dry_run: true to see the resulting lists first.

Input Schema

NameRequiredDescriptionDefault
dry_runNoShow the resulting list set without changing the campaign
list_idsYesList IDs to add or remove
campaign_idYesDraft campaign ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / campaign_id / description
      Previous value: -"Draft campaign ID,required"New value: +"Draft campaign ID"
    • changedInput schema / properties / list_ids / description
      Previous value: -"List IDs to add or remove,required"New value: +"List IDs to add or remove"
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructive and idempotent annotations, it discloses exact-name matching, atomic refusal with no changes on invalid input, exclusion of non-draft and segment campaigns, and the dry_run preview path. This is strong behavioral detail for a destructive mutation tool.

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?

The description is two compact sentences, front-loads the core action, and then adds only the constraints and preview hint an agent needs. There is no redundant or filler text.

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?

Given the rich annotations, fully described schema, and absence of an output schema, the description covers the important operational constraints and preview behavior completely enough to call the tool correctly.

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 the baseline is 3, but the description adds useful semantics about exact-name matching, ambiguity handling, and refusal behavior. It also explains dry_run meaningfully as a preview of the resulting list set.

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 description states a specific verb and resource: removing one or more lists from a DRAFT campaign's recipients while keeping the others. It clearly distinguishes the operation from add_lists_to_campaign and from broader campaign updates.

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?

It gives clear when-to-use context and several when-not conditions: missing or ambiguous names, non-draft campaigns, segment campaigns, and removal of all remaining lists. It also recommends dry_run for previewing, though it does not explicitly name add_lists_to_campaign as the alternative for adding lists.

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