Skip to main content
Glama

get_weather

Retrieves Formula 1 session weather data—air and track temperature, humidity, wind, rain, and a short timeline—to explain tyre choices and wet-race conditions.

Instructions

Weather during a session (OpenF1, 2023+): air and track temperature, humidity, wind, whether it rained, and a short timeline. Useful for explaining tyre choices and wet races.

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": {
      "year": "<year>",
      "country": "<country>"
    },
    "name": "get_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
countryYes
session_nameNoRace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully discloses the OpenF1 source and the 2023+ coverage limit, which is a real behavioral constraint an agent must know. It does not say whether missing sessions return empty results or an error, nor whether the 'short timeline' is a fixed window or truncated, so key read-behavior gaps remain.

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?

Two tight sentences with the return contents front-loaded and the coverage caveat attached inline. Minor waste in the vague phrase 'a short timeline', which is never quantified, but nothing else could be cut.

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?

The field enumeration partially substitutes for the absent output schema, and the 2023+ note covers the dataset boundary. However, with zero schema coverage on three required-ish parameters and no annotations, the definition should also pin down country naming and session_name values to let an agent call it correctly first time.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description says nothing about the three parameters. It never clarifies the expected country string format (e.g. 'United Kingdom' vs 'UK' vs 'British'), what values session_name accepts beyond the 'Race' default, or whether year must align with the 2023+ source. The agent must guess at the most error-prone parameter.

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 description states a specific resource (session weather) and enumerates the returned measurements — air/track temperature, humidity, wind, rain, timeline — plus the data source and coverage floor (OpenF1, 2023+). No sibling tool covers weather, so explicit differentiation isn't needed, but the scope ('during a session') is clearly bounded.

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 gives an implied use case ('explaining tyre choices and wet races') but no explicit when-to-use vs. when-not, no mention of pairing with tyre strategy or lap-time tools, and no note on what to do when a pre-2023 session is requested despite the 2023+ caveat.

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