Skip to main content
Glama

query_freebusy

Find scheduling conflicts or free slots by querying busy periods across one or more calendars, without revealing event details.

Instructions

Query busy-time windows across one or more calendars.

Use this to find scheduling conflicts or free slots before creating an event — it returns only busy periods, not event details. For event details use get_events. This is the efficient way to compare availability across multiple people/rooms. Requires the calendar.readonly OAuth scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYesThe user's Google email address (authenticated account).
time_minYesInterval start, RFC3339 ("2026-05-12T10:00:00Z" or "2026-05-12").
time_maxYesInterval end, RFC3339.
calendar_idsNoCalendars to query (primary calendar, room resource IDs, or colleague emails if you have access). Defaults to ["primary"].
group_expansion_maxNoCap on members expanded from a Google group identifier, up to 100.
calendar_expansion_maxNoCap on calendars returned, up to 50.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description carries full burden. It discloses it returns only busy periods (not details), requires calendar.readonly OAuth scope, and is efficient for availability comparison. No contradictions.

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?

Four concise sentences: purpose, usage with alternative, efficiency note, and auth requirement. No fluff, well front-loaded with the main action.

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 6 parameters (3 required) and existence of output schema, the description adequately covers purpose, usage context, behavior, and auth. It is complete for an agent to decide when and how to use this tool.

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 coverage is 100%, so baseline is 3. The description does not add significant meaning beyond what the schema already provides for parameters like time_min, time_max, calendar_ids. It only mentions 'across one or more calendars' which is implicit.

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 it queries busy-time windows across calendars, distinguishing from get_events for event details. It uses a specific verb-resource combination and explicitly names the sibling tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly states when to use (before creating an event to find conflicts/slots) and when not ('For event details use get_events'). Also notes it's efficient for multiple people/rooms.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HuntsDesk/ve-gws'

If you have feedback or need assistance with the MCP directory API, please join our Discord server