Skip to main content
Glama

Batch forward geocode

maptiler_batch_geocode
Read-only

Forward-geocode up to 50 queries in one request. Returns a JSON ARRAY of GeoJSON FeatureCollections, one per query, in order. API: GET /geocoding/{q1;q2;...}.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results per query (1-10).
typesNoComma-separated place types to include.
countryNoComma-separated ISO 3166-1 alpha-2 country codes to restrict to.
queriesYes1-50 place/address strings to geocode.
languageNoComma-separated ISO 639-1 language codes for results.
worldviewNoDisputed-border worldview: default | auto | ch | us.
autocompleteNoTreat the last term of each query as a prefix.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds return format (JSON ARRAY of GeoJSON FeatureCollections, one per query) and the API endpoint, providing context beyond annotations. It does not cover rate limits or error behavior, but is sufficiently transparent for a read-only tool.

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?

Two sentences, front-loaded with purpose and key details. No wasted words; every sentence adds value. Perfectly concise and structured for quick comprehension.

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?

Given the tool's complexity (batch operation, 7 parameters, no output schema), the description provides the essential return format and capacity limit. It could mention error handling or partial failures, but is generally complete enough for an agent to select and use correctly.

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 coverage is 100% with detailed descriptions for all 7 parameters. The description adds no new parameter information beyond mentioning the 50-query limit, which is already in the schema (maxItems:50). Baseline score of 3 is appropriate.

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 clearly states the verb 'Forward-geocode' and the resource 'queries', with a specific scope of up to 50 per request. It distinguishes from siblings like maptiler_geocode (single query) and maptiler_reverse_geocode by mentioning batch and forward direction.

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 implies usage for multiple queries in one request ('up to 50 queries in one request'), but does not explicitly state when to use alternatives. It provides clear context for batch vs single queries, with no exclusions or misleading 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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: forward geocoding (batch and single), reverse geocoding, IP geolocation, data features retrieval, elevation lookup, coordinate system search, and coordinate transformation. There is no overlap or ambiguity among them.

Naming Consistency4/5

All tools follow a verb_noun pattern with underscores, prefixed by 'maptiler_'. While most are consistent (e.g., 'get_elevation', 'search_coordinate_systems'), 'reverse_geocode' and 'geolocate_ip' are slight variations but still clear. The naming is predictable and readable.

Tool Count5/5

8 tools is an appropriate number for a geolocation and mapping utility server. Each tool serves a distinct operation without being excessive or insufficient. The scope is well-defined.

Completeness4/5

The tool set covers core geolocation operations: forward/reverse geocoding, batch processing, IP geolocation, elevation, coordinate systems, and data features. Minor gaps exist (e.g., no map tile retrieval or routing), but the set is complete for the advertised functionality.