Skip to main content
Glama

calendar.events.add

Schedule a one-off time window like downtime, maintenance, or delivery for an entity. Provide ISO 8601 timestamps with timezone; returns the created event.

Instructions

SIDE-EFFECTFUL. Add a one-off time window (downtime, maintenance, a delivery, a shift, an inspection, etc.) to an entity. NOT idempotent — calling this twice creates two events. starts_at/ends_at must be ISO 8601 with an explicit timezone (Z or ±HH:MM) — naive timestamps are rejected because their meaning would be ambiguous once stored as UTC. Returns {event}. Follow up with calendar.events.conflicts to check for overlaps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesFreeform event type, e.g. 'downtime', 'maintenance', 'delivery', 'shift'.
notesNoOptional free-text notes about the event.
titleYesShort title for the event.
entityYesEntity the event applies to — name (case-insensitive) or numeric id.
sourceNoFreeform provenance, e.g. 'email from ops team'.
ends_atYesISO 8601 timestamp with explicit timezone; must be after starts_at.
starts_atYesISO 8601 timestamp with explicit timezone, e.g. '2026-08-03T02:00:00+05:30'.
original_timezoneNoIANA timezone the window was originally communicated in, for display.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.7.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations are absent, so the description carries the full disclosure burden. It opens with 'SIDE-EFFECTFUL', warns 'NOT idempotent — calling this twice creates two events', explains why naive timestamps are rejected, and states the return value. This makes the side-effect and idempotency profile transparent before invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four dense sentences lead with the most decision-relevant fact (side-effectful/non-idempotent), then move to preconditions, return value, and recommended follow-up. Every sentence earns its place with no filler or repetition.

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?

The tool is moderately complex (8 params, no annotations, no output schema), yet the description covers side effects, idempotency, timestamp constraints, return shape, and the recommended next step. There is little an agent needs to safely invoke it correctly; only explicit error behavior for nonexistent entities is absent, which is minor.

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?

The input schema already documents all 8 parameters, so the baseline is 3. The description adds value by explaining rejection semantics for naive starts_at/ends_at timestamps and clarifying the 'one-off' nature of the window. It doesn't add much for entity, notes, source, or original_timezone, but the schema already covers those.

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 description uses a specific verb ('Add') and resource ('one-off time window'/'event') with concrete examples such as downtime, maintenance, and shift. It clearly differentiates from sibling event tools (update/delete/list/conflicts) by framing the action as creating a new event, and it highlights non-idempotence as a distinguishing trait.

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 states the context for use: adding one-off time windows to an entity, and it explicitly directs the agent to follow up with calendar.events.conflicts for overlap checks. It also establishes a hard precondition (ISO 8601 with explicit timezone) that an agent must verify before calling. It does not explicitly mention alternatives like events.update for modifications, but the sibling separation is otherwise clear.

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