Skip to main content
Glama

leads_bulk_remove_from_segment

Bulk remove leads from a segment. Body {segment_sqid, lead_sqids: [...]}. Leads themselves are not deleted.

Method: POST /api/v1/workspaces/{workspace_sqid}/leads/bulk-remove-from-segment/

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "leads_bulk_remove_from_segment"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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, and it does disclose the key behavioral fact that leads are not deleted (only the segment association is). It omits other important traits: what happens to lead IDs not currently in the segment, whether the operation is idempotent, any cap on list size, and required permissions.

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?

Three short lines, front-loaded with the purpose, then the payload, then the most important side-effect caveat. The raw method/path line is low-value for an agent but does not obscure the essentials.

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 bulk mutation with no annotations and no output schema, the definition covers purpose, payload, and the non-destructive caveat, which is the minimum an agent needs. It leaves the return value, error conditions, and the schema/body mismatch unexplained, so it is adequate rather than complete.

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?

The input schema is empty with additionalProperties=false, so the description is the only source of the body shape, and it supplies both field names: segment_sqid and lead_sqids as an array. This adds real meaning beyond the schema, though it does not specify types or limits, and it conflicts with a schema that declares no properties at all.

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?

The first sentence states a specific verb and resource: bulk removal of leads from a segment. The word 'bulk' plus 'from a segment' distinguishes it from the singular sibling lead_remove_from_segment and from leads_bulk_add_to_segment, so an agent can tell what it does 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 Guidelines3/5

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

Usage is only implied: an agent can infer this is for removing many leads from one segment at once, and the note that leads are not deleted signals the non-destructive intent. There is no explicit when-to-use, when-not, or named alternative such as the singular lead_remove_from_segment.

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.