Skip to main content
Glama
racehooks

@racehooks/mcp

Official

get_race_laps

Fetch per-lap times and positions for a race, optionally filtered by driverId to inspect one driver's lap-by-lap performance.

Instructions

Get per-lap times and positions for a race. Requires Developer or higher. Optionally filter to a single driver with driverId.

Input Schema

NameRequiredDescriptionDefault
raceIdYes
driverIdNoFilter to a specific driver, e.g. 'max_verstappen'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 behavioral burden. It adds valuable context by stating 'Requires Developer or higher,' which the agent otherwise wouldn't know. But it doesn't disclose return shape, pagination, rate limits, or whether data is available for 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.

Conciseness5/5

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

Three short sentences, front-loaded with the core purpose, then the auth requirement, then the optional filter. Every sentence carries information an agent needs, with no filler.

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 simple two-parameter read tool with no output schema, the description states what is returned (times and positions), the auth tier, and the filter behavior. The notable gap is raceId's expected format, which an agent needs to construct a valid call.

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 50%: driverId is documented in the schema, while raceId has no description. The description confirms driverId's effect ('filter to a single driver'), adding meaning beyond the schema, but leaves raceId's expected format (season/round vs. internal ID) unspecified.

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?

States a specific verb and resource: 'Get per-lap times and positions for a race.' This distinguishes it reasonably from siblings like get_race_summary or get_race_pitstops, though it doesn't explicitly name the nearest alternatives such as get_telemetry_laps.

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 description covers the optional driverId narrowing ('Optionally filter to a single driver with driverId'), which implies when to use the filtered form. However, it gives no guidance on when to choose this over sibling tools like get_race_telemetry_laps or get_telemetry_driver_laps, nor any prerequisites beyond the auth tier.

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