Skip to main content
Glama

update_calendar

DestructiveIdempotent

Update an existing calendar's display name, description, color, or time zone to correct its settings and ensure floating times and all-day dates use the intended zone.

Instructions

Update an existing calendar's properties (display name, description, color, time zone). The time zone is the one events without a zone of their own (floating times, all-day dates) are read in. Use this when user asks to "rename calendar", "change calendar color", or "update calendar properties"

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": {
      "calendar_url": "<calendar_url>"
    },
    "name": "update_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNoOptional: New calendar color in hex format (e.g., #FF5733)
timezoneNoOptional: New time zone, an IANA name (e.g., Europe/Berlin, America/New_York, UTC). Sent as the VTIMEZONE CalDAV asks for; the result says which zone the server holds afterwards.
descriptionNoOptional: New description for the calendar
calendar_urlYesThe URL of the calendar to update (get from list_calendars)
display_nameNoOptional: New display name for the calendar

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.1.2
    • changedInput schema / properties / timezone / description
      Previous value: -"Optional: New timezone ID (e.g., Europe/Berlin). Sent to the server as a bare timezone ID, not as the VTIMEZONE the CalDAV standard asks for, so a server may reject or ignore it (issue #78)."New value: +"Optional: New time zone, an IANA name (e.g., Europe/Berlin, America/New_York, UTC). Sent as the VTIMEZONE CalDAV asks for; the result says which zone the server holds afterwards."
  2. Changed1 schema field changedv4.1.2
    • changedInput schema / properties / timezone / description
      Previous value: -"Optional: New timezone ID (e.g., Europe/Berlin)"New value: +"Optional: New timezone ID (e.g., Europe/Berlin). Sent to the server as a bare timezone ID, not as the VTIMEZONE the CalDAV standard asks for, so a server may reject or ignore it (issue #78)."
  3. First observedv4.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds genuinely useful semantics for timezone (that it governs how floating times and all-day dates are read in, and that the server's resulting zone is reported back). However, it never says what gets destroyed or how the destructive hint manifests, nor whether omitted fields are preserved as a partial update — material gaps for a destructive mutation.

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?

Three sentences, front-loaded with the operation and its fields, then the non-obvious timezone semantics, then the trigger phrases. The final quoted-phrase sentence partially restates the field list already given in sentence one, so it is slightly redundant but still short and scannable.

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

Completeness3/5

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

Parameters are fully covered and annotations carry the safety profile, so the essential calling information is present. What is missing for a destructive, partial-update tool is whether unspecified properties stay untouched and what the destructive hint actually risks (e.g., whether changing timezone rewrites stored event times) — meaningful omissions despite no output schema being required.

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 100%, so all five parameters are already documented; the baseline would be 3. The description earns an extra point by explaining the consequence of the timezone parameter beyond the schema wording — that it determines the interpretation of events lacking their own zone — plus a precise definition of calendar_url through the usage sentence's context.

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 (Update) plus resource (an existing calendar's properties) and enumerates the mutable fields (display name, description, color, time zone), which separates it cleanly from the sibling mutators update_event, update_contact, and update_todo. An agent knows immediately this touches calendars, not calendar entries.

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 concrete when-to-use triggers via quoted user phrasings ("rename calendar", "change calendar color", "update calendar properties"), which is clear usage context. It stops short of exclusions or naming an alternative — e.g., that new calendars belong to make_calendar or that event-level changes belong to update_event — so it lands at 4 rather than 5.

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