Skip to main content
Glama
IBM

chuk-mcp-geocoder

by IBM

batch_geocode

Convert multiple place names to geographic coordinates in a single operation, handling failures individually and respecting rate limits for reliable batch processing.

Instructions

Geocode multiple place names in one call.

    Each query is processed sequentially to respect Nominatim rate limits.
    Individual failures don't abort the batch.

    Args:
        queries: JSON array of place names (e.g. '["Boulder, CO", "Denver, CO"]')
        limit: Maximum results per query (default 1)
        output_mode: "json" (default) or "text"

    Returns:
        Per-query results with coordinates, or error for failed queries

    CRITICAL — LLM retry guidance:
        If any query in the batch fails, re-run only the failed queries
        with simplified names using the single geocode tool. Nominatim
        works best with simple place names — remove landmarks, qualifiers,
        and descriptive words before retrying.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queriesYes
limitNo
output_modeNojson
Behavior5/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 effectively describes key traits: sequential processing to respect rate limits, fault tolerance ('individual failures don't abort the batch'), and retry guidance for failed queries. It also mentions external constraints (Nominatim rate limits and preference for simple names), adding valuable context beyond basic functionality.

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 appropriately sized and front-loaded with the core purpose. It uses bullet points and sections (Args, Returns, CRITICAL guidance) for structure, making it easy to scan. Some sentences could be tighter (e.g., the retry guidance is verbose), but overall, it efficiently conveys necessary information without waste.

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?

Given the tool's complexity (batch processing with fault tolerance and rate limits), no annotations, 0% schema coverage, and no output schema, the description is highly complete. It explains purpose, usage, parameters, returns, and critical behavioral guidance (retry logic). This provides all needed context for an AI agent to invoke the tool correctly and handle edge cases.

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 description coverage is 0%, so the description must compensate. It adds significant meaning for all parameters: 'queries' is explained as a JSON array of place names with an example, 'limit' as maximum results per query with a default, and 'output_mode' as options with a default. This covers semantics well, though it could clarify data types (e.g., 'queries' is a string in schema but described as JSON array).

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 tool's purpose: 'Geocode multiple place names in one call.' It specifies the verb ('geocode'), resource ('place names'), and scope ('multiple'/'batch'), distinguishing it from sibling tools like 'geocode' (single) and other non-geocoding tools. The purpose is specific and unambiguous.

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 provides clear context for when to use this tool: for batch processing of place names. It implies an alternative (the 'single geocode tool' for retrying failed queries) but does not explicitly state when to use one over the other or list other siblings like 'reverse_geocode'. The guidance is helpful but not exhaustive regarding all alternatives.

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/IBM/chuk-mcp-geocoder'

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