Skip to main content
Glama

sync_calendar

Destructive

Run a two-way Google Calendar sync now for a user (push the user's own events + pull Google changes). user_id defaults to the caller. Agent calendars are app-internal and not synced. No-op if the user hasn't linked Google.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sync_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNoID of the user

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true; the description adds genuinely new behavior beyond them — bidirectional push/pull semantics, exclusion of agent calendars, and the silent no-op path when Google is unlinked. It does not explain conflict resolution or what can be overwritten, which matters given the non-idempotent, destructive annotation profile, keeping it from a 5.

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?

Three compact sentences, front-loaded with the action and its two directions, followed by scoping and default/no-op clauses. No filler, and each sentence carries decision-relevant information.

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?

With one optional parameter and no output schema, the description covers direction, scope exclusion, default, and the no-op case, which is enough to call it correctly. It leaves out return behavior (counts, partial failures) and conflict handling for a destructive, non-idempotent operation, a minor remaining gap.

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; the description adds the meaningful semantic that user_id defaults to the calling user when omitted, which the schema's 'ID of the user' does not convey.

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 ('Run a two-way Google Calendar sync now') and immediately defines both directions ('push the user's own events + pull Google changes'). It also scopes out what is not synced ('Agent calendars are app-internal'), which lets an agent separate this from the calendar CRUD siblings 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 trigger context ('now', on-demand sync) and two useful conditions: user_id defaults to the caller, and it is a no-op when Google isn't linked. It does not name an alternative sync tool or say when not to sync (e.g., recent sync already ran), so it falls short of explicit routing guidance.

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.