Skip to main content
Glama

geo_plus_code

Read-only

Plus code (Open Location Code) encode/decode — Offline Open Location Code: lat, lon -> plus code (length 10 default, 11-15 for sub-meter grid, 2-8 for areas) with bounds, cell size in meters and a local short code; code= decodes a full code to center + bounds; a short code (e.g. PX7V+4H) plus reference lat, lon recovers the full code. Invalid codes -> 422. Price: $0.001 USDC (Base, via x402).

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "geo_plus_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes40.6892
lonYes-74.0445

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, so safety is covered; the description adds real value beyond that with error behavior ('Invalid codes -> 422'), returned artifacts (bounds, cell size in meters), and a payment cost of $0.001 USDC via x402. That pricing disclosure is important and not present in any structured field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the definition is a single dense sentence stitched with em-dashes and semicolons covering encoding, decoding, short codes, error codes, and pricing. Every clause carries information, yet the run-on structure makes it hard to parse and would benefit from splitting modes into separate statements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully covers return values (center, bounds, cell size). But it advertises a 'code=' decoding mode and a length/area parameter that the input schema (only lat and lon, both required) cannot express, leaving an agent unsure how to actually invoke the decode path.

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%, so baseline is 3; however, the schema descriptions are only bare example values ('40.6892', '-74.0445') and the description's semantic detail (length 10 default, 11-15, 2-8; code= decoding) refers to inputs that do not exist in the schema. This adds meaning about lat/lon but also introduces ambiguity about which parameters are actually accepted.

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?

States a specific verb+resource ('Plus code (Open Location Code) encode/decode') and names both directions of operation, which distinguishes it from geocoding-style siblings like geo_geocode or geo_maidenhead. An agent can tell what this tool does without opening the schema.

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?

It clearly explains the mode selection: lat/lon produce a plus code, 'code=' decodes a full code, and a short code (e.g. PX7V+4H) plus reference lat/lon recovers the full code. It does not say when to prefer this over sibling coordinate-format tools such as geo_maidenhead, but the within-tool guidance is explicit.

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.

Resources