Skip to main content
Glama
BACH-AI-Tools

Geodb Cities MCP Server

admin_divisions_near_location

Find administrative divisions near a specified location using radius and optional filters like population, country, or name prefix.

Instructions

Get administrative divisions near the given location, filtering by optional criteria.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
radiusYesThe location radius within which to find divisions
distanceUnitNoThe unit of distance to use: MI | KM
countryIdsNoOnly divisions in these countries (comma-delimited country codes or WikiData ids)
excludedCountryIdsNoOnly divisions NOT in these countries (comma-delimited country codes or WikiData ids)
timeZoneIdsNoOnly divisions in these time-zones
minPopulationNoOnly divisions having at least this population0
maxPopulationNoOnly divisions having no more than this population0
namePrefixNoOnly divisions 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 divisions 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 divisions 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 full burden but only states basic functionality without behavioral details. It doesn't disclose whether this is a read-only operation, potential rate limits, authentication requirements, pagination behavior (despite limit/offset parameters), or what happens with invalid inputs. The description adds minimal value beyond the basic purpose.

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?

Single sentence efficiently conveys the core purpose with zero waste. The description is appropriately sized and front-loaded with the essential information.

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?

For a complex tool with 17 parameters, no annotations, and no output schema, the description is inadequate. It doesn't explain return format, result ordering, error conditions, or how the various filters interact. The agent would struggle to use this effectively without trial and error.

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 schema already documents all 17 parameters thoroughly. The description adds no additional parameter semantics beyond mentioning 'optional criteria' - it doesn't explain parameter relationships, default behaviors, or usage patterns. Baseline 3 is appropriate when schema does all the work.

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 verb ('Get') and resource ('administrative divisions near the given location') with optional filtering. It distinguishes from siblings like 'admin_division_details' (single division) and 'admin_divisions' (general list), but doesn't explicitly differentiate from 'admin_divisions_near_division' (similar but uses division vs location).

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?

No guidance on when to use this tool versus alternatives like 'admin_divisions_near_division' (near division vs location) or 'places_near_location' (places vs administrative divisions). The description mentions optional filtering but provides no context about appropriate use cases or prerequisites.

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