Skip to main content
Glama

FMF Tools Compat APIs

openweather_geocode

Direct geocoding (OpenWeather-compatible) ($0.001 per call, paid via MPP on Tempo). Drop-in for OpenWeather /geo/1.0/direct: q = "City", "City,CC" or "City,State,CC" -> [{name, lat, lon, country, state}]. 230k+ places (GeoNames, CC BY 4.0). HTTP POST https://mpp-compat.fmf-x402.workers.dev/openweather/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": {
      "q": "<q>"
    },
    "name": "openweather_geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesCity name, optionally with state and country code
limitNo1-5 (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses important behavior: cost per call, MPP payment, the HTTP POST endpoint, and that the MCP wrapper does not settle payment itself. It still lacks error, rate-limit, and payment-failure behavior details.

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?

The description is dense but front-loaded: purpose, pricing, input format, output shape, endpoint, and payment caveat. Most sentences earn their place, though the URL and payment details make it slightly heavy.

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?

There is no output schema, but the description supplies the return shape and the essential paid-wrapper mechanics. For a paid geocoding tool, it is mostly complete, with remaining gaps around error handling and the full MPP payment flow.

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%, so the schema already documents q and limit. The description adds useful q syntax examples—"City", "City,CC", "City,State,CC"—and result-field shape beyond the generic schema text.

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?

The description gives a specific verb+resource: direct geocoding compatible with OpenWeather /geo/1.0/direct. It also shows the exact query forms and result fields, making it distinguishable from reverse geocoding siblings.

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 frames use as direct geocoding and states it is a drop-in for OpenWeather's direct endpoint. It does not explicitly name when to choose reverse or Mapbox alternatives, but the direct-city-query context is clear.

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