Skip to main content
Glama

Build a checked list

build_list

Starts building a list: up to 10,000 that list no website and up to 1,000 that list one, the most-reviewed of each, with each listed website visited now. Costs 1 credit per business ($3 per 1,000), taken when the build starts; unused credits come back. Permanently closed businesses are left out and not charged for. Returns an id; call get_list with it until status is done.

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": {
      "type": "<type>",
      "city": "<city>"
    },
    "name": "build_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity as "Austin, TX", "Leeds, UK" or "Toronto, ON". Send a country's name as city (United States, United Kingdom, Canada, Australia, New Zealand or Ireland) for one type in the whole country, written as here: radius_km is then ignored and min_reviews must be left out, so there is no distance and every business is counted. There are no state or region lists. A name several cities share, such as "Springfield" or "Kansas City", is read as the largest of them. To be sure of the city, send its full label as /api/v1/cities gives it, for example "Springfield, IL". When the name sent is shared, a count or new-list answer also has place_chosen, the full label of the city used, and other_places, the labels of up to 5 other cities of that name, largest first. Both are left out when the name is not shared.
typeYesBusiness type id, for example plumber or hair_salon. list_business_types gives them all.
radius_kmNoDistance from the city centre in km: 10, 25, 50, 100, 200. Default 25. Ignored for a whole country.
min_reviewsNoOnly businesses with at least this many reviews: 0, 5 or 20. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City as \"Austin, TX\", \"Leeds, UK\" or \"Toronto, ON\". A name several cities share, such as \"Springfield\" or \"Kansas City\", is read as the largest of them. To be sure of the city, send its full label as /api/v1/cities gives it, for example \"Springfield, IL\". When the name sent is shared, a count or new-list answer also has place_chosen, the full label of the city used, and other_places, the labels of up to 5 other cities of that name, largest first. Both are left out when the name is not shared."New value: +"City as \"Austin, TX\", \"Leeds, UK\" or \"Toronto, ON\". Send a country's name as city (United States, United Kingdom, Canada, Australia, New Zealand or Ireland) for one type in the whole country, written as here: radius_km is then ignored and min_reviews must be left out, so there is no distance and every business is counted. There are no state or region lists. A name several cities share, such as \"Springfield\" or \"Kansas City\", is read as the largest of them. To be sure of the city, send its full label as /api/v1/cities gives it, for example \"Springfield, IL\". When the name sent is shared, a count or new-list answer also has place_chosen, the full label of the city used, and other_places, the labels of up to 5 other cities of that name, largest first. Both are left out when the name is not shared."
    • changedInput schema / properties / radius_km / description
      Previous value: -"Distance from the city centre in km: 10, 25, 50. Default 25."New value: +"Distance from the city centre in km: 10, 25, 50, 100, 200. Default 25. Ignored for a whole country."
  2. Changed1 schema field changed
    • changedInput schema / properties / city / description
      Previous value: -"City as \"Austin, TX\", \"Leeds, UK\" or \"Toronto, ON\"."New value: +"City as \"Austin, TX\", \"Leeds, UK\" or \"Toronto, ON\". A name several cities share, such as \"Springfield\" or \"Kansas City\", is read as the largest of them. To be sure of the city, send its full label as /api/v1/cities gives it, for example \"Springfield, IL\". When the name sent is shared, a count or new-list answer also has place_chosen, the full label of the city used, and other_places, the labels of up to 5 other cities of that name, largest first. Both are left out when the name is not shared."
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, openWorldHint=true, destructiveHint=false; the description adds real cost semantics (1 credit per business, $3 per 1,000, charged at build start, unused credits returned) and the no-charge exclusion for permanently closed businesses. It also discloses the asynchronous nature: it returns an id, not the finished list, and must be polled via get_list. That is substantial behavior beyond the structured fields.

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 purpose, then cost, then exclusions, then the return contract – a sensible order for an agent deciding whether to call it. The clause 'up to 10,000 that list no website and up to 1,000 that list one, the most-reviewed of each' is dense and requires re-reading, which is the main structural cost.

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?

With no output schema, the description properly covers the return value (an id) and the polling contract with get_list. It also covers cost, credit recovery, and exclusions. It stops short of failure modes such as insufficient credits or whether the build can fail partway, which an agent spending money would benefit from knowing.

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 100%, with city, type, radius_km and min_reviews each given detailed semantics in the schema itself, so the baseline is 3. The description adds no parameter-level detail (no mention of city format, radius values or the min_reviews options) beyond stating the list composition rules, which the schema already implies.

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: it starts building a business list, with explicit composition rules (up to 10,000 without a website and 1,000 with one, most-reviewed first, each website visited). It also distinguishes itself from the follow-up sibling by saying the result is an id to feed to get_list until status is done.

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?

The workflow context is clear: this is the kickoff step and get_list polls the result. It also tells the agent that permanently closed businesses are excluded and that credits are charged up front and refunded if unused, which affects the use decision. It does not, however, say when to prefer this over count_businesses (a presumably free counting alternative) or check_website, so the exclusion guidance is incomplete.

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