Skip to main content
Glama

list_events

Read-onlyIdempotent

Retrieve calendar events in a date range from a connected Google or Microsoft calendar. Use it to check upcoming meetings or past appointments; returns an empty list if no calendar is linked.

Instructions

Calendar events in [today - days_back, today + days_ahead]: [{id, subject, start, end, location, ...}]. Served by whichever calendar the user connected, Microsoft Graph or Google Calendar; the shape is identical either way. Returns [] or an error when no calendar account is connected (IMAP-only setups). Read-only. To propose meeting times prefer find_free_slots, which already applies working hours and margins.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
days_backNoAlso include this many past days.
days_aheadNoLook this many days into the future.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.3.0
    • addedInput schema / properties / days_ahead / description
      Added value: +"Look this many days into the future."
    • addedInput schema / properties / days_ahead / minimum
      Added value: +0
    • addedInput schema / properties / days_back / description
      Added value: +"Also include this many past days."
    • addedInput schema / properties / days_back / minimum
      Added value: +0
  2. First observedv0.1.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/destructive=false, so safety is covered; the description goes beyond them by disclosing that output shape is identical across Microsoft Graph and Google Calendar, and that it returns [] or an error on IMAP-only setups. No rate limits, pagination, or ordering behavior is mentioned, keeping it out of the top band.

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?

Front-loaded with the core verb and range, then progressively adds provider, error, and alternative detail. Every sentence earns its place, though the provider-shape remark is slightly verbose for a list tool.

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?

An output schema exists, so return values need not be re-explained; the description still contributes the provider-agnostic guarantee and the empty/error case. Combined with annotations and a fully documented 2-param schema, an agent has everything needed to call it correctly.

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 the baseline is 3, but the description adds the anchor semantics the schema lacks — both parameters are relative to 'today' and combine into a single closed interval. It does not add format or edge-case guidance (e.g., large values), so it modestly exceeds baseline.

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?

States a specific verb+resource (calendar events) and immediately bounds it with a concrete window formula, [today - days_back, today + days_ahead]. The provider note and the find_free_slots pointer make it clearly distinguishable from sibling list tools.

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?

Explicitly routes the agent: 'To propose meeting times prefer find_free_slots, which already applies working hours and margins' — a named alternative with a selecting condition. It also flags the no-calendar-connected failure case. It stops short of stating when-not to use this tool (e.g., vs. list_accounts for setup discovery), so it is not a full 5.

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