Skip to main content
Glama

create_event

Add all-day or timed events to a local .ics calendar file, generating UID/DTSTAMP and preserving existing content; use dry-run to preview edits.

Instructions

Add an event to a calendar file. A UID and DTSTAMP are generated.

calendar: file name from calendar_overview (a name that does not exist yet creates a new file; it must end in .ics). start: '2026-03-02' makes an ALL-DAY event (end, if given, is the LAST day, inclusive); '2026-03-02T09:30' makes a timed event, which needs end or duration_minutes. The times are read in tz and stored with that zone (a TZID reference; no VTIMEZONE block is added). rrule: e.g. 'FREQ=WEEKLY;BYDAY=MO,WE'. attendees: email addresses (recorded only; nothing is ever sent). status: TENTATIVE/CONFIRMED/CANCELLED. transp: OPAQUE (busy) or TRANSPARENT (free).

SAFETY: the original file is never modified unless in_place=true. By default the edited copy is written next to it as '.new' (or output_file, which must not exist yet). dry_run=true writes nothing and just shows the patch. Everything else in the file - other events, VTIMEZONE blocks, unknown properties - is kept byte for byte.

Input Schema

NameRequiredDescriptionDefault
tzNoUTC
endNo
rruleNo
startYes
statusNo
transpNo
dry_runNo
summaryYes
calendarYes
in_placeNo
locationNo
attendeesNo
descriptionNo
output_fileNo
duration_minutesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: it discloses the default non-destructive write to '<file>.new', the in_place override, dry_run behavior, output_file constraints, and byte-for-byte preservation of unrelated content. It also flags that attendees are recorded but never sent and that no VTIMEZONE block is added.

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?

Dense but well organized, with a labeled SAFETY block and front-loaded core behavior. Every sentence carries information, though the parameter walkthrough is packed tightly enough that it reads as a reference dump rather than prose.

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 15-parameter mutation tool with no annotations, the description covers the write semantics, safety model, and format rules an agent needs. An output schema exists, so return values need not be explained, and nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it explains the non-obvious parameters: calendar naming rules, start format semantics, end inclusivity, tz storage behavior, rrule syntax, status and transp value sets, and the in_place/output_file/dry_run trio. Only summary, location, and description are left to obvious inference.

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 ('Add an event to a calendar file') plus a concrete side effect (UID and DTSTAMP generated). It also points to calendar_overview for the file name, which separates it from the read-only siblings like agenda and search_events.

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 clear conditional guidance: date-only start makes an all-day event, datetime start requires end or duration_minutes, and calendar names come from calendar_overview. It does not explicitly say to use update_event for existing events, but the create-vs-modify split is strongly implied by the sibling set.

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