Skip to main content
Glama

geocode

Read-onlyIdempotent

Convert Swiss addresses or place names to WGS84 coordinates using swisstopo data.

Instructions

Address or place name to WGS84 coordinates (swisstopo)

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": {
      "address": "<address>"
    },
    "name": "geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.0
    • removedInput schema / properties / address / description
      Removed value: -"Swiss address or place name"
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds the output coordinate reference system (WGS84) and the swisstopo data source, which implies Swiss-only coverage, but it does not disclose what happens on no-match or when an input resolves to multiple candidates.

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?

A single compact line with the transformation front-loaded and nothing redundant. Its brevity is efficient, though it borders on under-specification for a tool with no output schema.

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?

With no output schema and a single undocumented parameter, the description should say more about the returned value (coordinate ordering, object shape, single vs. multiple matches) and about geographic coverage limits implicit in the swisstopo source. It gives only the coordinate system, leaving error and ambiguity behavior unstated.

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 0% and the sole parameter is documented only as a bare string, so the description carries the burden. It does add meaning by saying the input can be an 'address or place name' and not just a structured address, but it says nothing about formatting expectations, language, or handling of ambiguous inputs.

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?

States a concrete transformation — address or place name into WGS84 coordinates — with a named data source (swisstopo), so the agent knows exactly what the tool produces. It does not explicitly distinguish itself from the sibling reverse_geocode, leaving the direction of conversion to be inferred from the names alone.

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?

There is no guidance on when to use this versus alternatives such as reverse_geocode, search_places, identify_location, or lookup_postcode, all of which appear in the sibling list and overlap in function. The agent must infer the selection rule from tool names.

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

Deploy Server

Other Tools