Skip to main content
Glama

Get Sessions

get_sessions
Read-onlyIdempotent

List F1 sessions (a Race, Qualifying, or Practice within a Grand Prix weekend). Use to find the session_key needed for drivers/laps. Filter by year, country, session_name ("Race","Qualifying","Practice 1"), or meeting_key.

Input Schema

NameRequiredDescriptionDefault
yearNoSeason year, e.g. 2024.
meeting_keyNoRestrict to one Grand Prix weekend (from get_meetings).
country_nameNoHost country, e.g. "Bahrain".
session_nameNoe.g. 'Race', 'Qualifying', 'Practice 1'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "session_name": "Race",
      +    "year": 2024
      +  },
      +  {
      +    "meeting_key": 1234,
      +    "session_name": "Qualifying"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint. Description adds context about session types and filtering, but no extra behavioral details like pagination or rate limits. Adequate given annotation richness.

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?

Three concise sentences with all key points front-loaded: what it does, why use it, and filter options. No wasted words.

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?

No output schema, and description does not explain return fields (e.g., session_key, date). Sufficient for a simple list tool but could be more complete.

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?

Schema coverage is 100% with good descriptions. Description adds value by explaining the relationship to get_meetings and typical values for session_name, going beyond 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?

Clearly states it lists F1 sessions (specific resource) and defines what a session is (Race, Qualifying, Practice within a GP weekend). Implicitly distinguishes from siblings by mentioning usage for drivers/laps and referencing get_meetings in parameter.

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?

Explicitly says to use it to find session_key needed for drivers/laps, giving clear context. Lists filter options but does not state when not to use or mention alternative tools beyond get_meetings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.