Skip to main content
Glama

Calendar Get Calendar Digest

calendar_get_calendar_digest
Read-onlyIdempotent

Summarizes your upcoming primary-calendar events and unanswered invitations for the next N days, with recurring events expanded. Use it to answer "what is on my calendar" and find invitations still awaiting a reply.

Instructions

Summarize the user's upcoming schedule: events on the primary calendar from now until the given number of days ahead, with recurring events expanded. Use it for "what is on my calendar" and pending invitations; for another calendar or a specific window use calendar_search_events. Returns events (compact, earliest first), count, account_timezone, and requires_response: the events whose invitation the user has not answered yet, which calendar_respond_to_event can answer.

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": "calendar_get_calendar_digest"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLength of the window in days, starting now.
max_resultsNoMaximum events to return, earliest first; events past this count are left out.

Output Schema

NameRequiredDescriptionDefault
countNoNumber of items in this response.
eventsNoEvents in the window, earliest first.
has_moreNoWhether another page is available.
fetched_atNoRFC3339 time when this response was fetched.
next_page_tokenNoOpaque token for the next page, or null.
account_timezoneNoIANA time zone of every time in this result.
window_day_countNoDays covered, starting now.
requires_responseNoThe events whose invitation the user has not answered, shaped like events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.2.0
    • addedOutput schema / properties / account_timezone / description
      Added value: +"IANA time zone of every time in this result."
    • addedOutput schema / properties / events / description
      Added value: +"Events in the window, earliest first."
    • addedOutput schema / properties / events / items / description
      Added value: +"Compact event."
    • addedOutput schema / properties / events / items / properties
      Added value: +{
      +  "all_day": {
      +    "description": "Whether the event spans whole days.",
      +    "type": "boolean"
      +  },
      +  "attendee_count": {
      +    "description": "Number of guests.",
      +    "type": "integer"
      +  },
      +  "end": {
      +    "description": "End in the account time zone (RFC3339), or a date for all-day events.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "event_timezone": {
      +    "description": "Zone the event was scheduled in, when it differs from the account's.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "id": {
      +    "description": "Event ID (an instance ID for an expanded recurring event).",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "is_recurring": {
      +    "description": "Whether the event belongs to a recurring series.",
      +    "type": "boolean"
      +  },
      +  "location": {
      +    "description": "Location text.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "meeting_url": {
      +    "description": "Video meeting link.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "my_response": {
      +    "description": "The user's own response: needsAction, accepted, declined or tentative.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "organizer": {
      +    "description": "Organizer name and email.",
      +    "type": "object"
      +  },
      +  "requires_response": {
      +    "description": "True when the user has not answered the invitation.",
      +    "type": "boolean"
      +  },
      +  "start": {
      +    "description": "Start in the account time zone (RFC3339), or a date for all-day events.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "status": {
      +    "description": "confirmed, tentative or cancelled.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "title": {
      +    "description": "Event title, '(untitled event)' when it has none.",
      +    "type": "string"
      +  },
      +  "updated_at": {
      +    "description": "Last modification time in the account time zone.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / events / items / type
      Added value: +"object"
    • addedOutput schema / properties / requires_response / description
      Added value: +"The events whose invitation the user has not answered, shaped like events."
    • addedOutput schema / properties / requires_response / items / type
      Added value: +"object"
    • addedOutput schema / properties / window_day_count / description
      Added value: +"Days covered, starting now."
  2. Addedv2.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, open-world), the description discloses that recurring events are expanded, that results come back compact and earliest-first, and that max_results silently drops later events. It also explains that requires_response contains only invitations the user has not answered — context the annotations cannot supply.

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 action and scope, then the routing rule, then the return shape. Dense but nearly every clause earns its place; the return-value sentence is slightly at odds with the existing output schema, but it still carries the requires_response nuance.

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?

All parameters are described, annotations cover the safety profile, and an output schema exists, so the description need only fill behavioral gaps — which it does by covering recurrence expansion, ordering, truncation, and the pending-invitation semantic.

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% and both parameters are documented with defaults, so the schema already carries the weight. The description restates the days window and the earliest-first ordering of max_results but adds no format or edge-case detail (e.g. how recurring instances count toward max_results).

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 and resource ('Summarize the user's upcoming schedule') and immediately bounds the scope: events on the primary calendar, from now to N days ahead, with recurring events expanded. The agent can distinguish it from calendar_search_events 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 Guidelines5/5

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

Gives explicit when-to-use cases ('what is on my calendar' and pending invitations) and names the alternative with the condition that selects it ('for another calendar or a specific window use calendar_search_events'). It also routes the requires_response follow-up to calendar_respond_to_event.

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