Skip to main content
Glama

update_sync

Destructive

Update an existing sync in place: rename it, pause/resume via enabled, change every propagation setting, change direction (and the one-way source designation), and add/remove calendars via the calendars end-state field — this mirrors the dashboard's full-page sync editor. settings.directionalSettings sets per-target/per-pair overrides (requires the directional-settings entitlement).

Removing a calendar that would delete synced events requires confirmDestructive:true on a re-call — the first call fails with wouldDelete so you can confirm. A one-way sync can have MULTIPLE source calendars (N sources fanning into M targets) — use oneWaySourceCalendarIds (an array) to designate the FULL source set, including a never-synced calendar via {accountId, providerCalendarId}. oneWaySourceCalendarId (singular) still works for a single source, back-compat — supplying BOTH fields is rejected (ONE_WAY_SOURCE_SET_INVALID). Omitting both preserves every currently-designated source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
syncIdYes
enabledNo
settingsNo
calendarsNo
directionNo
impactTokenNo
confirmDestructiveNo
oneWaySourceCalendarIdNo
oneWaySourceCalendarIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=true; the description goes well beyond by disclosing the entitlement gate, the `wouldDelete`/`confirmDestructive:true` retry contract, the `ONE_WAY_SOURCE_SET_INVALID` mutual-exclusion error, and the 'omitting both preserves sources' default. These are exactly the behavioral traits annotations cannot convey.

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 tool's scope, and the parenthetical asides (back-compat note, error codes, 'N sources fanning into M targets') each add real signal. The opening sentence is dense with clauses and the block runs long, keeping it below a 5.

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 10-parameter, deeply nested mutation with no output schema, the description covers the risky and confusing parts an agent would otherwise get wrong. It is only incomplete on the unexplained `impactToken` and the unenumerated `settings.*` propagation fields.

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?

With 0% schema description coverage the description must carry the load, and it does for the hard parameters: `enabled` maps to pause/resume, `calendars` is an end-state field, `direction`, `confirmDestructive`, and the array-vs-singular `oneWaySourceCalendarIds`/`oneWaySourceCalendarId` distinction with their rejection rule. It leaves `impactToken` and most `settings.*` fields unexplained, so it compensates well but not fully.

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) and resource (sync) and then enumerates the exact editable surface: rename, pause/resume via `enabled`, propagation settings, `direction`, and the `calendars` end-state field. An agent can tell this apart from pause_sync/resume_sync/delete_sync without opening the schema.

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 clear operational context: the dashboard-editor mental model, the entitlement prerequisite for `settings.directionalSettings`, and the two-call confirmation flow for destructive calendar removal. It stops short of explicitly naming alternatives (preview_sync_edit, pause_sync) or stating when not to use it, 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources