Skip to main content
Glama

Update event

update_event
Destructive

Updates an event. title, start and end describe the complete new state — including whether it is all-day: an event created all-day becomes a timed event if this call passes timestamps, and vice versa.

Two kinds of event are addressable:

  1. Events THIS access created (via event_id from create_event) — always.

  2. Any other event in a calendar the user allowed managing, visible in list_calendars as manageable: true. Their ids come from get_availability.

Four things are refused, and each says what to do instead — pass that on rather than retrying: • the calendar is not released for managing (the user can allow it per calendar) • it is shared at less than full detail (a setting, not a temporary error) • the event is a synchronised COPY — change the original in the named source calendar, the change reaches this one by itself • someone else organises it — call respond_to_event with response: "declined" and the same event_id instead

When the event has other participants, they are notified of the change by their calendar provider — mention that before moving it. The event_id of one date of a repeating appointment changes only that date.

Reminders (reminders): 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. A list REPLACES all of the event's reminders, [] removes them, and leaving reminders out keeps them as they are.

Changing only the reminders: pass event_id, calendar_id and reminders, and leave title, start and end out. That also works on an invitation someone else organises — the reminders are the user's own and the organiser is not notified — where any other change is refused. Otherwise title, start and end are all required.

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": {
      "event_id": "<event_id>"
    },
    "name": "update_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoNew end — same form as `start`; INCLUSIVE for all-day events.
startNoNew start — ISO 8601 with timezone (…+02:00 or …Z), or a bare date (2026-07-28) for an all-day event.
titleNoRequired unless only `reminders` change
all_dayNoForce an all-day event; time components in start/end are discarded.
event_idYesIdentifier from create_event
locationNo
remindersNoReplaces all reminders (minutes before the start, most important first); [] removes them; omit to keep them. Outlook keeps only the first.
time_zoneNoIANA zone, e.g. America/New_York. Preserves the named zone for timed events (so recurrences follow daylight saving) and decides the local day for all-day ones. Defaults to UTC.
calendar_idNo
descriptionNo

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / reminders
      Added value: +{
      +  "description": "Replaces all reminders (minutes before the start, most important first); [] removes them; omit to keep them. 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"
      +}
    • addedInput schema / properties / title / description
      Added value: +"Required unless only `reminders` change"
    • changedInput schema / required
      Previous value: -[
      -  "event_id",
      -  "title",
      -  "start",
      -  "end"
      -]New value: +[
      +  "event_id"
      +]
    • 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",
      -  "updated"
      -]New value: +[
      +  "status"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / time_zone / description
      Previous value: -"IANA zone deciding which local day an all-day event covers. Defaults to UTC."New value: +"IANA zone, e.g. America/New_York. Preserves the named zone for timed events (so recurrences follow daylight saving) and decides the local day for all-day ones. 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 discarded.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / end / description
      Previous value: -"New end, ISO 8601 with timezone"New value: +"New end — same form as `start`; INCLUSIVE for all-day events."
    • changedInput schema / properties / start / description
      Previous value: -"New start, ISO 8601 with timezone (e.g. …+02:00 or …Z)"New value: +"New start — ISO 8601 with timezone (…+02:00 or …Z), or a bare date (2026-07-28) for an all-day event."
    • addedInput schema / properties / time_zone
      Added value: +{
      +  "description": "IANA zone deciding which local day an all-day event covers. Defaults to UTC.",
      +  "type": "string"
      +}
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations flag a destructive write, and the description goes well beyond them: title/start/end are a complete replacement state (so a timed event can flip to all-day and back), a reminders list replaces rather than merges, other participants are notified, and same-email-address refusals are permanent settings rather than transient errors. It also discloses the credits_exhausted no-op path where only status/warnings come back with no write confirmation.

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 replacement-state rule, then organized under bold headings for the exceptional cases. It loses a point for length and for restating the reminders replace/omit/Outlook-first semantics that the reminders schema property already documents almost verbatim.

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 10-parameter destructive mutation spanning several calendar providers, it covers the branches an agent must handle: partial vs. full update, refusals and their remedies, notification side effects, reminder truncation reported via reminders_not_kept, and the credits_exhausted early exit. Return values are explained even though an output schema exists.

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

Parameters4/5

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

Rich added meaning for reminders (ordering by importance, 0-40320 minutes, all-day counting back from 00:00 of the first day, Outlook keeping only the first, personal vs. Nextcloud-shared scope) and for start/end as a full new state. However, with schema coverage at 70%, three parameters — location, description and calendar_id — get no explanation in either place, so the description doesn't fully close the gap.

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 ('Updates an event') and immediately defines two addressable event classes with the id source for each (create_event vs. get_availability via list_calendars). An agent can tell this apart from create_event, delete_event and respond_to_event without opening any 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 names the reminders-only shortcut (pass event_id, calendar_id, reminders and leave title/start/end out), enumerates four refused situations, and routes each to its alternative — e.g. 'call respond_to_event with response: "declined"'. It also states when title/start/end are required, which is the key branch point.

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