Skip to main content
Glama

list_all_events

Read-only

Fetch events from multiple Google Calendars in one request by querying each calendar in parallel, avoiding one call per calendar.

Instructions

List events across multiple calendars in one call, fanning out to each calendar in parallel instead of requiring one list_events call per calendar. At most LIST_ALL_EVENTS_MAX_CONCURRENCY (default 20) calendars are queried at once, shared across every concurrent list_all_events call on this server.

Args: time_min: Lower bound (inclusive) for event start times, RFC 3339 format, e.g. '2026-01-01T00:00:00Z'. Defaults to the current UTC time. time_max: Upper bound (exclusive) for event end times, RFC 3339 format. query: Free-text search terms to find events matching summary, description, location, attendee names/emails. calendar_ids: Calendar IDs to query. Defaults to every calendar in the authenticated user's calendar list (list_calendars). max_results_per_calendar: Maximum number of events to return per calendar (default 50, max 2500). expand_recurring: When True (default), recurring events are expanded into individual instances. When False, each recurring series is returned as a single master event. group_by_calendar: When False (default), returns a flat list of events sorted by calendar. When True, returns a dict keyed by calendar summary instead (disambiguated with " (calendar_id)" suffix when two calendars share the same summary).

Returns: A flat list of events (each including calendar_id and calendar_summary), or if group_by_calendar=True, a dict mapping calendar summary to that calendar's event list. A calendar that fails to query is included inline as {calendar_id, calendar_summary, error} rather than aborting the batch. If the calendar list itself fails to load and calendar_ids wasn't given (so there's no way to know what to query), returns a single top-level {"error": ...} instead of raising. Raises ValueError if the response exceeds the safety cap (see MAX_TOOL_RESPONSE_CHARS in docs/configuration.md for the configured default) — narrow the time window, pass calendar_ids, or lower max_results_per_calendar.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_all_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
time_maxNo
time_minNo
calendar_idsNo
expand_recurringNo
group_by_calendarNo
max_results_per_calendarNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true: it discloses the concurrency ceiling shared across all concurrent calls on the server, the partial-failure contract (failed calendars returned inline as {calendar_id, calendar_summary, error} rather than aborting), the top-level error path when the calendar list itself can't load, and the ValueError safety cap with remediation steps. This is unusually complete behavioral disclosure for a read-only listing tool.

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-loads the one-sentence purpose before the structured Args/Returns blocks, and nearly every line carries operational information. The Returns section partially restates what the output schema already conveys, and the doc-reference parenthetical about MAX_TOOL_RESPONSE_CHARS is a small digression, but neither is filler.

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?

For a seven-parameter fan-out tool with 0% schema coverage, the definition supplies defaults, formats, error semantics, and remediation for the one failure mode an agent can actually fix. Nothing needed to invoke it correctly is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry all seven parameters — and it does, documenting format (RFC 3339 with an example), inclusivity/exclusivity of the time bounds, defaults (current UTC time, all calendars from list_calendars, 50 per calendar), and the max-2500 ceiling. It also explains the semantic effect of expand_recurring and group_by_calendar, including the " (calendar_id)" disambiguation suffix for duplicate summaries.

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?

Opens with a specific verb and resource ("List events across multiple calendars in one call") and immediately distinguishes itself from the sibling list_events by explaining that it fans out in parallel instead of requiring one call per calendar. An agent can pick between the two without opening either schema.

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?

Establishes the multi-calendar context for choosing this over list_events, and gives concrete recovery guidance when the safety cap trips (narrow the time window, pass calendar_ids, lower max_results_per_calendar). It never states an explicit exclusion such as "use list_events when targeting a single calendar," so the routing rule is implied rather than spelled out.

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