Skip to main content
Glama
racehooks

@racehooks/mcp

Official

get_session_analytics

Retrieve per-lap ML analytics for a session, including pit and safety car probabilities, tyre health, and win probability.

Instructions

Get per-lap ML analytics snapshot for a session (pit probability, SC probability, tyre health, LTOE, win probability). Requires Developer or higher.

Input Schema

NameRequiredDescriptionDefault
sessionIdYesSession ID, e.g. '2026-bahrain_r'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the auth tier and the general shape of the payload, but does not state whether data is live or historical, whether missing laps are omitted, or whether the call is expensive/rate-limited.

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 tight sentences: the capability and its metric list come first, the access constraint second. Nothing redundant or padding-like.

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?

For a single-parameter read with no output schema, the description covers what is returned at a high level and the access requirement. Minor gaps remain around data freshness (live vs post-session) and behavior for unavailable analytics, but nothing essential to calling it is missing.

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?

There is a single parameter with 100% schema description coverage (including an example ID), so the schema already does the work. The description's phrase 'for a session' adds only confirmation, consistent with the baseline 3 for high-coverage schemas.

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 ('Get') and resource ('per-lap ML analytics snapshot for a session') and enumerates the metrics returned (pit probability, SC probability, tyre health, LTOE, win probability). It is distinct from sibling listing tools, though it doesn't explicitly contrast with analytics-adjacent siblings like get_race_insights or get_live_session.

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 supplies a prerequisite ('Requires Developer or higher'), which is genuinely useful. However, it gives no guidance on when to choose this over siblings such as get_race_insights or get_live_session, and no indication of whether it works only for completed sessions.

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