Skip to main content
Glama
GeoSphere MCP Server

GeoSphere MCP Server

by Singh-Akesh

geocode

Convert a place name or address into latitude and longitude with display name, bounding box, and place type for mapping and location-based tasks.

Instructions

    Convert a place name or address into geographic coordinates (latitude & longitude).

    Args:
        location: Any address, city, landmark, or place name (e.g. "Eiffel Tower, Paris",
                  "1600 Pennsylvania Ave NW, Washington DC", "Tokyo, Japan").

    Returns:
        Latitude, longitude, display name, bounding box, and place type.
    

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "location": "<location>"
    },
    "name": "geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It lists what is returned (lat, lon, display name, bounding box, place type), which is useful given no output schema, but says nothing about ambiguous matches, not-found behavior, rate limits, or whether multiple candidate results can come back.

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?

Front-loaded purpose sentence, then a compact Args/Returns block with no filler. The docstring-style headers are slightly mechanical but each line earns its place.

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?

For a one-parameter lookup tool with no annotations and no output schema, the description covers purpose, input forms, and return fields, which is most of what an agent needs. The remaining gap is handling of ambiguous or failed lookups.

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 coverage is 0% and the single parameter has no description, so the definition must compensate. It does: 'Any address, city, landmark, or place name' plus three concrete examples clarifies accepted input formats well beyond the bare 'location' string property.

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?

'Convert a place name or address into geographic coordinates (latitude & longitude)' gives a specific verb, resource, and direction of conversion. This implicitly distinguishes it from reverse_geocode (which goes coordinates → place), so an agent can pick the right tool without opening a schema.

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

Usage Guidelines3/5

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

Usage is only implied by the direction of the conversion; there is no explicit when-to-use statement, no mention of when to prefer reverse_geocode, and no notes on prerequisites or failure cases.

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