Skip to main content
Glama

find_free_slots

Read-only

Queries busy periods across specified calendars and returns available time slots within a given window, so you can schedule meetings without conflicts.

Instructions

Query busy times for a list of calendars and return free slots within the window.

Args: calendar_ids: List of calendar IDs to check (use 'primary' for the user's primary calendar). time_min: Start of the window to check, RFC 3339 format, e.g. '2026-06-01T09:00:00Z'. time_max: End of the window to check, RFC 3339 format. timezone: IANA timezone name for the query (default 'UTC').

Returns: busy: dict mapping each calendar_id to its list of busy periods ({start, end} each in RFC 3339). A calendar the freebusy API couldn't read (bad id, no access, etc.) maps instead to a single-element list holding {calendar_id, calendar_summary, error} — the same per-calendar error shape list_all_events uses, rather than aborting the whole query. calendar_summary falls back to the id when the calendar isn't in the user's list. free_slots: list of free periods ({start, end}) across all calendars, computed as the complement of the union of all busy times.

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": {
      "calendar_ids": "<calendar_ids>",
      "time_min": "<time_min>",
      "time_max": "<time_max>"
    },
    "name": "find_free_slots"
  }
}

Input Schema

NameRequiredDescriptionDefault
time_maxYes
time_minYes
timezoneNoUTC
calendar_idsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses genuinely important behavior: unreadable calendars do not abort the whole query but map to a per-calendar {calendar_id, calendar_summary, error} entry, with calendar_summary falling back to the id. It also defines the free_slots computation precisely as the complement of the union of busy times, which is exactly the semantic an agent needs before trusting the result.

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?

It is front-loaded with a one-line summary, then Args and Returns sections, and nearly every line adds information. The Returns block is somewhat long, but the error-shape detail earns its space; there is little wasted wording.

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 four-parameter read-only availability query, the definition covers inputs, the computed output semantics, and partial-failure behavior. With an output schema present, the return description is a helpful supplement rather than a required substitute, so nothing an agent needs is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does so: it explains calendar_ids (including the 'primary' sentinel), the RFC 3339 format and example for time_min, the meaning of time_max, and that timezone is an IANA name defaulting to UTC. All four parameters gain meaning not present in the bare schema.

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?

The opening sentence names a specific verb and resource: query busy times for a list of calendars and return free slots within a window. That is clear enough to distinguish this from list_events or get_event, but the description never explicitly contrasts itself with those siblings, so the differentiation is left implicit.

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?

There is no explicit when-to-use or when-not-to-use statement, and no alternative tool is named. Intended use (scheduling/availability checks across multiple calendars) is strongly implied by 'free slots' and 'complement of the union of all busy times', but the agent must infer it.

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