Skip to main content
Glama

Calendar

get_calendar
Read-onlyIdempotent

The user's local date, weekday and time, the training sessions in a window of days, and the races ahead with days to go. With no input: today and the next six days, plus the next 5 races. Pass start_date and end_date (or start_date and days) for any other window, races: 0 for the sessions alone. Each session carries its session_id, the handle the session tools take; each race carries race_slug when the site lists it and race_id either way. athlete.home_city is where the user lives, for travel and how far away a race is; update_profile sets it. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.

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_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDays from start_date, 1 to 400. Default 7. Ignored when end_date is given.
racesNoRaces to list, soonest first. Default 5, 0 for none, 25 at most.
end_dateNoLast day, YYYY-MM-DD (inclusive). Leave out to use days.
start_dateNoFirst day, YYYY-MM-DD. Defaults to today in the user's zone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, and closed-world, so the description is not carrying the safety burden — but it adds genuinely non-obvious behavior: 'Requires signing in', the fact that all dates are the user's local calendar dates in their own time zone, and the conditional presence of race_slug versus race_id. It does not discuss pagination limits beyond the race cap or failure modes, keeping it just short of a 5.

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 return contents are front-loaded, followed by invocation modes, identifier handoff, and environment notes — a logical progression with no filler sentences. It is dense and long-ish, and the athlete.home_city aside is a slight detour, but each sentence carries usable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 takes on the job of describing the return payload and does so thoroughly: date/time fields, sessions with session_id, races with race_slug/race_id, and days-to-go. Combined with the auth requirement and time-zone convention, an agent has everything needed to call it and interpret the result correctly.

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?

Schema coverage is 100% and the schema already documents ranges, defaults, and that end_date supersedes days, so the baseline of 3 applies. The description reinforces parameter meaning by pairing parameters into invocation patterns and stating the time-zone convention for dates, but adds little syntax or format detail beyond the 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 opens with a specific enumeration of what the tool returns — the user's local date/weekday/time, training sessions in a window, and upcoming races with days-to-go — which is a concrete verb+resource statement rather than a restatement of the name. It also implicitly differentiates itself from session/race siblings by explaining that each session carries the session_id those tools take and each race carries race_slug/race_id.

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

Usage Guidelines5/5

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

Explicit default behavior is given ('With no input: today and the next six days, plus the next 5 races'), along with the two ways to specify a window (start_date+end_date or start_date+days) and the special case 'races: 0 for the sessions alone'. It also routes the agent to update_profile for setting athlete.home_city, so the boundary with that sibling is clear.

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.

Resources