Skip to main content
Glama

get_race_control_messages

Retrieve race control communications including flags, safety car periods, investigations, and penalties for specific Formula 1 sessions.

Instructions

Get race control messages - flags, safety cars, investigations, penalties.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' message_type: Filter type - 'all', 'penalties', 'investigations', 'flags', 'safety_car' (default: 'all')

Returns: RaceControlMessagesResponse with filtered messages

Examples: get_race_control_messages(2024, "Monaco", "R") → All race control messages get_race_control_messages(2024, "Monaco", "R", "penalties") → Penalties only get_race_control_messages(2024, "Monaco", "R", "flags") → Flag periods only

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYes
gpYes
sessionYes
message_typeNoall

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYesRace control messages
event_nameYesGrand Prix name
session_nameYesSession name
total_messagesYesTotal number of messages
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It mentions filtering capabilities and return type but lacks details on permissions, rate limits, error conditions, or data freshness. For a tool with 4 parameters and no annotation coverage, this leaves significant behavioral gaps.

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?

The description is well-structured with clear sections (purpose, args, returns, examples) and uses minimal sentences that each add value. While slightly longer due to parameter explanations, it avoids redundancy and is appropriately sized for a tool with multiple parameters and filtering options.

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?

The description covers parameter semantics thoroughly and mentions the return type, but with no annotations and a complex tool (4 params, filtering), it lacks behavioral context like error handling or data limitations. The presence of an output schema reduces the need to explain return values, but overall completeness is moderate given the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Given 0% schema description coverage, the description compensates fully by explaining all 4 parameters in detail: year constraints (2018+), gp format (name or round), session codes with examples, and message_type options with default. The examples further clarify parameter usage, adding substantial value beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Get race control messages') and resources ('flags, safety cars, investigations, penalties'), distinguishing it from sibling tools like get_driver_radio or get_session_results that handle different data types. It precisely defines what data is retrieved without being vague or tautological.

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 description provides no guidance on when to use this tool versus alternatives. While it lists examples, it doesn't explain scenarios where race control messages are needed over other data sources or mention any prerequisites, leaving the agent to infer usage context from parameter descriptions alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/praneethravuri/pitstop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server