# Calendar

Google Calendar tools in the DataToRAG MCP server: list, create, update, and delete events, check free/busy, suggest meeting times, and answer invitations.

Updated: 2026-11-25  
Source: https://datatorag.com/docs/calendar

DataToRAG is an MCP server whose Google Calendar tools let an agent manage your calendar: viewing your schedule, creating events, and checking availability.

## Google Calendar tools

| Tool | Description |
|------|-------------|
| `calendar_list_events` | List events in a date range, or search them with `query` (free-text, matches title, description, location and attendees, within the date range). Compact by default (plain-text descriptions cut at 500 characters unless you raise `max_description_chars`, attendee count + your response status, full roster on meetings of 10 or fewer, join links, recurring flag, attachments; `full: true` for the raw payload). A listing with more events than `max_results` carries a `nextPageToken`; pass it back as `page_token` to read the next page. For what changed since a time, `updated_min` keeps only events changed after it (Google refuses a time too far back), `show_deleted: true` includes canceled events with `status: "cancelled"`, and `order_by: "updated"` orders by last change instead of start time |
| `calendar_get_event` | Get full details of a specific event, with the description converted to plain text (`full: true` keeps the original HTML) |
| `calendar_create_event` | Create a new event with attendees, location and description. `add_meet: true` adds a Google Meet link; `calendar_id` picks a calendar other than your primary one; guests are emailed unless `send_updates` says otherwise |
| `calendar_update_event` | Update an existing event. Only the fields you pass change; `attendees` replaces the whole guest list |
| `calendar_delete_event` | Delete an event |
| `calendar_freebusy` | Check free/busy status for one or more people in a time range |
| `calendar_suggest_time` | Suggest free slots of a given length for you and the attendees you name, within a window of up to 31 days, inside working hours in one time zone (the primary calendar's unless you give one). Slots start on the quarter hour and weekends are left out unless `include_weekends` is true. The answer says whose calendars were checked and whose could not be |
| `calendar_respond_to_event` | Answer an invitation with accepted, declined or tentative, with an optional comment. Only your own response changes; the organizer is notified unless `send_updates` says otherwise |
| `calendar_list_calendars` | List the calendars on the account: ID, name, whether it is the primary one, your access role and its time zone. The ID feeds the other Calendar tools |

## Scopes the Google Calendar tools need

- `https://www.googleapis.com/auth/calendar`

## Using Google Calendar on more than one account

Every tool on this page takes an optional `account` argument: the email address
of the connected Google account to act on. Omit it and the default account is
used. Connect a personal and a work account and your agent can read from
one and write to the other in the same turn, without you switching profiles.

## Example prompts for Google Calendar

- "What's on my calendar for tomorrow?"
- "Schedule a 30-minute 1:1 with alex@company.com next Tuesday afternoon"
- "Check when both Sarah and Mike are free this week for a team sync"
- "Move my Friday standup to Thursday at the same time"
- "Cancel all meetings on Friday and send a note that I'm out sick"

## Frequently asked questions

### Can DataToRAG check when several people are free?

Yes. The Calendar free/busy tool checks free and busy status for one or more people across a time range, which is what makes finding a slot across several calendars a single request.

### Can it search my calendar, or only list a date range?

Both. The Calendar list tool takes an optional free-text query that matches an event's title, description, location and attendees, applied within the date range you give it.

### Why does an event come back without the full attendee list?

Because the Calendar listing is compact by default. It returns an attendee count and your own response status, and includes the full roster only on meetings of ten or fewer, alongside plain-text descriptions, join links, a recurring flag and attachments. Asking for the full payload returns the raw Google response instead.

### Are event descriptions returned as HTML?

No, as plain text. The Calendar tools convert an event's description to plain text by default, and the full payload option keeps the original HTML if you need it.
