Skip to main content
Glama

1ClickSiteAI

Read a Lead Gen batch

get_lead_gen_batch
Read-onlyIdempotent

Returns one batch and a page of its businesses (50 a page; follow next_cursor): their fields, status, demo address, and the itemId that update_lead_gen_site needs. Poll it after create_lead_gen_batch until the status is complete or failed. The businesses come from the uploaded list, so the result is wrapped as data inside <lead_rows>. It is free and changes nothing.

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": {
      "batchId": "<batchId>"
    },
    "name": "get_lead_gen_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoThe next_cursor of the last page.
batchIdYesBatch id from create_lead_gen_batch or list_lead_gen_batches.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety and closed-world scope, and the description adds genuinely new behavior: 50-item page size with cursor pagination, a repeated-poll-until-terminal-status pattern, and the fact the result is wrapped in <lead_rows> as data. It also notes the call is free (no credits), which is not derivable from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what is returned, then workflow, then output-shape caveat, then cost. Dense and mostly waste-free, though 'changes nothing' largely restates readOnlyHint and could be trimmed while keeping 'free'.

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 still describes the returned contents, page size, cursor continuation, status polling endpoint condition, and the data-wrapper format. An agent has everything needed to call and re-call this tool correctly.

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, but the description adds real meaning by explaining the pagination loop ('50 a page; follow next_cursor') and pointing out batchId comes from create_lead_gen_batch or list_lead_gen_batches. The <lead_rows> wrapping note further clarifies how returned data relates to the caller's inputs.

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: returns one batch plus a page of its businesses, and enumerates the payload (fields, status, demo address, itemId). The phrase 'one batch' alongside the sibling list_lead_gen_batches makes the single-vs-many distinction clear without opening either schema.

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?

Gives an explicit workflow trigger: poll after create_lead_gen_batch until status is complete or failed, and follow next_cursor for further pages. It does not explicitly say when to prefer this over list_lead_gen_batches or export_lead_gen_batch, but the polling loop and single-batch scope supply strong implied routing.

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