Skip to main content
Glama

Find free calendar slots

find_free_slots
Read-onlyIdempotent

Find free appointment slots in a connected Google or Apple calendar, without any saved agent configuration. slotMinutes is the length of each slot: 15, 30, 45, 60, 90 or 120, default 30. minNoticeMinutes keeps the earliest slot at least that far from now: 0 to 10080, default 120. bufferMinutes keeps that much time free before and after every busy event: 0 to 60, default 0. limit caps how many slots come back: 1 to 50, default 20. windows defaults to 24 hours every day when the whole field is omitted; a weekday left out of a supplied windows object has no window that day. Get integrationId from list_integrations and calendarId from list_calendars. The response never includes event titles or descriptions - only start/end and the connection's timezone. Same data as POST /v1/integrations/{id}/availability (response schema in /openapi.json).

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": {
      "integrationId": "<integrationId>",
      "calendarId": "<calendarId>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "find_free_slots"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesUpper bound of the search window, RFC 3339 with an offset. Must be after from and at most 31 days later, otherwise calendar_invalid_range.
fromYesLower bound of the search window, RFC 3339 with an offset.
limitNoMaximum number of slots to return, 1 to 50. Defaults to 20.
windowsNoAvailability windows per weekday, local HH:MM time in timezone. A weekday left out of this object has no window that day. Omit the whole field for 24 hours every day.
timezoneNoIANA timezone the windows and returned slots are interpreted in. Defaults to Europe/Prague.
calendarIdYesCalendar id from list_calendars, for example primary.
slotMinutesNoLength of each offered slot in minutes. Defaults to 30.
bufferMinutesNoBuffer kept free immediately before and after every busy event, in minutes. Defaults to 0.
integrationIdYesId of the connection (int_...) from list_integrations.
busyCalendarIdsNoOther calendars in the same connection whose events also block a slot; nothing is written into them, so read-only calendars are fine. At most 4, without duplicates and without calendarId itself.
minNoticeMinutesNoMinimum notice before the earliest offered slot, in minutes. Defaults to 120.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish the read-only, idempotent, non-destructive, open-world profile. The description adds meaningful behavior beyond that: the response omits event titles and descriptions, returns only start/end and timezone, and is equivalent to the POST /v1/integrations/{id}/availability endpoint. It does not discuss failure modes or rate limits, but the privacy and response-shape disclosures are valuable.

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 description is front-loaded with the tool's purpose and then walks through the important parameters in a dense but logical paragraph. Every sentence carries information, though the single-block format makes it slightly harder to scan than a structured list would be.

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?

Given 11 parameters, nested windows, no output schema, and rich annotations, the description covers the essentials: purpose, key defaults, ID sources, timezone-aware response contents, and REST-equivalent semantics. It leaves busyCalendarIds and timezone largely to the schema, but the overall definition is complete enough for an agent to call the tool 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 description coverage is 100%, so the baseline is 3. The description restates key defaults and enum values for several parameters and points to the sibling tools for the two required IDs, but it largely mirrors the schema and omits practical context for parameters like busyCalendarIds and timezone.

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 verb and resource: 'Find free appointment slots in a connected Google or Apple calendar.' The qualifier 'without any saved agent configuration' further scopes it, and the tool is clearly distinguishable from sibling calendar tools that list or mutate events.

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?

The description tells the agent where to obtain the required identifiers ('Get integrationId from list_integrations and calendarId from list_calendars'), which is useful routing guidance. It does not explicitly state when to prefer this over alternatives such as propose_calendar_update or list_calendar_events, but the intended availability-checking use case 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.