Skip to main content
Glama

API Keg — CalendarICS RFC 5545 Invite Compiler

Generate RFC 5545 Calendar Invite & Deep Links

generate_calendar_invite
Read-onlyIdempotent

Compiles a strict RFC 5545 / RFC 5546 .ics invite (PUBLISH, REQUEST with RSVP attendees, or CANCEL) with UTF-8 code-point-safe 75-octet CRLF folding, IANA VTIMEZONE blocks, and Google/Outlook/Yahoo/data-URI calendar links. Pricing: $0.001 USD per generated .ics invite + deep-link bundle (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.

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": {
      "title": "<title>",
      "start": "<start>"
    },
    "name": "generate_calendar_invite"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoOptional end timestamp or non-inclusive end date (YYYY-MM-DD for all-day). Overrides `durationMinutes` when provided.
uidNoStable globally unique event identifier. Reuse the same UID with an incremented `sequence` to update or cancel an invite.
rruleNoOptional RFC 5545 recurrence rule (e.g., "FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=12").
startYesStart time in ISO 8601 UTC (2026-07-15T14:00:00Z), local wall-clock ISO paired with `timezone` (2026-07-15T10:00:00), or YYYY-MM-DD for `allDay: true`.
titleYesEvent summary/title (supports emojis, CJK, and accented characters).
allDayNoWhen true, emits RFC 5545 `VALUE=DATE` (`YYYYMMDD`) all-day boundaries.
methodNoiTIP method: PUBLISH (standalone event), REQUEST (RSVP meeting invite; requires `organizer`), or CANCEL (cancellation update).PUBLISH
statusNoEvent status (defaults to CANCELLED when method=CANCEL, CONFIRMED otherwise).
locationNoPhysical venue address, conference room, or virtual link.
sequenceNoRevision sequence number (defaults to 0, or 1 when method is CANCEL).
timezoneNoIANA timezone identifier (e.g., "America/New_York", "Europe/London", "Asia/Tokyo"). Compiles an accurate RFC 5545 VTIMEZONE block and TZID-qualified timestamps.
attendeesNoList of invited participants.
organizerNoCalendar organizer identity (required when method is REQUEST).
descriptionNoPlain-text meeting agenda or description.
conferencingUrlNoVideo meeting join URL (e.g., Zoom, Google Meet, Microsoft Teams).
durationMinutesNoDuration in minutes when `end` is omitted (defaults to 60 minutes, or 1 day for all-day events).
alarmMinutesBeforeNoOptional display reminder offset in minutes prior to event start (emits a VALARM block).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description is consistent with that (it compiles output, it does not mutate state). Beyond annotations it adds material facts otherwise unavailable: a $0.001 per-bundle x402 micropayment charge and a free REST dry-run validation path, which directly affect invocation strategy. It stops short of describing rate limits, failure modes, or what the returned bundle contains.

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, front-loaded with the artifact being produced, and the second sentence carries the commercial constraint. It is dense with jargon (75-octet CRLF folding, IANA VTIMEZONE, data-URI links), but each clause maps to a real capability rather than padding.

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?

For a 17-parameter generator with no output schema, the description covers the expensive/irreversible bits an agent most needs: cost, payment mechanism, and a free validation escape hatch. The main omission is the shape of the returned bundle (raw .ics text, link list, data URI) and any error behavior, which the absent output schema leaves unstated.

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 every parameter, enum, default, and cross-field rule (organizer required for REQUEST, end overrides durationMinutes, UID+sequence for updates) is already documented in the schema. The description only restates the method triad at a high level, adding no syntax or interaction details beyond it, so the baseline of 3 applies.

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?

The description names a concrete verb and artifact: compiles a strict RFC 5545/5546 .ics invite (PUBLISH, REQUEST, CANCEL) plus deep links, and lists the folding, VTIMEZONE, and link outputs. It is unmistakably not a validator or a generic calendar writer, though it never names the sibling validate_ics_payload even though the two overlap conceptually.

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

Usage Guidelines3/5

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

Usage is only implied: the note that '?dry_run=true on REST' validates schema free suggests a cheap pre-check path before paying, which is useful when-to-use context. However, it does not state when to call this versus validate_ics_payload, nor when NOT to call it (e.g., for parsing or editing existing invites).

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