Skip to main content
Glama
GovIndLok

f1-mcp-server

by GovIndLok

run_a_query

Query Formula 1 data tables with custom columns, joins, and filters to retrieve specific race, lap, or result information.

Instructions

Execute custom queries with joins and filters on F1 data tables.

Args: main_table: Name of the main table to query (e.g 'fct_lap_times', 'fct_results' etc) columns: Dictonary mapping table name to list of columns. Format: {'table_name': ['col1','col2']}. Main table must be included joins: List of joins. Format:[{"table": "dim_table", "join_column": "id", "on_column": "fk_id"}] filters: List of filters. Format: [{"column": "col_name", "operator": "=", "value": "value"}]. (Make sure value is proper format int/string/float) (Use list[number, number] for between operator) filter_logic: Combine filters with "AND" or "OR" limit: Max rows to return (default: 20, max)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
joinNo
limitNo
columnsYes
filtersNo
main_tableYes
filter_logicNoAND

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It reveals constraints such as 'Main table must be included', value formatting requirements, and a default limit of 20, but it does not explicitly state whether the operation is read-only, what the response format is, or what 'max' means in the limit line.

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 front-loaded with a clear summary followed by an organized Args list. It includes valuable examples and constraints without excessive prose. Minor issues like the typo 'Dictonary' and the ambiguous 'limit: default: 20, max' keep it from being perfect.

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 parameter coverage is strong and the nested structures are explained, but the absence of an output schema and annotations leaves gaps: no description of the returned data shape, no clarity on whether queries are read-only, and the limit maximum value is unspecified. These are meaningful gaps for a query tool.

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?

Schema description coverage is 0%, so parameter documentation falls entirely on the description. It provides concrete formats and examples for all six parameters, including nested join/filter structures and the special between-operator syntax, fully compensating for the schema's silence.

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 opens with a specific action and resource: 'Execute custom queries... on F1 data tables.' It also names the key capabilities (joins and filters) that set it apart from sibling tools like list_tables and get_sample_data, making its role unambiguous.

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

Usage Guidelines3/5

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

The description explains how to use the tool through its args list, but it does not explicitly state when to choose this tool over the siblings or when it is not appropriate. Usage is implied ('custom queries'), with no exclusions or alternative routing.

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/GovIndLok/f1-mcp-server'

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