Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Bulk Detach Contacts from Lists

bulk-detach-contacts-from-lists

Detach multiple contacts from multiple lists at once by applying a cartesian product of contact and list IDs. Confirm with the user before removing many memberships.

Instructions

Detach multiple contacts from multiple lists at once (a cartesian product of contact_ids × list_ids). Before using this tool, you MUST double-check with the user, as it removes many memberships at once.

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": {
      "contact_ids": "<contact_ids>",
      "list_ids": "<list_ids>"
    },
    "name": "bulk-detach-contacts-from-lists"
  }
}

Input Schema

NameRequiredDescriptionDefault
list_idsYesList IDs to detach the contacts from (max 50)
contact_idsYesContact IDs to detach (max 1000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden and it does disclose the key traits: this is a destructive membership-removal operation and it requires user confirmation. It omits other relevant behavior such as partial-failure semantics (what happens if some contact/list pairs don't exist) and whether the removal is reversible.

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 filler, with the core operation front-loaded and the safety requirement immediately after. Nothing is redundant.

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 two-parameter bulk mutation with no annotations and no output schema, the description covers the operation, the input-combination semantics, and the confirmation guardrail. Remaining gaps are secondary — error/partial-success behavior and the shape of any response are unstated.

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 individual parameters and their limits (max 50 lists, max 1000 contacts) are already documented in the schema. The description adds genuine meaning beyond the schema by explaining that the two arrays combine as a cartesian product, which tells the agent exactly how the inputs are applied together.

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?

States a specific verb ('Detach') and resource ('contacts from lists') with explicit scope ('multiple... multiple at once'), and the cartesian-product parenthetical makes the multiplicative behavior unambiguous. This clearly distinguishes it from the singular 'detach-contact-from-list' sibling without needing to name it.

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?

Provides a clear precondition: the agent MUST confirm with the user before calling, since it removes many memberships at once. It does not, however, route the agent toward the single-contact 'detach-contact-from-list' alternative when a bulk operation is unnecessary, which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.