Skip to main content
Glama

Deactivate a calendar

deactivate_feed
DestructiveIdempotent

Deactivates a feed for an explicit user request to interrupt its subscription access, without deleting events or resetting editing windows. User approval of that access interruption is required. A counted active feed releases its slot in the limit it counts toward. publication.status reports calendar-file preparation, not subscription access. distribution_ready reports subscription availability at the returned revision; availability may change afterward. Scope is limited to the connected account’s Smart Calendars AI feeds. No mailbox access, source-document retrieval, automatic source monitoring, scheduled PDF checks or document refresh is provided. Structured schedule content is supplied explicitly by the caller. Result links: subscription_open_url is the exact HTTPS handoff to the default calendar app via webcal; subscription_options_url provides Apple/default, Google, Outlook and copy-link choices; subscription_url is the copyable HTTPS calendar-file fallback; manage_url opens the feed dashboard. URL hosts, paths and tokens identify the returned resource and are not interchangeable. A filtered_subscription has its own links for that selection; top-level links remain unfiltered. Subscription access requires distribution_ready=true. Opening a link does not confirm a subscription; confirmation occurs in the user’s calendar app.

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": {
      "feed_id": "<feed_id>",
      "expected_revision": "<expected_revision>",
      "request_id": "<request_id>"
    },
    "name": "deactivate_feed"
  }
}

Input Schema

NameRequiredDescriptionDefault
feed_idYesIdentity of the selected calendar, as returned in feed results.
request_idYesNon-personal idempotency key chosen by the caller for this operation. Identical retries retain the same key and payload to prevent duplicate changes. User identifiers, chat/session IDs, telemetry and personal data are outside this field’s scope.
expected_revisionYesLast read feed revision; prevents overwriting concurrent edits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / request_id / description
      Previous value: -"Opaque, non-personal idempotency key for this operation. Identical retries retain the same key and payload to prevent duplicate changes. User identifiers, chat/session IDs, telemetry and personal data are outside this field’s scope."New value: +"Non-personal idempotency key chosen by the caller for this operation. Identical retries retain the same key and payload to prevent duplicate changes. User identifiers, chat/session IDs, telemetry and personal data are outside this field’s scope."
  2. Changed2 schema fields changed
    • changedInput schema / properties / feed_id / description
      Previous value: -"Feed identity returned by a previous feed tool; used to address the selected calendar only."New value: +"Identity of the selected calendar, as returned in feed results."
    • changedInput schema / properties / request_id / description
      Previous value: -"Generate an opaque key for this save and reuse it unchanged for retries, to prevent duplicate changes. Not a user identifier, chat/session ID, or telemetry. Do not include personal data."New value: +"Opaque, non-personal idempotency key for this operation. Identical retries retain the same key and payload to prevent duplicate changes. User identifiers, chat/session IDs, telemetry and personal data are outside this field’s scope."
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With annotations already declaring destructive and idempotent, the description goes well beyond them: it explains what is NOT destroyed (events, editing windows), that a slot in the feed limit is released, and the distinct meanings of publication.status vs distribution_ready. It also defines each returned URL's role and the rule that subscription access needs distribution_ready=true, which is unusually rich behavioral context.

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?

The core deactivation behavior is front-loaded in the first sentences, and the subsequent material is dense but organized by topic (scope, return links, access rules). It is longer than strictly necessary for a 3-parameter mutation, with a heavy taxonomy of URL links whose relevance to the deactivation action itself is tangential.

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?

No output schema exists, and the description compensates by explaining the returned subscription links, their non-interchangeability, and access confirmation semantics. It is complete enough for an agent to call and interpret results, though concepts like filtered_subscription links are only briefly anchored.

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?

Schema description coverage is 100%, so feed_id, expected_revision and request_id already have precise documentation. The description adds only peripheral meaning (e.g., 'returned revision', and idempotency via 'returns the same key') and does not elaborate field semantics beyond what the schema states. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Deactivates a feed") plus the exact intent (an explicit user request to interrupt subscription access). It distinguishes itself from destructive siblings by clarifying it does not delete events or reset editing windows, giving a strong sense of what it is not, though no sibling is named as an alternative.

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?

Provides a clear triggering condition (explicit user request to interrupt subscription access) and a prerequisite (user approval required). Scope is bounded to the connected account's Smart Calendars AI feeds. The one gap is that it never points to reactivate_feed as the reverse operation or states when-not to use it.

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