Skip to main content
Glama

list_calendar_acl

Read-only

Lists a calendar's access control rules and sharing entries, fetching every page up to a safety limit and flagging partial results so truncated data is not mistaken for complete access.

Instructions

List the access control rules (sharing entries) on a calendar. Every page is fetched (250 rules each), up to a 100-page safety bound.

Args: calendar_id: The calendar ID, or 'primary'.

Returns: List of ACL rules, each with id, role, scope_type, and scope_value. If the first page fails, returns [{"error": ...}]. If a later page fails (or the page bound is hit), returns the rules already fetched followed by one final {"error": ..., "partial": True} entry, so a truncated list is never mistaken for a complete one. Raises ValueError if the response exceeds the safety cap (see MAX_TOOL_RESPONSE_CHARS in docs/configuration.md for the configured default).

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>"
    },
    "name": "list_calendar_acl"
  }
}

Input Schema

NameRequiredDescriptionDefault
calendar_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, and the description adds substantial behavior beyond that: page size of 250, a 100-page safety bound, full pagination, and a partial-result error sentinel so a truncated list is never mistaken for complete. It also discloses that a ValueError is raised when the response exceeds the configured cap.

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 purpose in the first sentence, then structured Args/Returns. Slightly verbose in restating return-value detail that an output schema already covers, but no sentence is wasted and the ordering aids scanning.

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 single-parameter read tool, the definition covers what is fetched, pagination behavior, partial-failure semantics, and the hard failure cap. An agent has everything needed to call it and to interpret degraded responses correctly.

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 0% and the schema only labels the field 'Calendar Id', so the description carries the burden. It adds meaningful semantics, notably that the special value 'primary' is accepted alongside a concrete ID, though it does not describe the ID format or where to obtain one.

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 ('List the access control rules (sharing entries) on a calendar'), and the parenthetical clarifies the meaning of ACL for an agent. It does not name a sibling it is not, so it falls short of a 5, but the purpose is unmistakable.

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 only implied: an agent can infer it should call this when it wants to know who can see a given calendar. There is no explicit when-to-use or when-not-to-use guidance, and no routing to related siblings such as list_permissions or add/remove_calendar_acl.

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