Skip to main content
Glama
darshjoshi

Pitwall F1

by darshjoshi

Detect Overtakes

detect_overtakes
Read-onlyIdempotent

Find position gains by a Formula 1 driver between laps to reveal when they passed rivals in a chosen year and Grand Prix.

Instructions

Detect when a driver overtook others (position gained between laps).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gpYes
yearYes
driverYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety is covered. The description adds a useful analytical definition of an overtake, but omits important behavioral caveats such as whether pit-stop-induced position changes count or how overlapping/undercut passes are treated.

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?

A single front-loaded sentence with the operational definition in parentheses and zero filler. It is efficient, though its brevity is also the source of the missing guidance elsewhere.

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 no explanation, and the three parameters are simple. Still, with 0% schema coverage and an unresolved overlap with get_position_changes, the definition is only minimally sufficient for correct selection and invocation.

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 description says nothing about year, gp, or driver. The names are largely self-evident, but no format (e.g., GP naming convention, driver ID vs. name) is clarified, leaving three required parameters undocumented.

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 (detect) and resource (overtakes) and even operationalizes it as 'position gained between laps'. However, it never distinguishes itself from the closely related sibling get_position_changes, so an agent cannot route between them from the text alone.

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 prerequisites, and no named alternative. With get_position_changes sitting in the sibling list covering nearly the same concept, the absence of any routing rule is a real gap.

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