Skip to main content
Glama

subscribe_ical

Destructive

Link an external iCal feed to an agent-owned calendar so its events are included in availability calculations. Create the target calendar for that agent first.

Instructions

Link an external iCal feed (e.g. a human's Google Calendar) to an agent's calendar so external events appear in availability calculations. The target calendar must be owned by the specified agent — create the calendar with that agent_id first (org-level calendars without an agent_id cannot host external iCal subscriptions; create a dedicated per-agent calendar for sync targets).

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": {
      "agent_id": "<agent_id>",
      "calendar_id": "<calendar_id>",
      "url": "<url>"
    },
    "name": "subscribe_ical"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesHTTPS URL of the iCal feed (.ics) to subscribe to
labelNoOptional label for this subscription
agent_idYesAgent ID that will own this subscription
calendar_idYesCalendar ID to sync external events into

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.8.4
    • addedInput schema / properties / agent_id / maxLength
      Added value: +128
    • addedInput schema / properties / agent_id / minLength
      Added value: +1
    • addedInput schema / properties / agent_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
    • addedInput schema / properties / calendar_id / maxLength
      Added value: +128
    • addedInput schema / properties / calendar_id / minLength
      Added value: +1
    • addedInput schema / properties / calendar_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. Changed1 schema field changedv1.6.2
    • addedInput schema / properties / url / maxLength
      Added value: +2048
  3. First observedv1.2.5

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds valuable ownership prerequisites but says nothing about the non-idempotent behavior (what happens on a duplicate subscribe), the sync cadence, or whether existing events in the target calendar are affected by the destructive flag.

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?

Two sentences, purpose front-loaded before the prerequisite, with no filler. The closing parenthetical ('create a dedicated per-agent calendar for sync targets') restates the preceding clause rather than adding new information, a minor redundancy.

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?

Covers purpose, prerequisites and the effect on availability, which is good for a four-parameter mutation with no output schema. However, a destructive non-idempotent subscribe tool should also disclose what a repeat call does and whether synced events can overwrite existing ones in the target calendar.

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%, so all four parameters are already documented, making 3 the baseline. The description does add one genuinely new relational constraint — that calendar_id must be a calendar owned by agent_id — but adds nothing about url format or the optional label beyond the schema.

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 ('Link an external iCal feed ... to an agent's calendar') plus the downstream effect ('external events appear in availability calculations'). The subscribe/link framing clearly separates it from the get/list/delete/pause/resume/sync siblings, though no sibling is named explicitly.

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 concrete precondition and an explicit negative case: the target calendar must be owned by the given agent_id, and org-level calendars without an agent_id cannot host subscriptions. It does not point to alternatives (e.g. update_ical_subscription for changing a URL, or pause/resume for control), which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.