Skip to main content
Glama

Site selection with busyness data

site_selection

Compare candidate business locations using nearby competitors, distance, ratings, and popular times to assess market saturation and choose a viable site.

Instructions

Compare candidate locations for a new business: for each candidate address, the nearby competitors of that kind, their distance, rating, and Google popular times (hourly busyness 0-100, typical visit length). Returns competitor counts by radius, a saturation index, busiest slots and competitors shared between candidates. About $0.17 per candidate, 3-5 min.

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": {
      "candidates": "<candidates>",
      "category": "<category>"
    },
    "name": "site_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
widerNoRead 40 places from the wider search instead of 20 (more cost)
wait_sNoSeconds to wait for the runs before returning a job id (default 45).
categoryYesThe kind of business, e.g. 'gym', 'coffee shop'
languageNo
radius_kmNoTrade area radius around each candidate (default 3)
candidatesYesCandidate addresses (or place names)
max_cost_usdNoRefuse to start if the estimated cost is above this (USD). Default 5.
include_curveNoInclude the hour-by-hour busyness curve per candidate (verbose)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations mark this as non-read-only, open-world, and non-idempotent, so the agent already knows it is a stateful external operation. The description adds genuinely useful cost and latency disclosure ('About $0.17 per candidate, 3-5 min'), which is exactly the kind of context annotations cannot carry. It stops short of explaining that the call may return a job id before results are ready — that behavior is only hinted at via the wait_s parameter.

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 zero filler: the purpose and per-candidate outputs come first, aggregate outputs second, cost and runtime last. Every clause carries information an agent needs to select and budget the call.

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 correctly takes on the burden of describing return values and does so concretely (competitor counts by radius, saturation index, busiest slots, shared competitors). For an 8-parameter, paid, multi-minute operation the main remaining gap is the asynchronous job-id return path and how to follow up on it.

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 description coverage is 88%, so the baseline is 3; the description nudges above that by clarifying that analysis is per candidate address and that competitor counts are aggregated by radius, giving radius_km and candidates real semantic weight. It also ties the per-candidate cost to the candidates array, which helps an agent reason about max_cost_usd, though it says nothing about wider or include_curve beyond the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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: 'Compare candidate locations for a new business', then enumerates what is returned per candidate (competitors, distance, rating, popular times) plus aggregate outputs (saturation index, shared competitors). It is clearly a multi-candidate site-scoring tool rather than a single-place lookup, which distinguishes it in spirit from find_places or alternatives, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the framing ('candidate locations for a new business') and by the practical constraints given ($0.17 per candidate, 3-5 min runtime), which help an agent decide whether it is worth invoking. However there is no explicit when-to-use vs. when-not guidance, no statement that it should be used after narrowing candidates with a cheaper search, and no mention of the async/job-id pattern.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.