Skip to main content
Glama

List leads

list_leads
Read-onlyIdempotent

List the authenticated user's own leads — one row per contact per campaign — with their email address, company, status and position in the sequence. Optionally filtered to one campaign or one status. Requires the leads:read scope, which tokens minted before this tool existed do not carry.

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": "list_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many leads to return (1-50, default 20).
offsetNoHow many leads to skip, for paging through a long list.
statusNoOnly leads with this status.
campaign_idNoOnly leads in this campaign. Get an id from list_campaigns.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile needs no restating. The description adds genuinely new context: the required leads:read scope and the caveat that older tokens do not carry it, plus the result granularity (one row per contact per campaign), which affects how rows should be interpreted.

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?

Three short sentences, front-loaded with what is listed and its granularity, followed by filters and the auth precondition. No redundant or filler wording.

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?

With no output schema, the description compensates by naming the returned fields and row granularity. Combined with the schema's paging and enum documentation and the annotations' safety profile, an agent has everything needed to call this 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 coverage is 100%, with descriptions, defaults, ranges and an enum already documented for all four parameters. The description only restates that campaign and status are optional filters and does not add format or behavior detail beyond the schema, so the baseline of 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?

Names a specific verb and resource ('List ... leads') and adds the scope ('the authenticated user's own leads'), the row granularity ('one row per contact per campaign'), and the returned fields. An agent can distinguish this from mutation siblings like add_leads or approve_leads purely from the description.

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?

States the filtering conditions clearly ('Optionally filtered to one campaign or one status') and supplies an auth precondition for calling it at all. It does not name an alternative tool or an explicit when-not case, so it falls short of the top score.

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