Skip to main content
Glama

leads_bulk_add_to_segment_bulk

Bulk move existing workspace leads into a segment. Body {segment_sqid, lead_sqids: [...]}. For importing new leads from discovery, use leads_bulk_add_to_segment (the discovery one) instead.

Method: POST /api/v1/workspaces/{workspace_sqid}/leads/bulk-add-to-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_add_to_segment_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the behavioral burden. It discloses the mutation type, POST method, endpoint, and body shape, but omits permissions, side effects for leads already in the segment, idempotency, and error or response behavior.

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?

The description is short and front-loaded: purpose first, body shape second, alternative third, endpoint last. Each sentence contributes useful selection or invocation detail with no filler.

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 bulk mutation tool with no annotations and no output schema, the definition covers the essential purpose, alternative, body fields, and endpoint. It still leaves behavioral gaps around permissions, side effects, and return handling, and the body fields are absent from the formal schema.

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 has zero parameters, so the description is the only source of invocation detail. It documents the expected body as `{segment_sqid, lead_sqids: [...]}`, which materially helps invocation, but this body conflicts with the empty `additionalProperties: false` schema, creating ambiguity.

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: bulk move existing workspace leads into a segment. It explicitly distinguishes this from the discovery-oriented sibling `leads_bulk_add_to_segment`, so an agent can select it by purpose without opening another 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?

Clearly says this is for existing workspace leads and directs new-lead imports from discovery to `leads_bulk_add_to_segment`. That is explicit when-to-use and when-to-use-an-alternative guidance.

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.