Skip to main content
Glama

get_calendar

Read-only

Fetches metadata for a single Google Calendar by calendar ID or 'primary', returning summary, description, time zone, access role, and primary status.

Instructions

Fetch metadata for a single calendar.

Args: calendar_id: The calendar ID, or 'primary' for the user's primary calendar.

Returns: Calendar metadata: id, summary, description, time_zone, access_role, primary.

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": "get_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
calendar_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

B3/5.0
Behavior2/5

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

readOnlyHint=true already covers the safety profile, so the bar is lower, but the description adds nothing beyond it: no error behavior for an unknown calendar_id, no note on what 'primary' resolves to, no mention of permission implications of access_role. It largely duplicates the annotation rather than extending it.

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

Conciseness3/5

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

The opening sentence is well front-loaded, but the Args/Returns blocks are boilerplate, and since an output schema exists, the 'Returns' field list is redundant. It is short overall, but a meaningful share of the text earns no place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one documented parameter, an output schema, and readOnlyHint, the agent has enough to invoke it correctly. What is missing is behavioral context an agent actually needs: how to obtain a calendar_id and what happens on an invalid or inaccessible calendar.

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 description coverage is 0%, so the description must carry the parameter's meaning, and it does: calendar_id is the calendar identifier, and the special value 'primary' is explicitly called out. This is genuine value the schema does not provide, though it does not cover format (email vs. numeric ID).

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: 'Fetch metadata for a single calendar.' An agent can tell it retrieves one calendar's metadata rather than listing calendars. It does not distinguish itself from siblings such as update_calendar or get_event, but the singular-calendar scope is clear.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as listing calendars or fetching events; the description only restates inputs and outputs. It does implicitly say 'single calendar,' but never states prerequisites such as needing a known calendar_id.

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