Skip to main content
Glama

update_event

Modify fields of an existing calendar event or recurring series while preserving other .ics file content; use dry-run or copy mode for safe edits.

Instructions

Change fields of one event (the whole series if it recurs). Only the fields you pass change; an empty string removes summary-like fields (location, description, status, transp, rrule). attendees=[...] makes the attendee list exactly that (existing entries keep their details). start without end keeps the event's length. start/end are read in tz (default: the event's own zone); all-day rules as in create_event. DTSTAMP is refreshed and SEQUENCE incremented. Modifying single instances of a series is not supported. calendar: only needed if the UID is in several files.

SAFETY: the original file is never modified unless in_place=true. By default the edited copy is written next to it as '.new' (or output_file, which must not exist yet). dry_run=true writes nothing and just shows the patch. Everything else in the file - other events, VTIMEZONE blocks, unknown properties - is kept byte for byte.

Input Schema

NameRequiredDescriptionDefault
tzNo
endNo
rruleNo
startNo
statusNo
transpNo
dry_runNo
summaryNo
calendarNo
in_placeNo
locationNo
attendeesNo
event_uidYes
descriptionNo
output_fileNo
duration_minutesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it states the original file is never modified unless in_place=true, that output_file must not exist yet, that dry_run writes nothing, and that unrelated content is preserved byte for byte. It also discloses side effects beyond the requested change (DTSTAMP refresh, SEQUENCE increment) — exactly the kind of hidden mutation an agent needs to know before calling.

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?

Two dense paragraphs split cleanly between semantics and safety, with the mutation-scope rule front-loaded. Every sentence carries distinct information — field update rules, side effects, file-write guarantees — and there is no restatement of the tool name or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not required, and the description covers the risky parts (file writes, dry run, series scope) thoroughly. The remaining gaps are the undocumented duration_minutes parameter and the accepted values for status/transp/rrule, which an agent must guess.

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?

Schema coverage is 0%, so the description must compensate and largely does: it defines the empty-string removal convention, the replace-not-merge semantics of attendees, the start-without-end behavior, the tz default, and the roles of in_place, output_file, dry_run, and calendar. It leaves duration_minutes entirely unmentioned and gives no value hints for status, transp, or rrule format, so some of the 16 parameters remain opaque.

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 ('Change fields of one event') and immediately scopes it ('the whole series if it recurs'), which distinguishes it from create_event and delete_event. The sibling set contains no other mutator of an existing event, so no further differentiation is needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit usage rules: only passed fields change, empty strings remove fields, attendees replaces the list, and single-instance modification 'is not supported', which routes the agent away from an unsupported case. It also defers to create_event for all-day conventions. It stops short of naming alternatives for the unsupported case or stating prerequisites such as needing the file to be writable.

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