Skip to main content
Glama

Bulk update contacts

bulk_contacts
DestructiveIdempotent

Tag, add to a list, unsubscribe or delete many contacts at once. Give exactly one of contact_ids, emails or all_matching. Returns the operation {id, status, total, ...}; it runs in the background. Errors: invalid_body, too_many_targets, invalid_tags, empty_selection, not_found (list). Next: unsubscribe_contacts for plain unsubscribes; list_suppressions to review who is blocked.

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": {
      "action": "<action>"
    },
    "name": "bulk_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoFor "tag": the tags to add.
actionYes"tag", "add_to_list", "unsubscribe" or "delete".
emailsNoEmail addresses of contacts.
list_idNoFor "add_to_list": the list id (lst_...).
contact_idsNoContact ids (ctc_...). Give exactly one of contact_ids, emails or all_matching.
all_matchingNoAct on every contact matching this filter {q, status, tag, list_id}; {} means all contacts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructive=true, idempotent=true and non-read-only, so the safety profile is covered. The description still adds real value by disclosing that the call runs in the background, returns an operation object {id, status, total, ...}, and enumerates the error codes (too_many_targets, empty_selection, not_found). It stops short of saying whether delete is irreversible or how to poll the returned operation id, which keeps it below a 5.

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 ordered as purpose, call contract, return/errors, then routing. The telegraphic 'Next:' style and parenthetical error list pack a lot of signal without filler.

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, async, six-parameter batch mutation with no output schema, the description covers purpose, selection constraint, return shape, background execution and error surface. The one notable gap is that it mentions background execution without naming how or where to check the operation status, and it does not warn about the irreversibility of the delete action.

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 a genuine semantic constraint the schema does not enforce structurally: exactly one of contact_ids, emails or all_matching must be supplied. The 'not_found (list)' error note also clarifies that list_id must reference a real list. It does not explain the shape of the all_matching filter beyond what the schema states.

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 the concrete operations (tag, add_to_list, unsubscribe, delete) plus the batch scope ('many contacts at once'), which is far more specific than the title alone. It also implicitly separates this from single-contact siblings like update_contact or add_contact by emphasizing bulk scope.

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?

The closing 'Next:' clause routes the agent explicitly: use unsubscribe_contacts for plain unsubscribes and list_suppressions to review blocked contacts. Combined with the 'exactly one of contact_ids, emails or all_matching' selection rule, an agent can decide whether this tool is the right one before opening the schema.

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.