Skip to main content
Glama
WeatherXM FACT MCP Server

WeatherXM FACT MCP Server

Official

get_best_forecast_model

Read-onlyIdempotent

Rank forecast models by verified historical MAE for a location or station, weather variable, and lead day, helping select an appropriate model for that forecast use case.

Instructions

Find which weather forecast model had the lowest verified historical error (MAE) for a latitude/longitude coordinate (or station_or_report_id), weather variable (temperature, wind_speed, wind_direction, precipitation, humidity), and forecast horizon (Days 0-7). For wind_direction, errors are circular shortest-arc angular errors (0°–180°, where 359° vs 1° = 2° error) on speed-weighted hourly vector averages, returning both all-hours and >3 m/s active-wind rankings. For wind_speed the default is all hours, with an optional windier-days subset (daily mean scaled observed speed >= 3 m/s) returned separately. All 45 FACT models (2025 archive, 2025-02-13 to 2025-12-31, QoD >= 0.80 station-days): WeatherXM MOSAIC (MOSAIC), meteoblue (METEOBLUE), meteoblue station-mLM (commissioned) (mLM), ECMWF IFS (IFS025, IFSHRES), ECMWF AIFS AI (AIFS025), NOAA GFS 0.5° (GFS05), NOAA HRRR (HRRR), NOAA National Blend of Models (NBM), NOAA NAM (NAM3, NAM5, NAM12, NAMAK), DWD ICON (ICON, ICONEU, ICOND2), UK Met Office (UMGLOBAL10, UKMO2), ECCC GEM (GEM15, GEM2), Meteo-France ARPEGE/AROME (MFGLOBAL, MFEU, MFFR), COSMO (COSMOI2, COSMOM5), HARMONIE-AROME (HARMONIE), JMA MSM (MSM), WRF (WRFGR, WRFAMS), meteoblue NEMS/NMM (NEMSGLOBAL, NEMSGLOBAL_E, NEMS4, NEMS12, NEMS12_E, NEMSAF01, NEMSAS02, NEMSCAM, NEMSIN, NEMSNZ, NEMSSA, NMM4, NMM22), regional models (AF01, AS01, SA01). GFS025 is not archived; requests for it resolve to GFS05 with a resolution warning. Useful for solar & wind energy forecasting, agriculture & frost/irrigation risk, maritime/port & drone operations, construction planning, and microclimate evaluation. Provide (lat, lon) or station_or_report_id. Missing results stay unknown; not live forecasting.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_best_forecast_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
lead_dayNo
variableNotemperature
exclude_commissionedNo
station_or_report_idNoOptional WeatherXM station UUID or custom site evaluation report ID (e.g. STUDY-...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial behavior on top: the 2025 archive window (2025-02-13 to 2025-12-31), the QoD >= 0.80 station-day filter, the full 45-model roster, the GFS025-to-GFS05 resolution fallback, and the fact that missing results remain unknown rather than being estimated.

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 and key caveats are front-loaded, which is good. However, the exhaustive 45-model enumeration with parenthetical codes consumes most of the text and is largely reference detail that could be compressed. A call-to-action tail ('Provide (lat, lon) or station_or_report_id') sits after the model dump where it is harder to find.

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?

For a six-parameter analytical tool with no output schema and no annotations about return shape, the description supplies the necessary context: the metric (MAE), the model universe, the data window, quality filters, and edge-case fallbacks. It could go further by describing the ranked output and the exclude_commissioned flag.

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?

With schema description coverage at only 17%, the description carries most of the weight. It clarifies the lat/lon vs station_or_report_id alternatives, enumerates the variable options, and explains lead_day as forecast horizons Days 0-7 with special handling for wind_direction and wind_speed subsets. It leaves exclude_commissioned unexplained even though it flags mLM as 'commissioned,' and does not clarify the 'all' lead_day value.

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 opening sentence names a specific verb and resource: find which forecast model had the lowest verified historical MAE for a coordinate, variable, and lead day. That is far more precise than a generic 'get model' tool. It does not name the sibling tools (get_model_head_to_head, get_fact_leaderboard) to sharpen the boundary, which is why it falls short of 5.

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 gives concrete application contexts (solar/wind energy, agriculture, maritime, construction) and a clear boundary: historical verification, 'not live forecasting.' It also tells the caller to supply either (lat, lon) or station_or_report_id. It stops short of explicitly routing to alternatives such as get_model_head_to_head for comparison.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.