Skip to main content
Glama

Find free time across calendars

find_free_time
Read-only

Finds free time slots of at least durationMinutes between from and to (default: the next 7 days), during working hours (dayStart to dayEnd, default 09:00 to 18:00) in timeZone (default: the time zone of the first account's primary calendar), skipping weekends unless includeWeekends is true. A slot is free only if it is free in EVERY connected Google Calendar account (or in the accounts given in accountIds). Returns up to max slots (start, end, ISO 8601) and the time zone used. Does not change anything.

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": "find_free_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd (ISO 8601). Defaults to 7 days after from.
maxNoMaximum number of slots.
fromNoStart (ISO 8601). Defaults to now.
dayEndNoWorking day end, HH:MM.18:00
dayStartNoWorking day start, HH:MM.09:00
timeZoneNoIANA time zone (Europe/Paris). Defaults to the calendar's.
accountIdsNoGoogle Calendar accounts to take into account. Omit for all.
durationMinutesNoMinimum length of a slot, in minutes.
includeWeekendsNoAlso look on Saturdays and Sundays.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, destructiveHint=false, openWorldHint=true), and the description adds real behavioral context beyond them: the all-accounts conjunction rule, the accountIds narrowing behavior, and the return shape (up to `max` slots with ISO 8601 start/end plus the time zone used). It does not cover failure modes such as zero connected accounts or how tentative/all-day events are treated, so it stops 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?

Front-loaded with the core behavior and free of filler, but the first sentence packs from/to/dayStart/dayEnd/timeZone/includeWeekends into one long clause chain, which costs scanability. Every clause still earns its place, so the cost is density rather than redundancy.

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?

For a 9-parameter, fully-defaulted read tool with no output schema, this is nearly complete: the output format is described explicitly and the cross-account rule removes the main ambiguity. The remaining gap is edge-case behavior (no connected accounts, conflicting time zones across accounts, all-day/tentative events).

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 coverage is 100%, so the baseline would be 3, but the description earns more by explaining derived defaults the schema only gestures at (to defaults to 7 days after from; timeZone defaults to the first account's primary calendar) and by stating the semantic effect of accountIds (omit = all accounts, each slot must be free in all). This is meaning the schema text alone does not convey.

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 precise verb and resource ('finds free time slots') plus the defining semantics: a slot must be free in EVERY connected account. That AND-across-accounts rule is what separates it from a plain event-listing tool, so the agent can tell what it is buying 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 Guidelines3/5

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

Usage is implied rather than stated: preconditions (working hours, weekends, defaults) are spelled out, but there is no explicit 'use this when scheduling X' or reference to list_calendar_events for inspecting existing events. An agent can infer the intent but is given no routing rule or when-not-to-use condition.

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