Skip to main content
Glama

LinkedIn MCP Server (Salesbot)

remove_contacts_from_list

Idempotent

Take contacts OUT of a named lead list after reviewing them (e.g. with get_contact_profile / get_lead_context you decide a lead does not belong). Because every contact must live in exactly one list, this MOVES them back to the default 'CRM Imports' bucket rather than deleting anything — the contact, its CRM history and any campaign membership are preserved, so the action is fully reversible with add_contacts_to_list. This does NOT delete the contact and does NOT remove it from campaigns (use exclude_contacts_from_campaign for that). To permanently drop a lead from all future outreach, blacklist it instead. Returns how many were removed; contacts already in 'CRM Imports' are reported as not_removed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_idNoOptional. If given, only contacts CURRENTLY in this list are removed — a guard so contacts sitting in other lists are left untouched. Omit to remove the given contacts from whichever list they are in.
contact_idsYesUUIDs of contacts to remove from their current list (max 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

With annotations already giving idempotentHint=true and destructiveHint=false, the description adds substantial context: it MOVES contacts to 'CRM Imports' rather than deleting, preserves CRM history and campaign membership, is reversible with add_contacts_to_list, and reports already-in-default-list contacts as not_removed. This goes well beyond the annotations.

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?

Every sentence carries unique information: core purpose, move semantics, non-deletion/non-campaign exclusions, blacklist alternative, and return behavior. It is detailed yet tightly structured, with the primary action front-loaded.

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?

Despite lacking an output schema, the description covers return values, edge cases (contacts already in 'CRM Imports'), side effects, reversibility, and sibling tool routing. An agent has all necessary context to call it correctly.

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 description coverage is 100%, and the schema already fully explains list_id's guard behavior and contact_ids max of 200. The tool description itself adds no parameter-specific meaning beyond that, so the baseline 3 applies.

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+resource ('Take contacts OUT of a named lead list') and clearly distinguishes itself from siblings like add_contacts_to_list, exclude_contacts_from_campaign, and blacklisting. The move-vs-delete semantics are explicit, so an agent can tell this apart without opening the schema.

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?

Gives explicit when-to-use context ('after reviewing them'), when-not-to-use ('does NOT remove it from campaigns', 'permanently drop... blacklist it instead'), and names the exact alternative tools (exclude_contacts_from_campaign, add_contacts_to_list, blacklist). Nothing is left to inference.

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.