Skip to main content
Glama
@racehooks/mcp

@racehooks/mcp

Official

Get Race Pitstops

get_race_pitstops
Read-onlyIdempotent

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.

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": {
      "raceId": "<raceId>"
    },
    "name": "get_race_pitstops"
  }
}

Input Schema

NameRequiredDescriptionDefault
raceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds one piece of context beyond that: the tool is available on every plan (an access/entitlement constraint). It says nothing about behavior for races with no pit data, pagination, or error conditions.

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 short sentences, front-loaded with the core purpose and the returned fields, with no filler. Every clause carries information the agent can use.

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?

With no output schema, the field enumeration partially compensates by naming the return shape, but types and units (e.g., whether duration is milliseconds or a string) are absent. The raceId origin and behavior on races lacking pit data remain unexplained, leaving real gaps for a data-fetch tool.

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% and the single required parameter raceId is undocumented anywhere — no format, no source (e.g., from get_race or list_events), no example. The description must compensate here and does not.

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 all pit stop records for a race) and enumerates the fields returned (driver, stop number, lap, duration), so the agent knows exactly what comes back. It does not explicitly distinguish itself from adjacent siblings such as get_race_laps or get_fantasy_pit_times, but the resource 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?

The only usage-adjacent sentence is 'Available on every plan', which is a plan-availability fact, not when-to-use guidance. There is no statement of when to prefer this over get_race_laps, get_race_tyres, or get_fantasy_pit_times, and no prerequisites or exclusions.

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