Skip to main content
Glama

Calendar Create Event

calendar_create_event
Destructive

Creates a calendar event with optional guests, Meet link, reminders, attachments or recurrence. It checks the calendar's busy times first, so an overlapping time returns a conflict and creates nothing.

Instructions

Create an event on one calendar, optionally with guests, a Meet link, reminders, attachments or a recurrence rule. The time is first checked against that calendar's busy times only, and an overlap fails with a conflict error that creates nothing; to plan around other people's calendars use calendar_find_free_time first. Returns status 'ok', event (id, title, start and end in the event's timezone, url, meeting_url, attendees and the other calendar_read_events fields), deduplicated (true when idempotency_key matched an existing event) and warnings, non-empty when the conflict check could not run. An event with guests asks the user to confirm first; they are emailed only as send_updates says.

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": {
      "end_datetime": "<end_datetime>",
      "start_datetime": "<start_datetime>",
      "summary": "<summary>"
    },
    "name": "calendar_create_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
summaryYesEvent title shown on the calendar.
color_idNoEvent color ID from '1' to '11' (Google Calendar's fixed event palette); omit to use the calendar's color.
locationNoFree-text location, e.g. an address or a room name.
timezoneNoIANA time zone, e.g. 'America/New_York', used to read naive start/end values and stored as the event's time zone (a recurrence repeats in it); defaults to the account's calendar time zone.
attendeesNoGuests to invite, each {email, displayName, optional, comment, additionalGuests}; whether they are emailed depends on send_updates.
remindersNoReminders with their method, at most 5, each {minutes (0 to 40320, minutes before the start), method ('popup' or 'email', an email to the calendar's owner)}, e.g. [{"minutes": 1440, "method": "email"}, {"minutes": 10, "method": "popup"}]. An empty list sets no reminders; omit it to use the calendar's default reminders. Use instead of reminder_minutes; passing both is an error.
recurrenceNoRFC 5545 recurrence lines, e.g. ['RRULE:FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10']; EXDATE and RDATE lines are also accepted.
visibilityNoWho can see the event's details: 'default' (the calendar's setting), 'public', 'private' or 'confidential'.default
attachmentsNoFiles to attach, up to 25, each {file_url, title, mime_type, icon_link, file_id}; saved only while supports_attachments is true.
calendar_idNoCalendar ID: 'primary' for the user's main calendar, or an ID from calendar_get_calendar_context's calendars (often an email address).primary
descriptionNoEvent notes shown in the event details.
on_conflictNoBoth values fail with a 'conflict' error and create nothing when the time overlaps busy time on calendar_id; the error's details.conflicting_events lists the busy periods. 'suggest_next_slot' also returns up to 5 free slots of the same length within 72 hours in details.suggested_slots.fail
end_datetimeYesEnd time, in the same formats as start_datetime; must be after it.
send_updatesNoWho Google emails the invitation: 'all' guests, 'externalOnly' (only guests who do not use Google Calendar) or 'none'. When omitted, Google's default of sending no notification applies.
transparencyNo'opaque' shows the time as busy; 'transparent' leaves it free in availability checks.opaque
add_meet_linkNoTrue creates a new Google Meet link for the event, returned as the event's meeting_url.
start_datetimeYesStart time: RFC3339 with offset, e.g. '2026-03-02T15:00:00-05:00', or a naive 'YYYY-MM-DDTHH:MM:SS' read in timezone. A bare 'YYYY-MM-DD' becomes midnight in timezone; all-day events cannot be created.
idempotency_keyNoCaller-chosen key, 1 to 256 characters, that makes a retry safe: the event gets an ID derived from the key, so a repeat call with the same key returns the event already created (deduplicated true) instead of creating another, even if other arguments differ.
reminder_minutesNoPopup reminders, in minutes before the start (each 0 to 40320, at most 5), e.g. [10, 60]. An empty list sets no reminders; omit it to use the calendar's default reminders.
supports_attachmentsNoTells Google this call handles event attachments (its supportsAttachments flag); leave true, attachments are only saved when it is true.

Output Schema

NameRequiredDescriptionDefault
eventNo
statusNoMachine-readable operation status.
warningsNo
deduplicatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing failure semantics (conflict creates nothing, details.conflicting_events lists busy periods), a warnings channel for when the conflict check could not run, the guest-confirmation requirement, and that emailing is governed by send_updates. The idempotency_key explanation sits alongside idempotentHint=false without contradicting it: the tool is not inherently idempotent, but the key makes retries safe. No contradiction, though it stops short of stating rate limits or quota behavior.

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 action, then conflict semantics, then return shape, then confirmation behavior, so a reader can stop early and still call correctly. It is dense but nearly every clause carries operational meaning; the enumerated return fields are mildly redundant given the output schema exists.

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 20-parameter mutation tool with an output schema and rich annotations, the description closes the remaining gaps: conflict behavior, the limitation of the busy-time check, the warnings escape hatch, and the human-in-the-loop confirmation for guests. An agent has everything needed to call it correctly and interpret the result.

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 description coverage is 100%, including 20 well-documented parameters with enums, defaults and ranges, so the schema carries the semantics. The description only restates the capability set at a high level and adds no per-parameter meaning beyond what the schema already documents, which is the appropriate baseline of 3 for a fully covered schema.

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 ("Create an event on one calendar") and immediately enumerates the differentiating capabilities (guests, Meet link, reminders, attachments, recurrence). It also names the sibling it is not (calendar_find_free_time) and the read counterpart (calendar_read_events), so an agent can place it in the catalog without opening a 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 routing: "to plan around other people's calendars use calendar_find_free_time first", plus the important scoping nuance that the busy-time check covers only calendar_id. It also states a precondition (guests trigger a user confirmation) and the failure mode (overlap fails with a conflict error that creates nothing).

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