Skip to main content
Glama

List leads

lead_list
Read-onlyIdempotent

Prospects in a campaign (or across your whole account), with their current pipeline status. The list view: many leads, a few fields each. For one person's full story use lead_get, for where they are in the sequence lead_flow_state, and for a spreadsheet lead_export. Filter by status to answer questions like "who replied this week" (REPLIED) or "who accepted but never answered" (CONNECTED).

Input Schema

NameRequiredDescriptionDefault
pageNo1-indexed page number.
tagsNoTag ids — leads must carry at least one.
rangeNoDate window as { from, to } — epoch milliseconds or ISO 8601. Omit for the backend default.
statusNoFilter by pipeline status.
keywordNoSearch name, email or company.
pageSizeNoRows per page.
campaignIdNoOmit to search every campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuine behavior context by characterizing the return payload as a shallow, high-volume list view, which tells the agent not to expect rich per-lead data. It doesn't mention pagination defaults or result ordering, which is the remaining gap.

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?

Four tight sentences: scope first, payload shape second, sibling routing third, filter semantics last. No filler, no repetition of schema or annotation content.

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?

With no output schema, the description carries the burden of describing results and does so at the right altitude ('many leads, a few fields each'). All 7 params are documented in-schema and the key filter is elaborated. Missing only ordering/default-window behavior, a minor gap for a list tool with zero required params.

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 baseline is 3. The description earns above baseline by explaining the `status` filter operationally - translating enum values into the human questions they answer - which is meaning the schema's one-line 'Filter by pipeline status' does not provide.

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 resource (prospects/leads) with scope variants (a campaign, or the whole account) and the payload shape ('many leads, a few fields each'). It then explicitly separates itself from three siblings by name, so an agent can pick it without opening schemas.

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-not-to-use routing: use `lead_get` for one person's full record, `lead_flow_state` for sequence position, `lead_export` for a spreadsheet. It also gives concrete when-to-use examples for the `status` filter ('who replied this week' → REPLIED, 'accepted but never answered' → CONNECTED).

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.

Resources