Skip to main content
Glama

add_calendar_to_list

Destructive

Subscribes the authenticated user or service account to an existing Google Calendar, adding it to their calendar list; for service accounts, this makes calendars shared with them appear.

Instructions

Subscribe the authenticated user (or service account) to a calendar, adding it to their calendar list so it appears in list_calendars.

This does not create or share a calendar — it only adds an existing, already-accessible calendar to your own list. For service accounts, this is the required step before a calendar shared with the service account's email will show up in list_calendars.

Args: calendar_id: The calendar ID to subscribe to (e.g. the owner's email for a personal calendar, or a ...@group.calendar.google.com ID). color_id: Optional color ID from the palette returned by the Calendar API's colors().get() endpoint (predefined IDs, typically '1'-'24').

Returns: The new calendar list entry: id, summary, time_zone, access_role, primary, color_id.

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

Input Schema

NameRequiredDescriptionDefault
color_idNo
calendar_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.1/5.0
Behavior3/5

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

Annotations only supply destructiveHint=true, so the description's real contribution is the subscription semantics and the service-account prerequisite, which are valuable. However, it never addresses why the operation is flagged destructive or whether it is reversible; the framing 'it only adds an existing ... calendar to your own list' reads as benign and sits in mild tension with destructiveHint=true without resolving it. The Return section is redundant given an output schema exists.

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 core action and its exclusion before the Args/Returns blocks, so a reader gets the gist in the first sentence. Structure is clean, though the Returns block duplicates the output schema and the second sentence re-states the 'existing calendar' idea already implied in sentence one.

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?

Covers the action, the non-creating scope, the service-account prerequisite, and both parameters, which is most of what an agent needs for a two-parameter mutation; the presence of an output schema means return values are already documented elsewhere. The only real gap is the unexplained destructiveHint=true, which leaves the mutation's risk profile unclear.

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%, so the description must carry both parameters, and it does: calendar_id is explained with concrete formats (owner's email, `...@group.calendar.google.com`) and color_id is scoped to the predefined palette from colors().get(), typically '1'-'24'. It falls slightly short by not stating what happens when color_id is omitted, but the compensation for zero schema documentation is strong.

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?

States a specific verb and resource ('Subscribe the authenticated user ... to a calendar, adding it to their calendar list') and explicitly contrasts with create/share operations, naming list_calendars as the observable outcome. An agent can distinguish this from create_calendar, add_calendar_acl, and remove_calendar_from_list without opening any schema.

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

Usage Guidelines4/5

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

Gives a clear when-to-use condition ('already-accessible calendar', 'required step before a calendar shared with the service account's email will show up in list_calendars') and a when-not ('does not create or share a calendar'). It stops short of naming the specific alternative tool for creating a calendar, but the exclusion is unambiguous.

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