Skip to main content
Glama

remove_list_rows_tool

Destructive

Removes contacts or companies from a prospect list and deletes their values in the list's custom and smart columns (adding them back does not restore those values); the contacts and companies themselves stay saved. Campaign sequences already running for them are not stopped, but later messages that use this list's columns are written without those values. If the list is one of an active dynamic campaign's exclusion lists (for example 'Unsubscribed Contacts'), the people it no longer excludes can be enrolled and messaged at the campaign's next refresh (within 30 minutes). Destructive — only call after the user has confirmed. Provide the listId plus the ids under contacts or companies as [{ action: 'remove', ids: [...] }].

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": {
      "listId": "<listId>"
    },
    "name": "remove_list_rows_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
listIdYes
contactsNoRemove operations for contacts
companiesNoRemove operations for companys

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (destructiveHint, openWorldHint), disclosing what is irreversible (custom and smart column values are lost and not restored on re-add), what is preserved (the contacts and companies themselves), and what downstream side effects occur (running sequences continue, but later list-column messages send without values). It also warns that removing from an active dynamic campaign's exclusion list can cause enrollment at the next refresh within 30 minutes, which is a non-obvious and high-impact consequence.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action, then layers consequences in descending order of importance, ending with the call-shape instruction. It is a dense single paragraph; the campaign-exclusion sentence is long, but every clause carries distinct behavioral information rather than repetition.

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?

For a destructive mutation tool with no output schema, the description supplies the irreversibility, the surviving entities, the downstream campaign effects, the timing window, and the confirmation requirement — everything an agent needs before invoking it responsibly.

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?

Adds real meaning beyond the 67%-covered schema by spelling out the payload shape — listId plus [{ action: 'remove', ids: [...] }] under contacts or companies — making the nesting and required action literal explicit even though the schema only partially describes it.

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 and resource (removes contacts or companies from a prospect list) and immediately distinguishes it from its inverse sibling by noting that adding them back does not restore deleted column values. An agent can separate this from add_list_rows_tool without opening either schema.

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?

Gives an explicit gating condition — 'Destructive — only call after the user has confirmed' — and specifies the required call shape. It does not name the alternative tool for the opposite operation, so the routing guidance is clear on when to call but not on what to call instead if the user actually wants to add rows.

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.