Skip to main content
Glama
darshjoshi

Pitwall F1

by darshjoshi

Analyze DRS Usage

analyze_drs_usage
Read-onlyIdempotent

Analyze DRS usage on a driver's fastest lap by year, Grand Prix, and session to see where DRS opened or closed.

Instructions

Analyze DRS usage on a driver's fastest lap.

DRS-open is detected via the FastF1 car-data codes 10/12/14 (8 = eligible but not yet open; 0/1 = closed). From 2026, F1 replaced DRS with active aero, so no activations are reported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gpYes
yearYes
driverYes
sessionNoR

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive safety profile, so the bar is lower, yet the description still adds real domain behavior: the FastF1 car-data codes that define DRS-open (10/12/14), eligible-but-closed states (8, 0/1), and the critical 2026 regression where no activations are reported. That temporal caveat is exactly the kind of context annotations cannot express.

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 paragraphs, front-loaded with the core purpose and then the detection semantics and caveat. No filler sentences, though the code-level detail is dense enough to slightly slow reading.

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?

An output schema exists, so return values need not be explained, and annotations plus the description cover safety and behavior well. However, with 0% schema description coverage and four undocumented parameters, the definition leaves an agent guessing about input formats, which is a meaningful gap for the call itself.

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 carries the full burden, but it says nothing about year, gp, or driver formats (e.g. abbreviation conventions) and never mentions the session parameter or its 'R' default. The phrase 'a driver's fastest lap' only vaguely gestures at one input.

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 a specific verb (analyze), resource (DRS usage), and precise scope (a driver's fastest lap), which distinguishes it from sibling analysis tools like analyze_rpm_data, analyze_brake_points, and analyze_lap_consistency. It does not explicitly name what it is not, so it stops short of the top score.

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 never states when to reach for this tool versus get_telemetry, analyze_brake_points, or other per-lap analysis siblings, and gives no prerequisites or exclusions. Usage is only loosely implied by the purpose statement's scope.

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