Skip to main content
Glama

create_calendar_event

Destructive

Add an event to a calendar. Required: title, start_at (ISO), end_at (ISO). Optional: user_id (defaults to caller), agent_id (omit = the user's own calendar), all_day, location, description, lead_id (links the appointment to a lead so it shows up on that record and in find_calendar_event), timezone (IANA; defaults to the calendar owner's). Times without an offset are read as wall-clock time in that zone. User-calendar events sync to Google if linked (→ phone); agent calendars are app-internal. Creates NO Teams/Meet link and invites nobody — for an appointment with a video link (Teams/Meet) in the host's Outlook/Google calendar use create_meeting with video_provider.

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_at": "<start_at>",
      "end_at": "<end_at>"
    },
    "name": "create_calendar_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
rruleNoRecurrence rule, e.g. 'FREQ=WEEKLY;BYDAY=MO'. Without this a series cannot be created at all — one entry stands for the whole series.
titleYesTitle of the calendar event
end_atYesEnd time (ISO 8601)
all_dayNotrue = all-day event
lead_idNoID of the lead
user_idNoID of the user
agent_idNoID of the agent
brain_idNoAgent brain (category) this event belongs to.
locationNoLocation of the event
start_atYesStart time (ISO 8601)
timezoneNoIANA time zone, e.g. Europe/Berlin
descriptionNoDescription of the calendar event
recurrence_endNoISO date the series stops on. Omit for open-ended.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / all_day / description
      Added value: +"true = all-day event"
    • addedInput schema / properties / description / description
      Added value: +"Description of the calendar event"
    • addedInput schema / properties / end_at / description
      Added value: +"End time (ISO 8601)"
    • addedInput schema / properties / lead_id / description
      Added value: +"ID of the lead"
    • addedInput schema / properties / location / description
      Added value: +"Location of the event"
    • addedInput schema / properties / start_at / description
      Added value: +"Start time (ISO 8601)"
    • addedInput schema / properties / timezone / description
      Added value: +"IANA time zone, e.g. Europe/Berlin"
    • addedInput schema / properties / title / description
      Added value: +"Title of the calendar event"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag a non-read-only, open-world, destructive, non-idempotent write. The description adds real behavior beyond that: Google sync for user calendars, app-internal agent calendars, no attendees invited, no video link, and timezone defaulting/offset-less wall-clock interpretation. It does not address the non-idempotent risk (retries creating duplicate events) or the destructive hint, which is the one remaining gap.

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 and front-loaded: required fields first, then optional fields with defaults, then the exclusion and sibling routing. The middle section is somewhat run-on with parenthetical asides, but no sentence is filler.

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 13-parameter mutation with no output schema, the description covers inputs, defaults, sync behavior, and the sibling alternative well. It omits what the call returns (an event ID needed for update/delete) and whether recurrence creates a series entry, which leaves a small gap given there is no output schema to explain returns.

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; the description earns above that by adding defaults and semantics the schema lacks — user_id defaults to caller, omitting agent_id means the user's own calendar, timezone defaults to the calendar owner's, and offset-less times are read as wall-clock in that zone. It does not explain rrule/recurrence_end or brain_id, but those are covered in the schema.

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') and immediately distinguishes itself from create_meeting by declaring it creates no Teams/Meet link and invites nobody. An agent can tell exactly what this does and what it does not, without opening the 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?

Explicitly routes the alternative case: 'for an appointment with a video link (Teams/Meet) in the host's Outlook/Google calendar use create_meeting with video_provider.' It also gives the user-calendar vs agent-calendar decision rule and the lead-linking condition, so when-to-use and when-not-to-use are both spelled out.

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.