Skip to main content
Glama

FMF Tools Compat APIs

openweather_forecast_5day

5-day / 3-hour forecast (OpenWeather-compatible) ($0.003 per call, paid via MPP on Tempo). Drop-in for OpenWeather /forecast and "OpenWeather via Locus" /openweather/forecast-5day: up to 40 entries in 3-hour steps (6-hour after ~2.5 days, as MET publishes), list[] with main, weather[], wind, clouds, pop, dt_txt plus city{}. MET Norway, CC BY 4.0. Locus lists $0.008. HTTP POST https://mpp-compat.fmf-x402.workers.dev/openweather/forecast-5day. 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_forecast_5day"
  }
}

Input Schema

NameRequiredDescriptionDefault
cntNoNumber of timestamps (1-40, default 40)
latYesLatitude (-90 to 90)
lonYesLongitude (-180 to 180)
langNo
unitsNostandard, metric, imperial

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses a lot: per-call price ($0.003 vs Locus's $0.008), that this wrapper does NOT settle payment itself, the required auth header, the data source/license (MET Norway, CC BY 4.0), and the change from 3-hour to 6-hour steps after ~2.5 days. It omits error behavior and rate limits, so not a 5.

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 and compact given how much operational detail it packs (pricing, auth, route, response shape). The pricing comparison and URL make it denser than ideal, but every sentence carries operational value.

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, yet the description describes the return shape in detail (list[] with main, weather[], wind, clouds, pop, dt_txt plus city{}). Payment/auth prerequisites are covered; only error handling and units behavior are left implicit.

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 80% and the schema already documents lat, lon, cnt, and units; the description adds no parameter-level meaning beyond implying OpenWeather-compatible units semantics. Baseline 3 is appropriate 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('5-day / 3-hour forecast') with exact granularity and scope, plus OpenWeather /forecast drop-in compatibility. It is immediately distinguishable from the current-weather and 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?

Gives clear invocation context: requires an MPP Payment Authorization header or the mppx HTTP client, and names the exact HTTP route. It does not explicitly say when to prefer this over openweather_current_weather or spell out exclusions, so it stops short of full when/when-not guidance.

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