Skip to main content
Glama

Subscribe to a calendar by URL

add_calendar_feed

Subscribe a profile lane — or, with no profileId, the whole organization (admins only) — to an external calendar by its iCalendar (.ics / webcal) URL. Read-only: its events are imported and kept in step, never written back. The URL is fetched once to check it is a calendar; it must be a public https address. Subscribing the same lane to the same URL twice is refused (409). For a Google account use get_calendar_connect_url. Returns the new connected calendar account.

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": {
      "url": "<url>"
    },
    "name": "add_calendar_feed"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe calendar's iCalendar (.ics) address: https:// or webcal://.
nameNoDisplay name, up to 120 characters. Defaults to the feed's own name, then its host.
profileIdNoProfile lane the feed's events land in (UUID from list_profiles). Omit for a team calendar every member sees (admins only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the generic non-read-only, non-idempotent, open-world profile; the description adds real behavior: the feed is imported and kept in sync but never written back to, the URL is fetched once for validation, duplicates return 409, and the call returns the new connected calendar account. The directionality note ('Read-only: its events... never written back') is clearly about the external feed rather than the tool itself, so it does not contradict readOnlyHint=false.

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?

Four dense sentences, front-loaded with scope and safety, then the alternative sibling and return value. Every sentence carries information, though the https/webcal handling could be stated more precisely in the same space.

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 three-parameter creation tool with no output schema, the description covers scope, prerequisites, failure mode, alternative tool, side effects on the external feed, and the return value. Nothing an agent needs to invoke it correctly 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 description coverage is 100%, so the schema already documents name defaults and the profileId lane/org-admin semantics; the description largely restates these. It adds only the validation constraint that the URL must be public https, which is in mild tension with the schema allowing webcal:// and is not reconciled.

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 a lane/organization to an external calendar by its .ics/webcal URL) and immediately clarifies the scope distinction (profile lane vs. whole organization when profileId is omitted). It also names the sibling to use for the Google path, so an agent can tell it apart from get_calendar_connect_url without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit conditions: omit profileId for a team-wide calendar (admins only), and use get_calendar_connect_url instead for a Google account. It also states the precondition that the URL must be a public https address and that duplicates are refused with 409, which tells the agent when this call will fail.

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