Skip to main content
Glama
racehooks

@racehooks/mcp

Official

get_race_pitstops

Retrieve all pit stop records for a specified race, including driver, stop number, lap, and duration, to analyze race strategy and performance.

Instructions

Get all pit stop records for a race (driver, stop number, lap, duration). Available on every plan.

Input Schema

NameRequiredDescriptionDefault
raceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 does add one genuinely useful behavioral fact — "Available on every plan" — ruling out subscription gating, which matters given the many billing/usage siblings. However, it does not state that this is a read-only operation, what happens with an invalid or unknown raceId, or whether results are paginated.

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 short sentences, front-loaded with the operation and the returned fields in an efficient parenthetical. The plan-availability clause earns its place; nothing is padded.

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?

No output schema and no annotations, so the description must supply the contract. It lists the returned fields, which partially covers that gap, but leaves out value formats (e.g., duration units), empty-result behavior, and error conditions for a bad raceId.

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% for the single required parameter raceId, so the description should compensate. It only implies that raceId identifies a race and gives no format guidance, no hint that IDs come from get_race/list_events, and no example value.

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 gives a specific verb and resource ("Get all pit stop records for a race") and enumerates the returned fields (driver, stop number, lap, duration), so an agent knows exactly what data comes back. It does not explicitly separate itself from adjacent siblings like get_fantasy_pit_times or get_race_laps, which keeps it from a 5.

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 statement of when to use this tool versus alternatives such as get_fantasy_pit_times (fantasy pit times) or get_race_laps. Usage is only implied by the name and the phrase "for a race"; no prerequisites or exclusions are given.

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