Skip to main content
Glama

FMF Tools Compat APIs

openweather_reverse_geocode

Reverse geocoding (OpenWeather-compatible) ($0.001 per call, paid via MPP on Tempo). Drop-in for OpenWeather /geo/1.0/reverse: lat, lon -> nearest named places [{name, lat, lon, country, state, distance_km}] (GeoNames, CC BY 4.0). HTTP POST https://mpp-compat.fmf-x402.workers.dev/openweather/reverse-geocode. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": "openweather_reverse_geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (-90 to 90)
lonYesLongitude (-180 to 180)
limitNo1-5 (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose meaningful behavior: cost ($0.001/call), MPP/Tempo payment, that the wrapper does NOT settle payment itself, the required Payment Authorization header, and the backing data source (GeoNames, CC BY 4.0). What it omits is rate limits, error/failure behavior, and what happens when payment is absent or invalid.

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 with the core purpose, then the return shape, then pricing and the HTTP/payment mechanics. Dense but each clause carries operational value; the raw URL and payment boilerplate make it feel more packed than a purely functional description would be.

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?

No output schema exists, but the description enumerates the return fields, so an agent knows what comes back. Payment and auth preconditions are covered. Missing only edge-case behavior (payment failure, no nearby places, rate limits) for a fully complete picture.

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 100% and each parameter already carries a range description, so the schema does the heavy lifting and the baseline is 3. The description slightly exceeds that by defining the returned fields (name, lat, lon, country, state, distance_km), which tells the caller what lat/lon resolve to, though it adds nothing new about the limit semantics beyond the schema.

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 and resource ("Reverse geocoding") and spells out the input/output mapping: lat, lon -> nearest named places with the exact field list. The word "reverse" plus the explicit lat/lon input distinguishes it from the forward-geocode siblings without needing to name them.

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?

Usage context is clear: use it when you have coordinates and want the nearest named places, and it is a drop-in for OpenWeather /geo/1.0/reverse. It also tells the caller the payment precondition and points to the mppx/HTTP alternative route. It stops short of explicit when-not-to-use guidance or naming a sibling geocoder for comparison.

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