Skip to main content
Glama

Coords To Words

coords_to_words
Read-onlyIdempotent

Convert a lat/lon to a what3words 3-word address. Defaults to English; pass a 2-letter language code for other languages.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "latitude": 51.520847,
      "longitude": -0.195521
    },
    "name": "coords_to_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNo2-letter language code (default "en")
latitudeYesLatitude
longitudeYesLongitude

Output Schema

NameRequiredDescriptionDefault
wordsYesThe 3-word address (e.g., 'filled.count.soap')
countryYesCountry name containing the address
map_urlYesURL to view the address on what3words map
languageYesLanguage code used for the words
latitudeYesLatitude of the 3mx3m square center
longitudeYesLongitude of the 3mx3m square center
square_neYesNortheast corner of bounding box
square_swYesSouthwest corner of bounding box
nearest_placeYesNearest place name to the address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / latitude / description
      Previous value: -"Latitude of the 3m×3m square center"New value: +"Latitude of the 3mx3m square center"
    • changedOutput schema / properties / longitude / description
      Previous value: -"Longitude of the 3m×3m square center"New value: +"Longitude of the 3mx3m square center"
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "latitude": 51.520847,
      +    "longitude": -0.195521
      +  },
      +  {
      +    "language": "es",
      +    "latitude": 40.7128,
      +    "longitude": -74.006
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "country": {
      +      "description": "Country name containing the address",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "language": {
      +      "description": "Language code used for the words",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "latitude": {
      +      "description": "Latitude of the 3m×3m square center",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "longitude": {
      +      "description": "Longitude of the 3m×3m square center",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "map_url": {
      +      "description": "URL to view the address on what3words map",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "nearest_place": {
      +      "description": "Nearest place name to the address",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "square_ne": {
      +      "description": "Northeast corner of bounding box",
      +      "properties": {
      +        "lat": {
      +          "description": "Northeast corner latitude",
      +          "type": "number"
      +        },
      +        "lng": {
      +          "description": "Northeast corner longitude",
      +          "type": "number"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "square_sw": {
      +      "description": "Southwest corner of bounding box",
      +      "properties": {
      +        "lat": {
      +          "description": "Southwest corner latitude",
      +          "type": "number"
      +        },
      +        "lng": {
      +          "description": "Southwest corner longitude",
      +          "type": "number"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "words": {
      +      "description": "The 3-word address (e.g., 'filled.count.soap')",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "words",
      +    "language",
      +    "latitude",
      +    "longitude",
      +    "square_sw",
      +    "square_ne",
      +    "country",
      +    "nearest_place",
      +    "map_url"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this as a read-only, idempotent, open-world operation, so the safety profile is covered. The description adds the language defaulting behavior, but says nothing about failures (out-of-range coordinates, unsupported language codes) or any rate/coverage limits of the underlying service.

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 short sentences, front-loaded with the core transformation and followed by the only notable option. No filler and nothing that could be cut without losing information.

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?

The tool is simple, the output schema covers the return value, and the description covers inputs and defaults adequately. The only gap is behavior on invalid input or unsupported languages, which is minor for a low-complexity conversion tool.

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% and the schema already documents all three parameters including the 'en' default for language. The description's language sentence largely restates what the schema says, adding no format or constraint details beyond it. Baseline 3 applies since the schema does the heavy lifting.

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?

The description names a specific verb and both resources ('Convert a lat/lon to a what3words 3-word address'), and the explicit direction of conversion also separates it from the inverse tool words_to_coords. It stops short of naming the sibling, but the transformation is unambiguous.

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 implied by the operation itself: use it when you have coordinates and want a 3-word address, and pass a 2-letter code for non-English output. There is no explicit when-not guidance and no mention of alternatives such as the reverse lookup or autosuggest-style tools.

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.