Skip to main content
Glama
@racehooks/mcp

@racehooks/mcp

Official

Get Live Session

get_live_session
Read-onlyIdempotent

Retrieves the current live session state—flag status, lap, driver positions, intervals, tyres, and race control messages—returning an inactive context when no session is live.

Instructions

Get the current live session state: flag status, lap number, driver positions, intervals, tyre compounds, and recent race control messages. Returns an empty/inactive context when no session is live. Live per-driver timing requires Developer or higher; Free receives the latest milestone classification (end of a qualifying segment or the final result) instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_live_session"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavioral detail beyond that: the empty/inactive return contract and the tier-based degradation (Developer+ gets live per-driver timing, Free gets only the latest milestone classification) — exactly the kind of gating an agent must anticipate.

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?

Three tight sentences, front-loaded with the verb and payload, followed by the empty-state contract and the tier caveat. No filler, though the field enumeration and tier sentence are dense enough that the return-shape detail could be slightly more scannable.

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?

With no output schema, the description carries the burden of describing the return payload and does so by listing the key fields, the empty-state behavior, and the entitlement-dependent variation. It is nearly complete for an agent's needs; only the exact shape/format of the returned context is left implicit.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The description correctly does not invent parameter discussion, instead spending its words on return semantics.

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?

States a specific verb and resource ("Get the current live session state") and enumerates the payload contents (flag status, lap number, driver positions, intervals, tyre compounds, race control messages). This clearly separates it from siblings like get_demo_session, list_replay_sessions, and get_session_analytics without requiring schema inspection.

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 usage context: it is for the *current* live session, and the "Returns an empty/inactive context when no session is live" line tells the agent how to interpret a null result rather than retrying. It does not name an explicit alternative for historical/replay data, so it falls short of a 5.

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