Skip to main content
Glama

list_calendars

Read-only

Retrieve all Google Calendars accessible to the authenticated user, including IDs, time zones, access roles, and primary status, to select or manage the right calendar.

Instructions

List all calendars accessible to the authenticated user.

Returns: List of calendars with id, summary, time_zone, access_role, and primary flag. Results are cached; call refresh_cache(calendar_id=...) to invalidate.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_calendars"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds genuinely new behavioral context beyond that: results are cached and refresh_cache(calendar_id=...) invalidates them. That caching trait is not expressible in annotations and materially affects how an agent sequences calls.

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?

Three short blocks: purpose, returns, caching caveat. Each is front-loaded and every sentence carries operational information; nothing is padded.

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 parameterless read tool with a readOnly annotation and an output schema, this is close to complete. The returns enumeration partly duplicates the output schema, but the cache-invalidation note and the reference to refresh_cache fill the main gap an agent would hit when repeated calls return stale data.

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?

With zero parameters, the baseline is 4. The only parameter detail given (calendar_id on refresh_cache) belongs to a different tool, so nothing here clarifies this tool's inputs, but none exist to clarify.

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?

The description states a specific verb and resource ('List all calendars') and bounds the scope to calendars 'accessible to the authenticated user'. Sibling tools operate on other resources (events, files, messages), so the resource noun alone distinguishes it, but the description never names or contrasts 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 Guidelines3/5

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

The scope phrase implies when the tool applies, and the caching sentence implicitly tells the agent to call refresh_cache when fresh data is needed. There is no explicit when-to-use/when-not guidance or mention of alternatives such as get_event-style single-resource lookups.

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