Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

Bulk Attach Contacts to Lists

bulk-attach-contacts-to-lists

Attach multiple contacts to multiple lists at once, creating every contact-list pairing; all IDs must belong to your team.

Instructions

Attach multiple contacts to multiple lists at once. Every contact is attached to every list (a cartesian product of contact_ids × list_ids). All IDs must belong to your team.

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-attach-contacts-to-lists"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two non-obvious behaviors: the cartesian expansion across both ID sets and the scoping constraint that all IDs must belong to the caller's team. It is silent on what happens to contacts already attached (idempotent skip vs. error), partial-failure semantics for a 1000×50 operation, and any rate or size limits beyond the schema's maxItems.

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 short sentences, front-loaded with the operation and its scope, then the combination semantics, then the ownership precondition. No filler, no restatement of the tool name, and the parenthetical notation is an efficient encoding of the multiplication behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 and the combination rule but leaves the agent guessing about return shape, duplicate handling, and partial-failure behavior on a potentially very large batch. These are the gaps that would most affect a correct invocation.

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 both parameters and their max/min bounds are already documented, which sets the baseline at 3. The description adds genuine meaning beyond the schema by explaining how the two arrays combine (cartesian product of contact_ids × list_ids), which an agent could not infer from two independent array definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with explicit cardinality: 'Attach multiple contacts to multiple lists at once.' The cartesian-product clause makes the effect unambiguous, which distinguishes it in substance from a single-contact attach. It stops short of naming the single-attach or bulk-detach siblings as alternatives, so differentiation is behavioral rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The bulk framing ('multiple contacts to multiple lists at once') implies when this tool is preferable to a single-item attach, and the cartesian note warns off the pairwise assumption. However, there is no explicit when-to-use/when-not statement, no pointer to attach-contact-to-list for single pairs, and no guidance on what to do if only some contacts should go to some lists.

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