Skip to main content
Glama

get_lead_list

Read-onlyIdempotent

Fetch a single lead list by id: its name, description and lead count. An unknown id returns a not-found error. Pass include_leads=true to also get one page of the leads currently in the list (use meta.nextCursor as cursor for the next page); the response is then { list, leads, meta }. Use list_lead_lists to find ids.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lead_list_id": "<lead_list_id>"
    },
    "name": "get_lead_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoLeads per page when include_leads is true. Default 50, max 200.
cursorNoPagination cursor from a previous response's meta.nextCursor. Only used with include_leads.
lead_list_idYesId of the lead list (from list_lead_lists).
include_leadsNotrue = also return one page of the list's leads.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Pagination cursor from a previous response's meta.nextCursor. Only used with include_leads.",
      +  "type": "string"
      +}
    • addedInput schema / properties / include_leads
      Added value: +{
      +  "description": "true = also return one page of the list's leads.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Leads per page when include_leads is true. Default 50, max 200.",
      +  "maximum": 200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds behavior the annotations cannot express: an unknown id returns a not-found error, and the response shape changes to { list, leads, meta } when include_leads is true, with meta.nextCursor as the pagination cursor.

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 dense sentences with the core fetch first, then the error case, then the optional expansion and pagination. No restated field names, no filler, and the id-discovery pointer is placed last where it is most useful.

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?

There is no output schema, yet the description supplies the return shape for both the default and include_leads cases, the error condition, and the pagination mechanism. Nothing an agent needs to call this correctly is missing.

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 the baseline is 3; the description goes beyond it by explaining the coupling between include_leads, the returned page, and the cursor reuse via meta.nextCursor, which is exactly the relationship the schema documents only parameter-by-parameter.

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?

The description opens with a specific verb and resource ('Fetch a single lead list by id') and enumerates what is returned (name, description, lead count), which separates it cleanly from the sibling list_lead_lists.

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?

It names the sibling that supplies ids ('Use list_lead_lists to find ids') and states the condition that selects the optional expansion ('Pass include_leads=true to also get one page of the leads'). It does not spell out when not to use it, but the single-resource scope and the routing to the list tool make the choice unambiguous.

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