Skip to main content
Glama

list_calendars

Read-only

List all calendars the user has access to. Use this to discover available calendars before performing calendar operations. The primary calendar (primary:true) is the user's main calendar. Other calendars may be shared, subscribed, or secondary calendars. The calendar ID is required for all other calendar operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageTokenNoPagination token from previous response to get next page
maxResultsNoNumber of calendars to return (1-250). Default: 100

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
calendarsYes
nextPageTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / nextPageToken / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / nextPageToken / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "calendars": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "accessRole": {
      +            "type": "string"
      +          },
      +          "description": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "primary": {
      +            "type": "boolean"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "timeZone": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "summary",
      +          "primary"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "nextPageToken": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "calendars",
      +    "nextPageToken"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent knows this is a safe read operation. The description adds useful context beyond annotations by explaining the types of calendars (primary, shared, subscribed, secondary) and the importance of calendar IDs for other operations. However, it does not disclose behavioral traits like pagination details or rate limits, which are partially covered by the input schema but could be elaborated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose in the first sentence, followed by usage guidance and additional context. Each sentence earns its place by providing value, such as explaining calendar types and ID requirements, without unnecessary repetition or fluff. It is appropriately sized for the tool's complexity.

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?

Given the tool's low complexity (list operation), rich annotations (read-only, non-destructive), and the presence of an output schema, the description is complete enough. It covers the purpose, usage context, and key behavioral insights (e.g., calendar types and ID importance), without needing to explain return values or detailed parameters, which are handled by structured data.

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%, with clear descriptions for both parameters (pageToken and maxResults). The description does not add any parameter-specific semantics beyond what the schema provides, such as explaining how pagination works in practice or default behaviors. Since the schema does the heavy lifting, a baseline score of 3 is appropriate.

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 clearly states the specific action ('List all calendars') and resource ('calendars the user has access to'), distinguishing it from sibling tools like create_event or get_calendar_events. It explicitly mentions the purpose is to 'discover available calendars before performing calendar operations,' which is distinct from operations that manipulate events or check availability.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool ('to discover available calendars before performing calendar operations') and implies when not to use it (e.g., for event-related operations handled by siblings). It also notes that 'The calendar ID is required for all other calendar operations,' reinforcing its role as a prerequisite step.

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.