Skip to main content
Glama

update_event

DestructiveIdempotent

Update calendar event fields and dates without iCal formatting; move events, convert between all-day and timed, edit recurring series, or cancel/restore individual occurrences.

Instructions

PREFERRED: Update event fields without iCal formatting. Use start_date/end_date/all_day to move an event or convert it between all-day and timed. Use fields for everything else: SUMMARY (title), DESCRIPTION, LOCATION, STATUS (TENTATIVE/CONFIRMED/CANCELLED) and any other RFC 5545 or custom X-* property. Recurring events: fields and dates change the whole series; moving the start moves every occurrence, cancelled and changed ones included, and the reply lists what moved (a move the rule cannot follow is refused, saying what to give instead, e.g. fields.RRULE). To cancel or bring back single occurrences use cancel_occurrences/restore_occurrences; to move or retitle one occurrence, use calendar_multi_get and update_event_raw.

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_url": "<event_url>",
      "event_etag": "<event_etag>"
    },
    "name": "update_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoFields to update, keyed by bare UPPERCASE property name (e.g., SUMMARY, LOCATION, STATUS). Any RFC 5545 property or custom X-* property is supported, EXCEPT the dates: use start_date/end_date/all_day for DTSTART, DTEND and DURATION, and cancel_occurrences/restore_occurrences instead of EXDATE (RDATE is not accepted either). Property parameters such as "VALUE=DATE" are not accepted here, and values must not contain line breaks.
all_dayNoOptional. All-day is inferred from the date format, so this is only needed to state the intent explicitly; it must agree with the format of start_date/end_date. This is the supported way to convert an event between all-day and timed.
end_dateNoNew end of the event (for a recurring event, of its first occurrence), in the same form as start_date (a datetime without a zone is read in the event's own timezone, like start_date). For an all-day event the end is EXCLUSIVE: a single day on 2026-05-25 is start_date "2026-05-25" and end_date "2026-05-26".
event_urlYesThe URL of the event to update
event_etagYesThe etag of the event (required for conflict detection)
start_dateNoNew start. For a recurring event this is the start of the SERIES (its first occurrence, DTSTART), not of the occurrence a listing showed: every occurrence moves by the difference. To shift every occurrence by an hour, give the series start plus one hour; to cancel one occurrence use cancel_occurrences, to move one use calendar_multi_get and update_event_raw. A datetime ("2026-05-25T10:00:00Z", or with an offset) makes the event timed; a bare date ("2026-05-25") makes it all-day. A datetime with a zone is that instant, written in the event's own timezone if it has one (so a series in Europe/Berlin stays there and keeps its local time across DST changes). A datetime without a zone keeps the event's own timezone if it has one, else it is read in the calendar's time zone. An event stored without a zone (a floating time) stays without one: a datetime with a zone becomes its local time in the calendar's time zone. Must be given together with end_date.
cancel_occurrencesNoRecurring event: cancel these occurrences, each given exactly as calendar_query, list_events or calendar_multi_get list it ("Occurrence ID"). Occurrences are named by their ORIGINAL start (where the occurrence was before any change) in the series' own form: the wall-clock time in its zone without Z ("2026-12-24T09:00:00"), with Z for a UTC series ("2026-12-24T09:00:00Z"), or the date for an all-day series ("2026-12-24"). Adds to the exclusions already there; a changed version of the occurrence is removed too. Names refer to the series as it is before this call.
restore_occurrencesNoRecurring event: bring back these cancelled occurrences, each given exactly as calendar_query, list_events or calendar_multi_get list it under "Cancelled occurrences" (named as for cancel_occurrences). Removes only those exclusions. Applied before cancel_occurrences, fields and dates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv5.1.2
    • addedInput schema / properties / cancel_occurrences
      Added value: +{
      +  "description": "Recurring event: cancel these occurrences, each given exactly as calendar_query, list_events or calendar_multi_get list it (\"Occurrence ID\"). Occurrences are named by their ORIGINAL start (where the occurrence was before any change) in the series' own form: the wall-clock time in its zone without Z (\"2026-12-24T09:00:00\"), with Z for a UTC series (\"2026-12-24T09:00:00Z\"), or the date for an all-day series (\"2026-12-24\"). Adds to the exclusions already there; a changed version of the occurrence is removed too. Names refer to the series as it is before this call.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / end_date / description
      Previous value: -"New end, in the same form as start_date. For an all-day event the end is EXCLUSIVE: a single day on 2026-05-25 is start_date \"2026-05-25\" and end_date \"2026-05-26\"."New value: +"New end of the event (for a recurring event, of its first occurrence), in the same form as start_date (a datetime without a zone is read in the event's own timezone, like start_date). For an all-day event the end is EXCLUSIVE: a single day on 2026-05-25 is start_date \"2026-05-25\" and end_date \"2026-05-26\"."
    • changedInput schema / properties / fields / description
      Previous value: -"Fields to update, keyed by bare UPPERCASE property name (e.g., SUMMARY, LOCATION, STATUS). Any RFC 5545 property or custom X-* property is supported, EXCEPT the dates: use start_date/end_date/all_day for DTSTART, DTEND and DURATION. Property parameters such as \"VALUE=DATE\" are not accepted here, and values must not contain line breaks."New value: +"Fields to update, keyed by bare UPPERCASE property name (e.g., SUMMARY, LOCATION, STATUS). Any RFC 5545 property or custom X-* property is supported, EXCEPT the dates: use start_date/end_date/all_day for DTSTART, DTEND and DURATION, and cancel_occurrences/restore_occurrences instead of EXDATE (RDATE is not accepted either). Property parameters such as \"VALUE=DATE\" are not accepted here, and values must not contain line breaks."
    • addedInput schema / properties / restore_occurrences
      Added value: +{
      +  "description": "Recurring event: bring back these cancelled occurrences, each given exactly as calendar_query, list_events or calendar_multi_get list it under \"Cancelled occurrences\" (named as for cancel_occurrences). Removes only those exclusions. Applied before cancel_occurrences, fields and dates.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / start_date / description
      Previous value: -"New start. A datetime (\"2026-05-25T10:00:00Z\") makes the event timed; a bare date (\"2026-05-25\") makes it all-day. Must be given together with end_date."New value: +"New start. For a recurring event this is the start of the SERIES (its first occurrence, DTSTART), not of the occurrence a listing showed: every occurrence moves by the difference. To shift every occurrence by an hour, give the series start plus one hour; to cancel one occurrence use cancel_occurrences, to move one use calendar_multi_get and update_event_raw. A datetime (\"2026-05-25T10:00:00Z\", or with an offset) makes the event timed; a bare date (\"2026-05-25\") makes it all-day. A datetime with a zone is that instant, written in the event's own timezone if it has one (so a series in Europe/Berlin stays there and keeps its local time across DST changes). A datetime without a zone keeps the event's own timezone if it has one, else it is read in the calendar's time zone. An event stored without a zone (a floating time) stays without one: a datetime with a zone becomes its local time in the calendar's time zone. Must be given together with end_date."
  2. First observedv4.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructive and idempotent annotations, the description explains that fields and dates change the whole recurring series, that moving the start moves every occurrence including cancelled and changed ones, and that the reply lists what moved. It also discloses refusal behavior and ordering for restore_occurrences versus cancel_occurrences.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the PREFERRED marker, then proceeds through dates, fields, recurring behavior, and alternatives. Despite its length, every sentence earns its place by clarifying a distinct operational path.

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 complex destructive mutation tool with eight parameters, nested fields, and recurrence handling, the description covers the necessary usage, routing, and behavioral risks. The highly detailed schema fills in parameter-level details, and no output schema is present to require further return-value explanation.

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% and the schema already documents the parameters in great detail, including recurring-event and occurrence semantics. The description adds useful grouping and routing between dates, fields, and occurrence lists, but not much syntax or meaning beyond what the schema already provides.

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?

The description states a specific verb and resource: update event fields, without iCal formatting. It also marks this tool as PREFERRED and contrasts it with update_event_raw for moving or retitling a single occurrence, so an agent can distinguish it from siblings.

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?

It explicitly says when to use dates versus fields, when to use cancel_occurrences/restore_occurrences, and when to switch to calendar_multi_get plus update_event_raw for a single-instance move or retitle. The routing guidance is unusually complete.

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