Skip to main content
Glama

Create a list

create_list
DestructiveIdempotent

Export the places of a search into a new list, with their contact details (up to 50,000 rows). Price: 1 credit per place never delivered to this account (Agency: included under fair use); withEmail: only places with an email address (found ones first, then guessed and verified ones); verifyEmails: plus 1 credit per address verified. maxCredits is never exceeded: send the "cost" of estimate_list, once the user agreed. One export at a time per account. While the list says "creating", follow it with get_list.

Paid: maxCredits (the most credits this call may spend, never exceeded) and idempotencyKey (a new UUID v4 for this operation) are required; without them nothing runs. To retry after an error or a timeout, send the same idempotencyKey with the same arguments: nothing is charged twice. Ask the user before calling it.

Same call as POST /api/v1/lists of the REST API.

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": {
      "name": "<name>",
      "search": "<search>",
      "maxCredits": "<maxCredits>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesList name, as shown in "My lists".
rowsNoRows wanted (at most 50000). With withEmail: email addresses wanted. Required unless wholeArea is true.
searchYesThe search, as returned by /categories/suggest (then narrowed with /areas, filters…). The "search" object returned by suggest_categories (target, area, filters, sort), sent as is or edited; its full schema is the "search" input of count_search. An invalid search is refused with invalid_request and the fields to fix.
wholeAreaNoRarely searched area only (estimate returned kind "zone"): fill the list with the whole area instead of a number of rows.
withEmailNotrue = the "With email" choice of the app: places with an email address only; found addresses are delivered first, others are guessed on the websites then checked (1 credit per valid address), and the verification of the addresses is reserved at creation (1 credit per address, unused credits returned).
maxCreditsYesThe most credits this call may spend (required on every paid call, with an Idempotency-Key header). Never exceeded.
verifyEmailsNotrue = the "Verify emails" box of the app: the addresses this list delivers are verified (deliverable, risky, undeliverable), 1 credit per address, reserved at creation and inside maxCredits (send maxCredits ≥ export cost + rows); unused credits are returned. Up to 10000 rows; not for rarely searched areas; included in withEmail lists.
idempotencyKeyYesA new UUID v4 for this operation (sent as the Idempotency-Key of the API). Reuse it only to retry the very same call: the saved result comes back, nothing is charged twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it as a non-read-only, destructive, idempotent write; the description goes far beyond by disclosing the credit pricing model, per-email verification charges, that maxCredits is never exceeded, that reusing idempotencyKey prevents double charging on retry, and the one-export-per-account concurrency limit. Those are exactly the facts an agent needs before committing a paid, irreversible operation.

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?

It is front-loaded with the core action and the operational rules follow in a clear order (pricing, prerequisites, retry, polling). It loses a point for repetition — 'never exceeded' appears three times across the description and the maxCredits schema, and the withEmail/verifyEmails credit mechanics are restated from the schema.

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?

For a paid, destructive, nested-schema tool with no output schema, everything an agent must know is present: the cost model, the required estimate-then-create flow, user consent, idempotent retry behavior, and the follow-up call for progress. Nothing material about invoking it correctly is left to inference.

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 cross-parameter meaning the schema states only locally: that maxCredits should equal estimate_list's cost, that verifyEmails requires maxCredits ≥ export cost + rows, that withEmail orders found before guessed addresses, and that wholeArea is for zone-kind rare areas. It stops short of explaining how the nested search object is narrowed beyond pointing at suggest_categories/count_search.

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 first sentence names a specific verb and resource — 'Export the places of a search into a new list, with their contact details' — and bounds it with 'up to 50,000 rows'. It also implicitly separates it from estimate_list (cost estimation) and get_list (polling), so an agent can place it against its siblings without opening any schema.

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

Usage Guidelines5/5

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

Explicit preconditions and alternatives are given: run estimate_list first and send its 'cost', ask the user before calling, follow the list with get_list while it says 'creating', and only one export runs per account at a time. It also states the when-not case indirectly by noting the paid-call requirement without maxCredits and idempotencyKey 'nothing runs'.

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.