Skip to main content
Glama

Search Places

search_places
Read-only

Find real business locations by brand or category — "every Cracker Barrel in Utah", "coffee shops near my client's sites", "who are the anchors around this site". Returns each match with its name, full street address, and exact coordinates from a structured places index. The rows are in the shape add_client_pois takes, so they can become map pins without geocoding. When the result set was capped it returns truncated: true; tell the user the list is partial before saving it as pins, since a missing pin reads to a broker as "no competitors here". Anchor the search with near_client_id (preferred — searches around the client's existing location pins and avoids truncation) or with state. Read-only: it writes nothing until you call add_client_pois.

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": {
      "query": "<query>"
    },
    "name": "search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return (default 20, hard cap 60).
queryYesBrand or category to find, e.g. "Cracker Barrel", "Starbucks", "self storage".
stateNoTwo-letter code or full name, e.g. "UT" or "Utah". Use when the search is not anchored to a client.
radius_milesNoSearch radius around the client's pins. Defaults to 25. Only used with near_client_id.
near_client_idNoAnchor the search around this client's existing location pins (prospectid). STRONGLY preferred over state when the user is working a client — it returns what is actually near their sites and avoids truncation. Requires participation.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description goes beyond that by describing the return shape (name, full street address, exact coordinates, compatible with add_client_pois), the truncation signal (truncated: true), and the consequence of ignoring it (a missing pin reads to a broker as "no competitors here"). That is substantive behavioral context not available in 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?

Front-loaded with the verb and examples, then return shape, then truncation caveat, then anchoring guidance — a sensible order. It is on the long side with multiple parentheticals, but each clause carries information (return shape, truncation risk, anchoring preference) rather than filler.

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, so the description carries the return-value burden and does so: field list, downstream compatibility with add_client_pois, and the truncation flag. For a five-parameter, read-only, open-world search tool, an agent has everything needed to call it and interpret the response 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 schema already documents all five parameters, including limits and defaults. The description still adds decision-level meaning: near_client_id is preferred over state and reduces truncation, which is a usage rationale rather than a restatement of the field. It adds little about limit or radius_miles beyond what the schema states, keeping it below a 5.

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?

Opens with a specific verb+resource ("Find real business locations") and immediately grounds it in three concrete query examples ("every Cracker Barrel in Utah", "coffee shops near my client's sites"). It also names the downstream sibling add_client_pois, so an agent can tell this is a discovery tool that feeds a pin-writing tool rather than doing the writing itself.

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?

Explicitly states the preferred anchoring path (near_client_id, "STRONGLY preferred" because it "avoids truncation") and the fallback (state) with the condition that selects it ("when the search is not anchored to a client"). It also prescribes a follow-up action on truncation — tell the user the list is partial before saving pins — which is real when-to-use guidance rather than restated mechanics.

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