Skip to main content
Glama

build_ics_event

Read-onlyIdempotent

utilpeek: Build an iCalendar file from JSON events. To read an .ics file use parse_ics. Returns RFC 5545 .ics, base64, data URI and UIDs; escaped text, CRLF folded at 75 octets. Offline; nothing stored. TZID mode has no VTIMEZONE; offsets become UTC, local times float. Invalid zone/date/rrule/email/URL or both end and duration: uncharged 422 naming the event. Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/ics-calendar-api.html

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": {
      "events": "<events>"
    },
    "name": "build_ics_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsYes1-50 events.
timezoneNoDefault IANA time zone for events without one.
time_formatNotzid (default): zoned times as TZID=...; utc: all times in UTC.tzid
calendar_nameNoCalendar name (X-WR-CALNAME).

Output Schema

NameRequiredDescriptionDefault
icsNo
noteNo
uidsNo
bytesNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
base64No
data_uriNo
filenameNo
event_countNo
time_formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / $defs / IcsEvent / properties / all_day / description
      Previous value: -"All-day event. Implied when `start` is a plain date."New value: +"Implied by a date-only start."
    • changedInput schema / $defs / IcsEvent / properties / attendees / description
      Previous value: -"Emails or {email, name (CN), rsvp (ask for a reply)}."New value: +"Email or {email, name (CN), rsvp (ask for reply)} per guest."
    • changedInput schema / $defs / IcsEvent / properties / duration / description
      Previous value: -"ISO 8601 duration such as PT1H30M or P2D (instead of end)."New value: +"ISO 8601 duration; or end."
    • changedInput schema / $defs / IcsEvent / properties / end / description
      Previous value: -"ISO 8601 end. All-day: the last day, inclusive. Send this or `duration`."New value: +"ISO 8601; all-day end inclusive. Or duration."
    • changedInput schema / $defs / IcsEvent / properties / organizer / description
      Previous value: -"Organizer email, or {email, name (CN)}."New value: +"Email or {email, name (CN)}."
    • changedInput schema / $defs / IcsEvent / properties / rrule / description
      Previous value: -"RFC 5545 recurrence rule, e.g. FREQ=WEEKLY;BYDAY=MO;COUNT=10."New value: +"RFC 5545 recurrence rule."
    • changedInput schema / $defs / IcsEvent / properties / start / description
      Previous value: -"ISO 8601 date (all-day) or datetime; without an offset or Z it is read in `timezone`."New value: +"ISO 8601 date or datetime; no offset/Z uses timezone."
    • changedInput schema / $defs / IcsEvent / properties / timezone / description
      Previous value: -"IANA time zone, such as Europe/Berlin."New value: +"IANA time zone."
    • changedInput schema / $defs / IcsEvent / properties / uid / description
      Previous value: -"Stable event id; derived from the content when omitted."New value: +"Defaults to an ID derived from content."
  2. Changed41 schema fields changed
    • removedInput schema / $defs / IcsEvent / properties / all_day / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / all_day / title
      Removed value: -"All Day"
    • removedInput schema / $defs / IcsEvent / properties / attendees / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / attendees / title
      Removed value: -"Attendees"
    • removedInput schema / $defs / IcsEvent / properties / description / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / description / title
      Removed value: -"Description"
    • removedInput schema / $defs / IcsEvent / properties / duration / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / duration / title
      Removed value: -"Duration"
    • removedInput schema / $defs / IcsEvent / properties / end / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / end / title
      Removed value: -"End"
    • removedInput schema / $defs / IcsEvent / properties / location / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / location / title
      Removed value: -"Location"
    • removedInput schema / $defs / IcsEvent / properties / organizer / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / organizer / title
      Removed value: -"Organizer"
    • removedInput schema / $defs / IcsEvent / properties / rrule / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / rrule / title
      Removed value: -"Rrule"
    • removedInput schema / $defs / IcsEvent / properties / start / title
      Removed value: -"Start"
    • removedInput schema / $defs / IcsEvent / properties / status / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / status / title
      Removed value: -"Status"
    • removedInput schema / $defs / IcsEvent / properties / summary / title
      Removed value: -"Summary"
    • removedInput schema / $defs / IcsEvent / properties / timezone / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / timezone / title
      Removed value: -"Timezone"
    • removedInput schema / $defs / IcsEvent / properties / uid / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / uid / title
      Removed value: -"Uid"
    • removedInput schema / $defs / IcsEvent / properties / url / default
      Removed value: -null
    • removedInput schema / $defs / IcsEvent / properties / url / title
      Removed value: -"Url"
    • removedInput schema / $defs / IcsEvent / title
      Removed value: -"IcsEvent"
    • removedInput schema / $defs / Person / properties / email / title
      Removed value: -"Email"
    • removedInput schema / $defs / Person / properties / name / default
      Removed value: -null
    • removedInput schema / $defs / Person / properties / name / title
      Removed value: -"Name"
    • removedInput schema / $defs / Person / properties / rsvp / default
      Removed value: -null
    • removedInput schema / $defs / Person / properties / rsvp / title
      Removed value: -"Rsvp"
    • removedInput schema / $defs / Person / title
      Removed value: -"Person"
    • removedInput schema / properties / calendar_name / default
      Removed value: -null
    • removedInput schema / properties / calendar_name / title
      Removed value: -"Calendar Name"
    • removedInput schema / properties / events / title
      Removed value: -"Events"
    • removedInput schema / properties / time_format / title
      Removed value: -"Time Format"
    • removedInput schema / properties / timezone / default
      Removed value: -null
    • removedInput schema / properties / timezone / title
      Removed value: -"Timezone"
    • removedInput schema / title
      Removed value: -"build_ics_eventArguments"
    • removedOutput schema / properties / uids / items
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  3. Changed7 schema fields changed
    • changedInput schema / $defs / IcsEvent / properties / attendees / description
      Previous value: -"Emails or {email, name, rsvp}."New value: +"Emails or {email, name (CN), rsvp (ask for a reply)}."
    • changedInput schema / $defs / IcsEvent / properties / organizer / description
      Previous value: -"Organizer email, or {email, name}."New value: +"Organizer email, or {email, name (CN)}."
    • changedInput schema / $defs / IcsEvent / properties / start / description
      Previous value: -"ISO 8601 date (all-day) or datetime; an offset or Z is accepted. Without an offset it is read in `timezone`."New value: +"ISO 8601 date (all-day) or datetime; without an offset or Z it is read in `timezone`."
    • removedInput schema / $defs / Person / properties / email / description
      Removed value: -"Email address."
    • removedInput schema / $defs / Person / properties / name / description
      Removed value: -"Display name (CN)."
    • removedInput schema / $defs / Person / properties / rsvp / description
      Removed value: -"Attendees only: ask for a reply."
    • changedInput schema / properties / time_format / description
      Previous value: -"tzid (default): zoned times as TZID=...; utc: every timed value converted to UTC."New value: +"tzid (default): zoned times as TZID=...; utc: all times in UTC."
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: offline operation with nothing stored, the TZID-mode caveat that offsets become UTC and local times float with no VTIMEZONE, and the fact that invalid input returns an uncharged 422 naming the offending event. Rate limits, latency and price are also disclosed.

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?

The purpose and sibling routing are front-loaded, and the dense spec sentences (escaping, CRLF folding at 75 octets, 422 behavior) each carry real information. The trailing pricing/free-tier/docs sentences are somewhat promotional padding but remain brief.

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?

With an output schema present, the description needn't explain return values, yet it still names the four artifacts (RFC 5545 .ics, base64, data URI, UIDs). Combined with full schema coverage, rich annotations, and disclosed error/timing behavior, nothing an agent needs to call this correctly is missing.

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 100%, so the baseline is 3, but the description earns above that by explaining mode-level semantics the schema only gestures at: in TZID mode zoned times are emitted as TZID=..., while UTC mode converts everything. It also clarifies the end/duration mutual exclusivity error, adding meaning beyond the property descriptions.

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 opening sentence gives a specific verb and resource ("Build an iCalendar file from JSON events") and immediately distinguishes it from the sibling parse_ics, which reads .ics files instead. An agent can pick this tool over parse_ics without inspecting 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 Guidelines4/5

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

It explicitly routes the inverse operation to parse_ics ("To read an .ics file use parse_ics"), which is clear alternative guidance. It also supplies the free-tier and per-call price context that shapes when the tool is practical, but it never states conditions under which the tool should not be used, so it stops short of a full 5.

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