Skip to main content
Glama

List captured leads

list_leads
Read-onlyIdempotent

List leads that visitors submitted through the account's agent lead forms, newest first, with the form answers (such as name and email), the page they were on, and the related conversation ID when known. Form answers in the result are written by website visitors.

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
limitNo
sinceNoOnly leads captured on or after this ISO 8601 date.
agentIdNoOnly leads captured by this agent.

Output Schema

NameRequiredDescriptionDefault
leadsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / leads / items / properties / test
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed read, so the description only needs to add context — and it does: results are ordered newest first, and form answers are authored by website visitors, a useful caution about untrusted content. Pagination behavior (default 20, max 50) is left to the schema.

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?

Two sentences, zero filler, with the core scope front-loaded and the return contents described in a single compact clause. Every phrase carries information.

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?

An output schema exists, so the description needn't enumerate return values, and its brief summary of returned fields plus the newest-first ordering covers what an agent needs before calling. The main omission is any hint about the default/maximum page size when deciding whether to page through leads.

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 67%, with since and agentId already documented in the schema; only limit lacks a description. The description adds ordering context ("newest first") but does not explain how the filters interact, so it neither compensates for nor worsens the existing coverage gap.

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 description uses a specific verb and resource ("List leads") and narrows the scope to leads submitted through the account's agent lead forms, which cleanly separates it from list_conversations and list_agents. It stops short of naming a sibling alternative, so it is clear but not maximally differentiating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of the optional since/agentId filters as narrowing mechanisms, and no pointer to get_conversation for following up on the returned conversation ID. Usage is only implied by the word "List".

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