Skip to main content
Glama

get_calendar_events

Retrieve calendar events within a specified time range and filter by user ID, group ID, or calendar ID to view scheduled activities.

Instructions

Get calendar events. Requires at least one of: userId, groupId, or calendarId.

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": {
      "startTime": "<startTime>",
      "endTime": "<endTime>"
    },
    "name": "get_calendar_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdNoUser ID to filter events
endTimeYesEnd time (epoch ms)
groupIdNoGroup ID to filter events
startTimeYesStart time (epoch ms)
calendarIdNoCalendar ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add one genuinely useful behavioral fact the schema omits: at least one of userId/groupId/calendarId must be supplied despite only startTime/endTime being formally required. It says nothing about result volume, pagination, maximum time range, or permissions, which matter for a read over a potentially large event set.

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 with zero filler; the operation is front-loaded and the constraint follows immediately. Nothing in it is redundant with the name.

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?

For a five-parameter read tool with full schema descriptions and no output schema, the definition covers the core invocation constraint. It stops short of describing whether multiple filters intersect, expected result shape/sorting, or any range limits, which an agent would need for a confident call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so per the rubric the baseline is 3, and the description earns above that by stating a cross-parameter constraint (at least one of userId, groupId, calendarId) that the input schema does not express anywhere. It does not clarify whether those filters can be combined or which one wins when several are given.

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 gives a clear verb and resource ("Get calendar events"), so an agent knows the operation type immediately. It does not differentiate from nearby siblings such as get_calendar, get_calendars, or get_calendar_free_slots, so the boundary between listing events and listing calendars or free slots is left to inference.

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

Usage Guidelines2/5

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

The second sentence is a parameter constraint ("Requires at least one of: userId, groupId, or calendarId"), not guidance on when to choose this tool over an alternative. There is no statement of when this tool applies versus get_calendar_free_slots or get_calendar, and no exclusions.

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