Skip to main content
Glama

add_calendar_acl

Destructive

Adds an access control rule to a Google Calendar to grant a user, group, or domain a specific role such as reader, writer, or owner.

Instructions

Grant access to a calendar by adding an access control rule.

Args: calendar_id: The calendar ID, or 'primary'. role: Access role to grant. One of: 'reader', 'writer', 'owner', 'freeBusyReader'. scope_type: Who the rule applies to. One of: 'user', 'group', 'domain', 'default' ('default' grants public access to all users and must not have a scope_value). scope_value: Email address (for 'user'/'group') or domain name (for 'domain'). Required unless scope_type is 'default', in which case it must be omitted. send_notifications: Whether to send a notification email to the grantee. Defaults to True.

Returns: Created ACL rule: id, role, scope_type, scope_value. Google rejects any change to the calendar's primary-owner rule or to the authenticated account's own rule; 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>",
      "role": "<role>"
    },
    "name": "add_calendar_acl"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
scope_typeNouser
calendar_idYes
scope_valueNo
send_notificationsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare destructiveHint=true, but the description adds real behavioral context: a notification email is sent by default (send_notifications=True), 'default' scope_type grants public access to all users, and Google rejects changes to the primary-owner rule or the authenticated account's own rule, returning an error naming which. This discloses side effects and failure modes beyond the annotation, though it doesn't discuss permission requirements or rate limits.

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 definition is front-loaded with a one-line purpose, then organized into Args and Returns sections. Every sentence earns its place, though the Returns section partially restates output-schema content and adds some length for a simple mutation.

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 5-parameter mutation tool with destructiveHint=true and an output schema, the description covers all parameters, side effects (notification email), and the key error condition. Nothing an agent needs to call it correctly is missing.

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% and the schema defines no enums, so the description carries the full burden — and it does: it supplies the allowed role values, the allowed scope_type values, the conditional requirement/omission of scope_value, the 'primary' shorthand for calendar_id, and the default for send_notifications. This meaningfully exceeds what the schema provides.

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 first sentence names a specific verb and resource ('Grant access to a calendar by adding an access control rule'), which cleanly distinguishes it from siblings like list_calendar_acl and remove_calendar_acl. An agent can identify the operation 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the purpose statement rather than stated explicitly; there is no 'use this when...' guidance or named alternative for adjusting an existing rule. The argument notes do implicitly steer behavior (e.g., 'default' for public access, omit scope_value in that case), but there is no explicit when-not guidance.

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