Skip to main content
Glama

Get Location

get_location

Fetch approximate car positions on a Formula 1 circuit from OpenF1 for a session and driver; use date_from/date_to to narrow results to a lap or time window.

Instructions

Fetch approximate car positions on the circuit from OpenF1.

Sampled at ~3.7 Hz — always narrow down with date_from/date_to (e.g., a single lap) to keep responses usable. Useful for gauging progress along the track, but lacks lateral placement (left/right side). The origin point (0, 0, 0) is arbitrary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x_maxNo
x_minNo
y_maxNo
y_minNo
z_maxNo
z_minNo
date_toNo
date_fromNo
session_keyNoint | str — required, positive int or 'latest'. Session identifier; use get_sessions to discover it.
driver_numberNoint — required, 1-99. Driver number for the season.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and delivers: ~3.7 Hz sample rate, the volume implication requiring narrow ranges, lack of lateral placement, and an arbitrary origin. It omits any auth/permission or auth-requirement notes but discloses the salient data-shape traits.

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?

Four tight sentences, front-loaded with the core purpose, then the sampling/volume caveat, then coordinate limitations. Every sentence earns its place with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 the description covers the key caveats (sampling rate, coordinate limits, arbitrary origin) needed to interpret results. The main gap is the undocumented bounding-box filters, but for a data-fetch tool this is largely complete.

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 only 20%, so the description must compensate. It meaningfully explains date_from/date_to usage and the arbitrary (0,0,0) origin that gives x/y/z coordinate context, but the six x_min/x_max/y_min/y_max/z_min/z_max bounding-box parameters are left undefined in both schema and description.

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 (Fetch) and resource (approximate car positions on the circuit) plus the data source (OpenF1). It implicitly distinguishes from get_positions by clarifying these are on-track coordinates rather than standings, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operational guidance: always narrow with date_from/date_to (e.g., a single lap) to keep responses usable. It lacks explicit when-not conditions or named alternatives, but tells the agent how to use the tool effectively.

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