Skip to main content
Glama

Get Events by Date Range

calendar_get_events
Read-onlyIdempotent

Fetch calendar events for a specified date range to check availability or review schedules; supports pagination for large result sets.

Instructions

Get events in a date range. Dates should be ISO 8601 format (e.g. 2026-03-08). Returns pagination metadata. Use when: looking up events in a date range, checking availability for a period

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax events to return
offsetNoNumber of results to skip for pagination
endDateYesEnd date (ISO 8601)
calendarNo
startDateYesStart date (ISO 8601, e.g. 2026-03-08)
response_formatNoOutput format: 'json' for structured data, 'markdown' for human-readable textjson

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes
totalYes
offsetYes
has_moreYes
next_offsetNo
truncation_messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds the ISO 8601 date format requirement and notes pagination metadata is returned, which is mildly useful but partly duplicated by the output schema. No mention of timezone assumptions, date inclusivity, or maximum range behavior.

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?

Three short sentences, front-loaded with the core action, then the format constraint, then usage. Only the "Use when" clause partly repeats what the first sentence already said, a minor redundancy.

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?

An output schema exists, so return-value explanation is not required, and the description covers format and pagination. It omits whether the range is inclusive, how the calendar filter behaves, and the 500-result cap, which matter for a range query an agent must page through.

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 83%, so the schema carries most of the burden and the baseline is 3. The description only reinforces the ISO 8601 format already documented on startDate/endDate, and says nothing about the `calendar` parameter, which lacks a schema description entirely, leaving it unexplained.

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?

States a specific verb and resource with scope: "Get events in a date range." An agent can distinguish it from calendar_get_event (singular) only by inference from the range wording, since no sibling is named. Still clear enough to act on.

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?

The "Use when:" clause gives two concrete scenarios (looking up events in a period, checking availability). However, it largely restates the purpose and offers no exclusions or pointers to obvious alternatives like calendar_today or calendar_this_week for narrower windows.

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