Skip to main content
Glama

Confirm a calendar change

confirm_calendar_update
DestructiveIdempotent

Write a previously reviewed change to an existing calendar event. Requires the user’s explicit approval and confirm: true. Pass the reviewed patch and sourceRevision unchanged. On calendar_stale_revision, read again and request approval of a new proposal. Success includes a fresh provider readback. Same data as PATCH /v1/integrations/{id}/events/{eventId} (response schema in /openapi.json).

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": {
      "integrationId": "<integrationId>",
      "eventId": "<eventId>",
      "calendarId": "<calendarId>",
      "sourceRevision": "<sourceRevision>",
      "patch": "<patch>",
      "confirm": "<confirm>"
    },
    "name": "confirm_calendar_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYesThe title, start and end fields to change, exactly as reviewed and approved by the user in propose_calendar_update.
confirmYesMust be exactly true, confirming the user has explicitly approved this exact patch after reviewing it. Without it the update is rejected with calendar_confirmation_required.
eventIdYesEvent id (externalId) from list_calendar_events.
calendarIdYesCalendar id from list_calendars, for example primary.
integrationIdYesId of the connection (int_...) from list_integrations.
sourceRevisionYesProvider revision of the event exactly as returned by get_calendar_event. The update is rejected with calendar_stale_revision if it changed since.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description goes well beyond them: it names the two failure modes with their error codes (calendar_confirmation_required, calendar_stale_revision) and states that success includes a fresh provider readback. That tells the agent the operation is guarded, stale-checked, and verifiable after the fact.

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?

Five short sentences, front-loaded with the action and the approval precondition, then the argument constraint, then the failure/recovery path. Nothing is redundant with the schema and no sentence could be dropped without losing a rule the agent needs.

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 six-required-parameter destructive mutation with a nested patch object and no output schema, the definition covers approval gating, argument immutability, error handling, and the post-write readback, plus a pointer to the response schema in /openapi.json. An agent has everything needed to call it correctly and handle failure.

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 the baseline is 3, but the description adds a real constraint not in the schema: patch and sourceRevision must be passed through byte-for-byte as reviewed. The confirm flag's meaning ('user has explicitly approved this exact patch') is reinforced in prose rather than merely restated.

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+resource: 'Write a previously reviewed change to an existing calendar event.' The word 'previously reviewed' plus 'confirm: true' immediately separates it from propose_calendar_update, which only stages a proposal.

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?

States the precondition (explicit user approval after review), the required invocation shape ('confirm: true'), and the exact recovery path on failure ('on calendar_stale_revision, read again and request approval of a new proposal'). It also forbids mutation of the reviewed input ('Pass the reviewed patch and sourceRevision unchanged'), which is the main misuse risk.

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.