Skip to main content
Glama
OpenF1 MCP Server

OpenF1 MCP Server

by ragulhari

Weather

get_weather
Read-onlyIdempotent

Retrieve per-minute Formula 1 weather data—air and track temperature, humidity, pressure, rainfall, and wind—for sessions or meetings, with date and field filters.

Instructions

Track weather each minute: air and track temperature, humidity, pressure, rain, wind.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of records to return (default 200, max 1000). A summary is added when the result is larger.
fieldsNoReturn only these attributes. Use this to make large results smaller.
date_toNoEnd of the time range (UTC, ISO 8601). Filters on "date" <= value.
filtersNoExtra comparison filters, e.g. [{"field":"lap_duration","op":"<","value":90}]. Allowed fields: air_temperature, date, humidity, meeting_key, pressure, rainfall, session_key, track_temperature, wind_direction, wind_speed. Array fields cannot be filtered.
rainfallNoOnly records with (true) or without (false) rain.
date_fromNoStart of the time range (UTC, ISO 8601), e.g. "2025-11-09T17:05:00Z". Filters on "date" >= value.
meeting_keyNoMeeting (Grand Prix weekend) identifier. Use "latest" for the current or most recent meeting.
session_keyNoSession identifier. Use "latest" for the current or most recent session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is covered. The description adds the per-minute sampling granularity and enumerates the observed fields, which is genuinely useful context, but says nothing about default limits, the summary that is appended to large result sets, or whether the data covers historical vs. live sessions.

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?

A single compact sentence with no filler, front-loading the resource and measurement list. It is perhaps too terse for the tool's 8-param surface, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 8 optional parameters and no output schema, the description covers what is returned but not how to retrieve it correctly — no mention that all parameters are optional, that omitting them returns all weather, or that 'latest' is the common scoping shortcut. An agent can still invoke it via the schema, but the description leaves important orientation work undone.

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 description coverage is 100% and every parameter (limit, fields, filters, date_from/date_to, rainfall, meeting_key, session_key) is documented in the schema. The description's list of measurements loosely hints at the filterable attributes but adds no syntax, defaults, or semantics beyond the schema; baseline 3 applies.

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?

Names the resource (weather) and the specific measurements returned (air/track temperature, humidity, pressure, rain, wind) plus the per-minute granularity, which clearly separates it from lap, position, or telemetry siblings. It stops short of stating what the data is scoped to (session/meeting), so an agent must open the schema to learn that the records belong to an F1 session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description gives no indication of when to call this versus other tools, nor that it should typically be scoped with session_key or meeting_key (e.g. "latest"). There are no exclusions, prerequisites, or alternative tools named — the agent gets only the implied usage of 'track weather'.

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