Skip to main content
Glama

Unoccupied time windows in the calendar

get_free_slots
Read-onlyIdempotent

Find unoccupied time windows in the authenticated user calendar. from and to are optional ISO 8601 date or date-time (default ±31 days). The window cannot exceed 366 days. duration is the minimum slot length in minutes (default 30, range 5–1440). Optional dayStart and dayEnd limit the search to a workday in HH:MM (24-hour, user timezone). Slot bounds use the user timezone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO 8601 date or date-time; default 31 days after now; the window cannot exceed 366 days
fromNoISO 8601 date or date-time; default 31 days before now; the window cannot exceed 366 days
dayEndNoWorkday end in HH:MM (24-hour, user timezone)
dayStartNoWorkday start in HH:MM (24-hour, user timezone)
durationNoMinimum slot length in minutes (default 30, range 5–1440)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
slotsYesUnoccupied windows at least as long as duration

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive). The description adds substantial behavioral detail: default time window (±31 days), maximum 366-day window, duration range, workday limits via dayStart/dayEnd, and timezone handling. These details go well beyond annotations and clarify edge-case behavior.

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

Conciseness5/5

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

The description is concise and well-structured: it opens with the core purpose, then details parameters in a logical order, and ends with a timezone note. No filler or redundant phrasing.

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?

Given the presence of an output schema, the description covers all necessary invocation details: parameter defaults, constraints, workday limits, and timezone behavior. It provides complete context for an agent to call the tool correctly without missing critical information.

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 each parameter is already documented. The description largely restates these defaults and ranges, adding only a marginal note about slot bounds using the user timezone. It does not introduce significant new meaning beyond the schema, so the baseline of 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?

The description clearly states the tool finds unoccupied time windows in the authenticated user calendar, using the verb 'find' with a specific resource. This distinguishes it from siblings like find_conflicts or get_event without ambiguity.

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 provides clear context for when to use the tool (to discover free time slots) and explains parameter usage with defaults and constraints, but it does not explicitly name alternative tools or state when not to use it. This is clear context without exclusion guidance.

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