Skip to main content
Glama

Recolour a calendar inside a connected account

set_calendar_color
Idempotent

Set the colour a calendar from list_external_calendars draws in, for everyone who sees it, or pass color null to return it to its default (Google's colour; for a calendar subscribed by URL, the profile's). Stored here only, never sent to Google. An event's own color still wins over it. Anyone who can see the calendar may set it. Returns the updated calendar.

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": {
      "id": "<id>",
      "color": "<color>"
    },
    "name": "set_calendar_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExternal calendar id (the id from list_external_calendars).
colorYesSix-digit hex, e.g. #4285f4, or null for the default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuinely non-structured context: the value is stored locally and 'never sent to Google', anyone who can see the calendar may set it, and it returns the updated calendar. It does not contradict any annotation.

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?

Three dense sentences, each carrying distinct information: effect, null fallback, storage scope, precedence, permission. The opening clause ('the colour a calendar ... draws in') is slightly tangled but no sentence is filler.

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 two-parameter mutation with no output schema, the description covers mutation effect, default/reset path, persistence scope, permission model, interaction with event-level colour, and the return value. Nothing an agent needs before calling is missing.

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 coverage is 100% and the schema already explains both `id` (external calendar id) and `color` (six-digit hex or null for default), so the baseline is 3. The description reinforces the null semantics and the audience scope of the colour, but adds no format or constraint information beyond the schema.

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 opens with a specific verb + resource + scope: 'Set the colour a calendar from list_external_calendars draws in, for everyone who sees it.' It anchors the target to the sibling that supplies the id, so an agent can distinguish this recolour operation from lifecycle siblings like set_calendar_push_target or rename_calendar_feed.

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?

It gives explicit conditional behavior for the null case ('pass color null to return it to its default') and states precedence ('An event's own color still wins over it'), which tells the agent when this setting will not visibly apply. It stops short of naming an alternative tool or an explicit when-not-to-call condition.

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.

Resources