Skip to main content
Glama

geocode

Convert addresses, place names, or intersections into precise coordinates and structured location data for routing, weather, or search queries. Supports street-level resolution and proximity biasing.

Instructions

Convert an address, place name, street, or intersection into coordinates and structured location results. Use when input is text and you need coordinates before routing, weather, or search. Supports street-level resolution and proximity biasing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • bin/server.js:31-37 (registration)
    The 'geocode' tool is registered in the TOOLS array with name, description, and inputSchema. This is a static tool catalog for a local reference adapter (stdio) that doesn't actually execute tools — it redirects to the hosted production server at https://geo.thinair.co/mcp.
    const TOOLS = [
      {
        name: "geocode",
        description:
          "Convert an address, place name, street, or intersection into coordinates and structured location results. Use when input is text and you need coordinates before routing, weather, or search. Supports street-level resolution and proximity biasing.",
        inputSchema: { type: "object" },
      },
  • The handler for all tools (including geocode) returns a redirect message pointing users to the hosted production MCP server. There is no actual geocode execution logic in this codebase — the real implementation lives at the hosted endpoint.
    server.setRequestHandler(CallToolRequestSchema, async () => ({
      content: [{ type: "text", text: REDIRECT_MESSAGE }],
      isError: false,
    }));
Behavior3/5

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

Discloses support for street-level resolution and proximity biasing, which are relevant behavioral traits. However, with no annotations, the description could detail data freshness, error behavior, or response format, which are missing.

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?

Two concise sentences front-loading purpose and usage. No wasted words, but could be slightly more structured with separate sections.

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?

No output schema, and the description only vaguely mentions 'coordinates and structured location results'. For a geocoding tool, missing details on result fields, coordinate format, or multiple matches makes it incomplete given the complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema is an empty object with no parameters. The description mentions the input is text but does not clarify how to provide it (e.g., query parameter or request body). Schema coverage is 100% only because there are no parameters, but the description fails to specify the input structure.

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 converts addresses, place names, streets, or intersections into coordinates and structured location results. It distinguishes from reverse_geocode by specifying direction, and from batch_geocode by indicating single input.

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?

Explicitly states when to use: when input is text and coordinates are needed before routing, weather, or search. Does not list when not to use or mention alternatives like batch_geocode for multiple queries, but provides useful context.

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/ThinAirTelematics/thinair-geo'

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