Skip to main content
Glama

Weather (Pyfio Router)

weather
Read-only

Fetch 1–7 day forecasts by place name or coordinates, including daily min/max temperature, wind, and precipitation, with the models used and measured quality disclosed.

Instructions

Weather forecast for a place (name or coordinates), 1 to 7 days: daily min and max temperature, wind (max and mean), precipitation. Routed by Pyfio's quality judge: the mean of the models with the lowest measured error near the place (64 judged stations, 11 models via Open-Meteo; measured out of sample: 18 to 23 % lower error than Open-Meteo's default), and the default where the mix measured worse. Every answer names the models used and the judge's data (station or region, measured gain).

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

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (with lon, instead of place)
lonNoLongitude
daysNoNumber of days from today, default 3
placeNoPlace name, e.g. "Hamburg" or "Paris, FR"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, it discloses the routing behavior: a quality judge selects the mix of models with lowest measured error near the place, with a documented fallback to Open-Meteo's default. It also promises that every answer names the models and judge data, which is meaningful provenance not captured by annotations.

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 first sentence front-loads what the tool returns, and the routing/methodology discussion follows logically. The validation statistics ("64 judged stations, 11 models", "18 to 23 % lower error") are somewhat marketing-flavored, but they do support trust in the routing claim.

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?

With no output schema, the description carries the return-value burden and does so by naming the forecast fields and the provenance metadata returned with each answer. It is nearly complete for this complexity, though it omits units and how far ahead coordinates may be resolved.

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 lat/lon/place/days are already fully documented. The description adds only the place-vs-coordinates framing and the 1-7 day horizon, restating what the schema already conveys; baseline 3 applies.

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?

"Weather forecast for a place (name or coordinates), 1 to 7 days" gives a specific verb and resource, then enumerates the returned variables (min/max temperature, max and mean wind, precipitation). The scope is precise enough to separate it from siblings like travel_time or web_search 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when to use it (any place, 1-7 day horizon, via name or coordinates) but never explicitly states when to prefer it over alternatives such as travel_time, nor any exclusions like forecast-range limits beyond 7 days. Usage is inferable rather than stated.

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

Deploy Server

Other Tools