Skip to main content
Glama
BACH-AI-Tools

Geodb Cities MCP Server

places_near_location

Find cities, islands, or administrative areas near a specified location by filtering with criteria like population, country, distance, and name prefixes.

Instructions

Get places near the given location, filtering by optional criteria.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typesNoOnly places for these types (comma-delimited): ADM2 | CITY | ISLAND
radiusYesThe location radius within which to find places
distanceUnitNoThe unit of distance to use: MI | KM
countryIdsNoOnly places in these countries (comma-delimited country codes or WikiData ids)
excludedCountryIdsNoOnly places NOT in these countries (comma-delimited country codes or WikiData ids)
timeZoneIdsNoOnly places in these time-zones
minPopulationNoOnly places having at least this population0
maxPopulationNoOnly places having no more than this population0
namePrefixNoOnly places whose names start with this prefix. If languageCode is set, the prefix will be matched on the name as it appears in that language.
namePrefixDefaultLangResultsNoExample value:
languageCodeNoDisplay results in this language
asciiModeNoExample value:
hateoasModeNoExample value:
includeDeletedNoWhether to include any places marked deleted: ALL | SINCE_YESTERDAY | SINCE_LAST_WEEK | NONE
limitNoThe maximum number of results to retrieve0
offsetNoThe zero-ary offset into the results0
sortNoHow to sort the results. Format: ±SORT_FIELD,±SORT_FIELD where SORT_FIELD = countryCode | elevation | name | population
locationidYesOnly cities near this location. Latitude/longitude in ISO-6709 format: ±DD.DDDD±DDD.DDDD
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the basic action ('Get places') without detailing aspects like rate limits, authentication needs, error handling, or response format. This leaves significant gaps for a tool with 18 parameters and no output schema.

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?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. It effectively communicates the essential function in a compact form, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (18 parameters, no annotations, no output schema), the description is insufficient. It lacks details on behavioral traits, output format, error conditions, and usage context, leaving the agent with inadequate information to invoke the tool effectively in varied scenarios.

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%, so the input schema fully documents all parameters. The description adds no additional meaning beyond implying filtering capabilities ('optional criteria'), which does not enhance parameter understanding beyond the schema. This meets the baseline of 3 for high schema coverage.

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 clearly states the tool's purpose: 'Get places near the given location, filtering by optional criteria.' It specifies the verb ('Get'), resource ('places'), and scope ('near the given location'), but does not explicitly differentiate it from sibling tools like 'places_near_place' or 'cities_near_division', which limits it to a 4.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It mentions 'optional criteria' but does not specify contexts, prerequisites, or exclusions, nor does it reference sibling tools for comparison, resulting in minimal usage direction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-geodb-cities'

If you have feedback or need assistance with the MCP directory API, please join our Discord server