Skip to main content
Glama

Find a place in India or the United States

footprint_search_places
Read-onlyIdempotent

Find places in India or the United States by name and get their coordinates, to use with the other Footprint tools.

India: about 1.2 million places down to villages. Village names repeat heavily (dozens of Rampurs), so each match gives its kind, its state and, for villages and localities, the nearest town ("near Zaidpur"). United States: about 190,000 cities, towns, localities, counties and states, and five-digit ZIP codes. A name both countries have ("Salem", "Delhi") answers for India unless a US state follows it or country is 'us'; when matches from both are listed, each says its country. A country in the query is taken at its word ("Austin, Texas, USA", "Salem, India"). Returns name, kind, state, lat, lon for each match, best first. A pasted "lat, lon" also works.

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": "footprint_search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many matches to return.
queryYesPlace name. India: village, locality, town, city, district or state ('Whitefield', 'Karumuru'). United States: city, town, county, state or ZIP code, with the state where it helps ('Austin TX', 'Denver, Colorado', '10001').
countryNoOptional: 'in' (India) or 'us' (United States) to search one country. Left out, India is searched, and the United States too when the query names a US state or ZIP code or a place only the United States has.
near_latNoOptional: rank matches near this latitude first.
near_lonNoOptional: rank matches near this longitude first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "in",
      +        "us"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional: 'in' (India) or 'us' (United States) to search one country. Left out, India is searched, and the United States too when the query names a US state or ZIP code or a place only the United States has.",
      +  "title": "Country"
      +}
    • changedInput schema / properties / near_lat / anyOf
      Previous value: -[
      -  {
      -    "maximum": 37.6,
      -    "minimum": 6,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 90,
      +    "minimum": -90,
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / near_lon / anyOf
      Previous value: -[
      -  {
      -    "maximum": 97.6,
      -    "minimum": 68,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 180,
      +    "minimum": -180,
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / query / description
      Previous value: -"Place name: village, locality, town, city, district or state. E.g. 'Whitefield', 'Karumuru', 'Rampur'."New value: +"Place name. India: village, locality, town, city, district or state ('Whitefield', 'Karumuru'). United States: city, town, county, state or ZIP code, with the state where it helps ('Austin TX', 'Denver, Colorado', '10001')."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only, idempotent, non-destructive annotations, the description discloses dataset scope, ambiguity behavior for repeated village names, country fallback rules, result ordering, and returned fields. This gives an agent substantial behavioral context without contradicting the annotations.

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?

The description is front-loaded with the core purpose and then moves into country-specific behavior and return values. It is dense and informative, but the long paragraph could be tightened slightly without losing necessary detail.

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?

Although there is no output schema, the description states the return fields and ordering. Together with the fully documented input schema and safety annotations, it provides enough context for correct invocation.

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 parameters. The description still adds meaning for the query parameter by explaining pasted "lat, lon" input and country-qualified names, and it clarifies how country resolution works in ambiguous cases; near-coordinate ranking 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?

The description states a specific verb and resource: finding places by name and returning coordinates. It clearly scopes the tool to India and the United States and notes it is used with other Footprint tools, which distinguishes it from area-oriented siblings.

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 description gives useful usage context: this is a place lookup to pair with other Footprint tools, and it explains how ambiguous names and country qualifiers are resolved. It does not explicitly name when to use another sibling instead, so it falls short of full 5-level guidance.

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