Skip to main content
Glama

remove_calendar_acl

Destructive

Revokes an access control rule from a calendar to remove a user's or group's access using calendar ID and rule ID. Returns confirmation and blocks removal of protected owner or account rules.

Instructions

Revoke an access control rule from a calendar.

Args: calendar_id: The calendar ID, or 'primary'. rule_id: The ACL rule ID to remove (from list_calendar_acl).

Returns: Confirmation with calendar_id, rule_id, and action 'removed'. The calendar's primary-owner rule and the authenticated account's own rule can't be removed; that returns an {"error": ...} naming which one.

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": {
      "calendar_id": "<calendar_id>",
      "rule_id": "<rule_id>"
    },
    "name": "remove_calendar_acl"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes
calendar_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds real behavioral detail beyond that: the primary-owner rule and the authenticated account's own rule cannot be removed, and the tool returns an error naming which one. It does not state the permission level required to revoke another user's access, which is the main remaining gap for a destructive mutation.

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?

Content is front-loaded in the first sentence, then organized into Args/Returns blocks. The docstring scaffolding is slightly heavier than necessary and the Returns section partially duplicates the output schema, but no sentence is filler.

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 two-parameter destructive mutation, the definition covers intent, parameter sourcing, protected rules, and error behavior, and an output schema exists to cover return shape. What is missing is any note about required authorization scope or whether revocation is reversible.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry the parameter burden and it does: calendar_id is explained with the 'primary' alias, and rule_id is explained with both its meaning and where to obtain it. Both of the two parameters gain semantics they would not have from the bare schema titles.

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?

The description opens with a specific verb and resource: 'Revoke an access control rule from a calendar.' That is immediately distinguishable from add_calendar_acl (grant) and list_calendar_acl (enumerate), so an agent can pick it without opening a 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?

It supplies the practical prerequisite that rule_id comes 'from list_calendar_acl', which routes the agent to the right sibling for discovery. It also states which rules cannot be removed. It stops short of describing when revocation is appropriate versus other permission tools like remove_permission, so it is strong context without explicit alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools