Skip to main content
Glama

f1_tyre_degradation

Read-onlyIdempotent

Fits a tyre degradation model for a driver and compound in an OpenF1 session, returning intercept, slope, residual standard deviation, and sample count.

Instructions

Fit a tyre degradation model for a driver + compound in a session.

Args: session_key: OpenF1 session identifier. driver_number: Driver's race number. compound: Tyre compound (SOFT, MEDIUM, HARD, INTER, WET; "INTERMEDIATE" = INTER).

Returns: data: {intercept, slope, residual_std, sample_count}. meta.estimated: true — model output, not telemetry oracle.

Input Schema

NameRequiredDescriptionDefault
compoundYesTyre compound (SOFT, MEDIUM, HARD, INTER, WET; "INTERMEDIATE" = INTER).
session_keyYesOpenF1 session identifier.
driver_numberYesDriver's race number.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • changedInput schema / properties / compound / description
      Previous value: -"Tyre compound (SOFT, MEDIUM, HARD, INTER, WET)."New value: +"Tyre compound (SOFT, MEDIUM, HARD, INTER, WET; \"INTERMEDIATE\" = INTER)."
  2. First observedv0.3.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive operation. The description adds meaningful behavioral context by stating that the output is an estimated model result, not a telemetry oracle, and by listing the returned model components.

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 description is front-loaded with the core purpose and then cleanly separates Args and Returns. It is appropriately sized, though the Args block largely duplicates schema descriptions rather than adding new information.

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

Completeness5/5

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

For a read-only model-fitting tool with full schema coverage and an output schema, the description supplies enough context to call it correctly and interpret the model output. The explicit estimated-model caveat is especially helpful.

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 the parameter meanings are already fully documented in the schema. The description repeats the same definitions for session_key, driver_number, and compound without adding syntax, format, or validation detail beyond the schema.

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?

The description gives a specific verb and resource: fit a tyre degradation model for a driver and compound in a session. That is clearly distinct from sibling F1 tools such as lap-time retrieval, pace comparison, and pit-strategy prediction.

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?

The purpose implies when the tool is useful, but the description does not explicitly state when to use it versus alternatives like f1_race_pace_compare or f1_predict_pit_strategy. No exclusions or prerequisites are given.

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