Skip to main content
Glama

get_calendar_free_slots

Retrieve available free slots for a specified calendar and date range to identify bookable appointment times.

Instructions

Get available free slots for a calendar. Useful for booking appointments.

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": {
      "calendarId": "<calendarId>",
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "get_calendar_free_slots"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateYesEnd date (YYYY-MM-DD or epoch ms)
timezoneNoTimezone (e.g., America/New_York)
startDateYesStart date (YYYY-MM-DD or epoch ms)
calendarIdYesThe calendar ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet "Get" only implies a non-mutating read. It does not explain how availability is determined, slot duration or granularity, result behavior, or relevant defaults, and there is no output schema to fill those gaps.

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?

Two short sentences front-load the operation and immediately follow it with the appointment-booking use case. There is no filler or redundancy; the remaining omissions concern completeness rather than wording or structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description and rich input schema are sufficient for basic tool selection and invocation. However, without annotations or an output schema, important questions about slot generation, granularity, timezone defaults, and the returned availability representation remain unanswered.

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%, including date formats, the calendar ID, and a timezone example, so the baseline score of 3 applies. The description adds no parameter meaning beyond the schema, such as date-range boundary semantics or the default timezone when none is supplied.

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 description states a specific operation and resource: "Get available free slots for a calendar." This clearly identifies availability retrieval, but it does not explicitly differentiate the tool from its calendar or event-related siblings.

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?

"Useful for booking appointments" explicitly supplies a practical use case rather than leaving usage entirely implicit. It provides no when-not guidance, prerequisites, or alternatives for other calendar-related tasks.

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