Skip to main content
Glama

Disconnect calendar

disconnect_calendar_account
DestructiveIdempotent

Disconnect an external calendar account — a Google connection or a calendar subscribed by URL — and remove its imported events. The lane's own events are kept, and their copies in Google are left alone. Only whoever connected it or an admin may disconnect it; a team calendar needs an admin. Cannot be undone — confirm with the user first. Returns {disconnected: 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": {
      "id": "<id>"
    },
    "name": "disconnect_calendar_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesConnected calendar account id (from list_calendar_accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 adds genuinely new behavioral detail on top: which data is destroyed (imported events), which survives (the lane's own events, and their Google copies), the authorization model (connector or admin, admin required for team calendars), and an explicit irreversibility/confirmation warning.

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 action and tightly packed: scope, data fate, permissions, and irreversibility each get roughly one sentence with no filler. The trailing return-shape note is useful but makes the block slightly denser than strictly necessary.

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 destructive, permission-gated mutation with no output schema, the definition covers everything an agent needs before calling: preconditions, side effects on related data, authorization rules, confirmation requirement, and even the response shape ({disconnected: id}).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is only one parameter and the schema covers it at 100%, including a UUID format/pattern hint and a pointer to list_calendar_accounts as the source of ids. The description adds no further parameter semantics, which matches the baseline of 3 when the schema already does the work.

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?

Names a specific verb (disconnect) and resource (external calendar account), and explicitly scopes what counts as the resource: a Google connection or a URL-subscribed calendar. The removal of imported events is stated up front, so an agent can tell this apart from sibling teardown tools like delete_email_account or the calendar-feed tools.

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 conditions for use: only the connector or an admin may disconnect, and a team calendar requires an admin; it also instructs the agent to confirm with the user first. It does not name a sibling alternative (e.g. sync_calendar_account or delete_email_account) for the case where the user wants to pause rather than disconnect, so it stops short of full alternative routing.

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