Skip to main content
Glama

update_calendar

Destructive

Update fields on an existing Google Calendar with patch semantics: change only the details you provide, such as title, description, timezone, or color, while omitted fields stay unchanged.

Instructions

Update fields on an existing calendar using patch semantics. Only the fields you provide are changed; omitted fields are left as-is.

Note: color_id is set via the authenticated user's calendar list entry (calendarList().patch()), not the calendar resource itself — it is a per-user setting, not a property of the calendar shared with others.

Args: calendar_id: The calendar ID, or 'primary'. summary: New calendar title. description: New calendar description. timezone: New IANA timezone name (e.g. 'America/Los_Angeles'). color_id: New color ID from the palette returned by the Calendar API's colors().get() endpoint (predefined IDs, typically '1'-'24').

Returns: Updated calendar: id, summary, description, time_zone, color_id.

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_id": "<calendar_id>"
    },
    "name": "update_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
summaryNo
color_idNo
timezoneNo
calendar_idYes
descriptionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.2/5.0
Behavior3/5

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

Annotations only supply destructiveHint=true and a title, so the description does useful extra work by explaining partial-update semantics and that color_id is a per-user setting rather than a shared calendar property. It does not address what permissions are required, whether the prior values can be recovered, or whether shared users see the change. The return-field list adds little because an output schema already exists.

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 behavior statement and the patch-semantics constraint lead, followed by the one genuinely non-obvious caveat and then per-argument detail. Every block is scannable and none of the sentences are padding.

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?

For a five-parameter mutation tool with an output schema, the definition covers partial-update behavior, all parameters, and the color_id trap. It stops short of stating permission requirements or the blast radius on shared calendars, which would complete the picture for a tool flagged destructive.

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 description coverage is 0%, so the description must carry parameter meaning and largely does: calendar_id accepts 'primary', timezone requires an IANA name, color_id comes from the colors().get() palette with predefined IDs. summary and description are documented only trivially ('New calendar title'), which keeps it shy of the top mark.

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 ('Update fields on an existing calendar') plus the mechanism (patch semantics), which separates it from create_calendar, get_calendar and delete_calendar. The note that color_id lives on the user's calendar list entry rather than the calendar resource further distinguishes it from the calendarList-scoped siblings like add_calendar_to_list.

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?

'Only the fields you provide are changed; omitted fields are left as-is' gives a clear condition for choosing this over a full-replace operation. The color_id note effectively warns that this parameter is not the right lever for that setting, but no alternative tool or endpoint is explicitly named for the job.

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

Deploy Server

Other Tools