Skip to main content
Glama

Create event

create_event

Creates an event in one of the calendars this access may write to.

Availability in the requested slot is checked LIVE (not from cache). An overlapping event does NOT prevent creation — the event is created regardless and the overlap comes back as a warning. Pass that warning on to the user instead of silently double-booking; whether the overlap is intended is the user's call.

The check counts only events that BLOCK the time (blocks_time: true in get_availability). Entries that do not block it — holidays, birthdays, and every all-day event from Apple/iCloud — are deliberately not reported as conflicts, because otherwise every booking on a day carrying a holiday would look like a clash. So no warning does NOT mean the day is empty: an all-day "Baustelle Darmstadt" is a working day that will not show up here. When the user asks to book on a specific day, check the day with get_availability first and mention what is already on it.

All-day events: pass bare dates (start: "2026-09-01", end: "2026-09-03") or set all_day: true. For all-day the end date is INCLUSIVE — that example creates a three-day event covering 1–3 September. Both ends must use the same form.

calendar_id is only needed when several calendars are writable; with exactly one, that one is used. list_calendars shows the writable calendars. title is required.

Reminders (reminders, optional): Pop-up reminders as minutes before the start, MOST IMPORTANT FIRST — e.g. [{"minutes_before": 1440}, {"minutes_before": 60}] is one day and one hour before. At most 5, each 0–40320 (four weeks). For all-day events the minutes count back from 00:00 of the first day: 900 = 9:00 the day before, 0 = midnight. Outlook/Microsoft 365 keeps only ONE reminder per event — the first of the list — so put the one the user cares about first. The result reports what the calendar actually kept (reminders) and what it did not (reminders_not_kept, with a warning); pass that on. Reminders are personal: at Google, Outlook and iCloud they apply only to the person whose calendar is connected, also in shared calendars and on invitations. Exception: Nextcloud-based calendars (e.g. Disroot), where a reminder in a shared calendar applies to everyone who can edit it. Leave it out and the event gets the calendar's default reminder; [] creates it without any.

Check status first: credits_exhausted means this call was NOT performed. Only warnings and credit information are returned in that case; no result data or write confirmation. Tell the user how to restore credits; do not retry automatically.

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": {
      "title": "<title>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "create_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd — same form as `start`. For all-day events this date is INCLUSIVE (end 2026-09-03 means the event runs through 3 September).
startYesStart — either an ISO 8601 timestamp WITH timezone (2026-07-28T10:00:00+02:00 or …Z), or a bare date (2026-07-28) for an all-day event. A timestamp without a zone is rejected.
titleYesEvent title (required)
all_dayNoForce an all-day event; time components in start/end are then discarded. Not needed when start/end are already bare dates.
locationNo
remindersNoPop-up reminders, minutes before the start, most important first. Omit = calendar default; [] = none. Outlook keeps only the first.
time_zoneNoIANA zone, e.g. America/New_York. For timed events it preserves the NAMED zone so the event follows daylight saving (without it the event is stored as UTC and shows as GMT in Apple Calendar, and a recurring series will not shift with the clocks). For all-day events it decides which local day is covered. Always send it when you know the user's zone; defaults to UTC.
calendar_idNoTarget calendar; only needed when several are writable
descriptionNo

Output Schema

NameRequiredDescriptionDefault
statusYesok: tool executed; use its result fields. credits_exhausted: not executed; no result fields.
warningNo
event_idNo
warningsNo
remindersNo
resets_atNo
calendar_idNo
calendar_nameNo
credits_requiredNo
credits_availableNo
reminders_not_keptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / reminders
      Added value: +{
      +  "description": "Pop-up reminders, minutes before the start, most important first. Omit = calendar default; [] = none. Outlook keeps only the first.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "minutes_before": {
      +        "maximum": 40320,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "minutes_before"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
    • addedOutput schema / properties / reminders
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "minutes_before": {
      +        "type": "number"
      +      },
      +      "source": {
      +        "const": "calendar_default",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "minutes_before"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / reminders_not_kept
      Added value: +{
      +  "items": {
      +    "$ref": "#/properties/reminders/items"
      +  },
      +  "type": "array"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / description / maxLength
      Added value: +8000
    • addedInput schema / properties / location / maxLength
      Added value: +1000
    • addedInput schema / properties / title / maxLength
      Added value: +500
  3. Changed6 schema fields changed
    • addedOutput schema / properties / credits_available
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / credits_required
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / resets_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "description": "ok: tool executed; use its result fields. credits_exhausted: not executed; no result fields.",
      +  "enum": [
      +    "ok",
      +    "credits_exhausted"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "event_id",
      -  "calendar_id"
      -]New value: +[
      +  "status"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / time_zone / description
      Previous value: -"IANA zone (e.g. Europe/Brussels) deciding which local day an all-day event covers. Defaults to UTC. Ignored for timed events, which carry their own offset."New value: +"IANA zone, e.g. America/New_York. For timed events it preserves the NAMED zone so the event follows daylight saving (without it the event is stored as UTC and shows as GMT in Apple Calendar, and a recurring series will not shift with the clocks). For all-day events it decides which local day is covered. Always send it when you know the user's zone; defaults to UTC."
  5. Changed4 schema fields changed
    • addedInput schema / properties / all_day
      Added value: +{
      +  "description": "Force an all-day event; time components in start/end are then discarded. Not needed when start/end are already bare dates.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / end / description
      Previous value: -"End, ISO 8601 with timezone"New value: +"End — same form as `start`. For all-day events this date is INCLUSIVE (end 2026-09-03 means the event runs through 3 September)."
    • changedInput schema / properties / start / description
      Previous value: -"Start, ISO 8601 WITH timezone — e.g. 2026-07-28T10:00:00+02:00 or …Z. Rejected without a zone."New value: +"Start — either an ISO 8601 timestamp WITH timezone (2026-07-28T10:00:00+02:00 or …Z), or a bare date (2026-07-28) for an all-day event. A timestamp without a zone is rejected."
    • addedInput schema / properties / time_zone
      Added value: +{
      +  "description": "IANA zone (e.g. Europe/Brussels) deciding which local day an all-day event covers. Defaults to UTC. Ignored for timed events, which carry their own offset.",
      +  "type": "string"
      +}
  6. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only say it is a non-destructive write with open-world access; the description goes far beyond that with live-vs-cached availability checks, overlap-as-warning semantics, provider-specific reminder retention (Outlook keeps only one), timezone storage behavior in Apple Calendar, and the `credits_exhausted` no-write case. This is behavior an agent cannot infer from the annotations.

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?

Well structured with bolded subsection headers and front-loaded purpose, and nearly every sentence carries an operational fact. It is on the long side for a tool description, and the illustrative asides (e.g. the "Baustelle Darmstadt" example) could be trimmed without losing meaning.

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, yet the description still tells the agent which result fields matter (`status`, `warnings`, `reminders`, `reminders_not_kept`) and how to act on them. For a 9-parameter write tool with side effects and provider quirks, nothing essential to a correct call 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 coverage is 78%, and the description still adds meaning the schema doesn't: all-day `end` is inclusive with a worked example, `calendar_id` is only needed when multiple calendars are writable, `title` is required, and the reminders array semantics (most-important-first, 0–40320, all-day counted from 00:00 of day one, `[]` vs omit) go well beyond the schema's one-liner.

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 ("Creates an event") plus the scope constraint ("in one of the calendars this access may write to"). An agent can immediately distinguish this from update_event, delete_event, and create_sync without opening the 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?

Explicitly routes the agent to siblings: check `get_availability` first when booking a specific day, use `list_calendars` to see writable calendars. It also declares when-not-behavior (overlaps are allowed, warnings must be surfaced) and tells the agent not to retry on `credits_exhausted`, which is exactly the kind of usage rule a description should carry.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources