Skip to main content
Glama

analyze_tyre_degradation

Analyze a driver's tyre degradation by stint, calculating clean-lap average pace and seconds lost per lap of tyre age, including fuel-corrected values while filtering slow and out laps.

Instructions

Tyre degradation for one driver: per stint, clean-lap average pace and seconds lost per lap of tyre age (raw and fuel-corrected). Slow laps, out laps and lap 1 are filtered out (OpenF1, 2023+).

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>",
      "driver": "<driver>"
    },
    "name": "analyze_tyre_degradation"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
driverYes
countryYes
session_nameNoRace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behaviour: which laps are excluded (slow laps, out laps, lap 1), the data source and vintage (OpenF1, 2023+), and the shape of the result (per stint, raw and fuel-corrected degradation). It stops short of stating units, aggregation method, or behaviour when no clean laps exist, which keeps it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the purpose and then the filtering caveat and data vintage. Every clause adds information; nothing repeats the schema or pads the definition.

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 description covers the returned metrics and the exclusion rules, which is the hardest part to infer, and no output schema exists to offload that. However, for a tool with three required parameters at zero schema coverage, the absence of any identifier or format guidance leaves a real gap before an agent can call it confidently.

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% across four parameters, so the description must compensate and largely does not. It implies year must be 2023 or later and that driver is a single driver, but gives no guidance on whether country is a name or code, what session_name values are valid besides the 'Race' default, or the driver identifier format.

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 names a specific analysis (tyre degradation) and a specific scope (one driver, per stint), plus the exact metrics returned. It does not contrast itself with neighbouring tools such as get_tyre_strategy or compare_fastest_laps, so an agent must infer the boundary, but the core purpose is unambiguous.

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?

There is no when-to-use guidance, no statement of when a different tool is preferable, and no prerequisites beyond an implicit 'one driver' scope. The only usage-relevant constraint is the '2023+' data-coverage note, which limits valid year values rather than routing the agent between alternatives.

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