Skip to main content
Glama

1ClickSiteAI

Create a Lead Gen batch

create_lead_gen_batch

Creates a batch of demo mini-sites, one for each business in rows, and starts building them. It costs 1 Lead Gen credit a row (5 at least) and counts as one of 10 paid calls a minute. Send the same idempotencyKey when you retry, so you receive the first result and are not charged twice. It returns the batchId and the status; follow it with get_lead_gen_batch.

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": {
      "rows": "<rows>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_lead_gen_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYes
industryNoLeft out: Home Services.
languageNoLeft out: en.
logoSizePxNoLeft out: 88.
contactModeNo
templateKeyNoLeft out: standard.
primaryColorNo
idempotencyKeyYesNew for each batch; reuse it on a retry.
backgroundThemeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing billing (1 credit per row, minimum 5), throughput limits (one of 10 paid calls a minute), and retry semantics (same idempotencyKey returns the first result and avoids double charging). It also states the return payload (batchId and status). The idempotencyKey note is consistent with, not contradictory to, idempotentHint=false, which describes keyless behavior.

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 tight sentences, each carrying distinct load: what it does, what it costs, how to retry, what it returns. Front-loaded with the core action and free of filler.

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?

For a paid, open-world batch mutation, the description covers cost, rate limits, idempotency, and the return value, with no output schema to lean on. The remaining gap is the set of optional batch-level defaults (industry, language, templateKey, logoSizePx), which an agent must infer from terse schema notes.

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 description coverage is 56%, and the description adds real meaning for two parameters: rows is one business per batch item, and idempotencyKey must be new per batch but reused on retry. The other seven parameters (industry, language, templateKey, logoSizePx, contactMode, primaryColor, backgroundTheme) and their defaults are not explained, so the description only partly compensates for the coverage gap.

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 ('Creates a batch of demo mini-sites') plus the cardinality semantics ('one for each business in rows') and the side effect ('starts building them'). This clearly separates it from single-site siblings like create_site and from the read/update batch siblings.

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 concrete operating context: cost of 1 credit per row with a 5-credit minimum, a rate ceiling of 10 paid calls per minute, and an explicit follow-up step ('follow it with get_lead_gen_batch'). It also tells the agent to reuse the same idempotencyKey on retries. It does not name when NOT to use it (e.g., single-site creation via create_site), so it falls short of a 5.

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