Skip to main content
Glama

Calendar Find Free Time

calendar_find_free_time
Read-onlyIdempotent

Check availability across up to 50 calendars or people, test a chosen time window, and return suggested meeting slots within working hours.

Instructions

Check the free/busy times of up to 50 calendars or people over one window. To test a chosen time, pass it as the window and read all_free; to find meeting times, read suggested_slots, then book with calendar_create_event. Returns all_free (true only when every calendar was read and is free for the whole window), calendars in request order (id, free, null when unreadable, busy periods, errors such as notFound), suggested_slots (start/end within working hours when every readable calendar is free; unreadable ones count as free), total_suggestions and count (both the number of suggested_slots), timezone (the zone of every time) and the window and slot settings used.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "participants": "<participants>",
      "time_max": "<time_max>",
      "time_min": "<time_min>"
    },
    "name": "calendar_find_free_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
time_maxYesEnd of the window, in the same formats as time_min; must be after it. To test one chosen slot, pass its end here.
time_minYesStart of the window: RFC3339 with offset, a naive 'YYYY-MM-DDTHH:MM:SS' or a 'YYYY-MM-DD' (midnight), the last two read in time_zone. To test one chosen slot, pass its start here.
time_zoneNoIANA time zone name, e.g. 'Europe/Berlin', used to read naive time_min/time_max, to apply working hours and for every time returned; defaults to the account's calendar time zone.
max_resultsNoMaximum slots to suggest, 1 to 100, earliest first.
participantsYesCalendar IDs ('primary', or an id from calendar_get_calendar_context) or attendee email addresses whose busy times are checked, 1 to 50, as a JSON array.
working_hours_endNoLatest time of day a suggested slot may end, HH:MM in 24-hour format; must be after working_hours_start.17:00
granularity_minutesNoMinutes between candidate start times inside a free period, 5 to 240.
working_hours_startNoEarliest time of day a suggested slot may start, HH:MM in 24-hour format.08:00
slot_duration_minutesNoLength of each suggested slot in minutes, 5 to 480.

Output Schema

NameRequiredDescriptionDefault
countNoNumber of items in this response.
all_freeNo
time_maxNo
time_minNo
timezoneNo
calendarsNo
suggested_slotsNo
total_suggestionsNo
working_hours_endNo
granularity_minutesNo
working_hours_startNo
slot_duration_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still discloses subtle semantics beyond them: all_free is true only when every calendar was actually read, while suggested_slots treats unreadable calendars as free, and unreadable entries return free=null with errors such as notFound. These are exactly the edge cases an agent needs before trusting a result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and usage modes are front-loaded and waste-free, but the returns sentence is a long run-on that enumerates output fields (total_suggestions, count, timezone, window and slot settings) already covered by the output schema. The interpretive parts (all_free, unreadable-as-free) earn their place; the field inventory does not.

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?

For a 9-parameter, multi-calendar query tool with an output schema, the description covers intent, both calling modes, and the non-obvious result interpretation, with IDs like 'primary' or calendar IDs covered in the schema. Nothing an agent needs to invoke it correctly 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?

Schema description coverage is 100%, so per-parameter meaning (time_zone, working hours, granularity, slot duration) is already documented in the schema. The description only adds the 'window' framing that unifies time_min/time_max with the slot-testing use case, which is marginal added value over structured fields. Baseline 3 is appropriate.

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 ('Check the free/busy times') with a bounded scope ('up to 50 calendars or people over one window'), and explicitly frames the two operating modes (test a chosen time vs. find meeting times). An agent can tell this apart from event-reading and event-creation siblings without opening the schema.

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 concrete when-to-use guidance for two workflows: 'to test a chosen time, pass it as the window and read all_free' and 'to find meeting times, read suggested_slots, then book with calendar_create_event'. It names the downstream tool for booking. It does not state when not to use it (e.g., versus event-search or digest tools), so it stops 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.

Deploy Server

Other Tools