Skip to main content
Glama

Find a place

find_location
Read-onlyIdempotent

Finds the city, county or region to search businesses in and returns its location_ref for filters.locations, with its state and county. It looks up a place the user names, never the user's own location. Places are stored under their local-language names (München, Lisboa). within_state_id / within_county_id (or 'Austin, Texas') narrow the search. The answer flags ambiguous names (needs_clarification, namesakes), cities stored as several zones (city_zones) and big cities whose neighborhoods are stored under their own names (big_city), each with a hint.

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>",
      "country": "<country>"
    },
    "name": "find_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesName of the place to search businesses in, e.g. Lyon.
countryYesISO alpha-2 code.
within_state_idNoLevel-1 id to search inside.
within_county_idNoLevel-2 id to search inside.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Place name, e.g. Lyon."New value: +"Name of the place to search businesses in, e.g. Lyon."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses substantive behavior: places are stored under local-language names (München, Lisboa), and the response flags ambiguity via needs_clarification, namesakes, city_zones and big_city, each with a hint. With no output schema this is valuable, though the shape of location_ref itself is not described.

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 core action and return value, then narrowing options, then response flags. Four dense sentences with no filler, though the final sentence is long and packs four flags together, slightly reducing scanability.

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 read-only lookup with no output schema, the description covers input intent, narrowing parameters, and the important response flags an agent must handle. The remaining gap is what location_ref looks like and how to use it downstream, which the agent must infer.

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; the description still adds meaning by explaining that within_state_id and within_county_id are narrowing scopes and by showing the 'Austin, Texas' string form for query. Country's ISO alpha-2 format is left to the schema.

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 plus the concrete output contract: finds the city/county/region and returns its location_ref for filters.locations, with state and county. It also scopes the tool negatively ('never the user's own location'), so an agent can distinguish it from a geolocation tool and infer it differs from list_locations by taking a named place.

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 clear triggering context (the user names a place to search businesses in) and an explicit exclusion (not the user's own location). It also explains how within_state_id / within_county_id or a 'Austin, Texas' style query narrow results. It does not name a sibling alternative for the browse-without-query case, which keeps it from 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