Skip to main content
Glama

Create a calendar event

create_calendar_event
Destructive

Create a new event in a connected Google or Apple calendar - typically an appointment found with find_free_slots. Requires the user's explicit approval and confirm: true: show the date, time and title first. Provide exactly one of end or durationMinutes. idempotencyKey is optional; sending the same value again returns the already-created event instead of a second one, so pass one whenever you may need to retry the same request. Checks the slot is still free right before writing - calendar_slot_taken means it no longer is, call find_free_slots again and offer another time. Same data as POST /v1/integrations/{id}/events (response schema in /openapi.json).

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

Input Schema

NameRequiredDescriptionDefault
endNoEnd of the appointment, RFC 3339 with an offset. Provide exactly one of end or durationMinutes.
startYesStart of the appointment, RFC 3339 with an offset.
titleYesEvent title shown in the calendar.
confirmNoMust be true, confirming the user has explicitly approved this exact date, time and title. Without it the request is rejected with calendar_confirmation_required.
calendarIdYesCalendar id from list_calendars, for example primary.
descriptionNoAdditional details about the appointment, shown next to the title in the calendar entry.
integrationIdYesId of the connection (int_...) from list_integrations.
idempotencyKeyNoOptional booking key without control characters, semicolons, commas or backslashes. Sending the same value again returns the already-created event instead of creating a second one.
busyCalendarIdsNoOther calendars in the same connection whose events also block a slot; nothing is written into them, so read-only calendars are fine. At most 4, without duplicates and without calendarId itself.
durationMinutesNoLength of the appointment in minutes. Provide exactly one of end or durationMinutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the human-in-the-loop approval gate, the rejection code calendar_confirmation_required, the pre-write free-slot recheck, the meaning of calendar_slot_taken, and the retry-deduplication semantics of idempotencyKey. The note that idempotentHint=false in annotations reflects natural idempotency while the optional key adds conditional idempotency is a clarification, not a contradiction. Points to /openapi.json for the response schema, which is useful since no output schema exists.

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?

A single dense paragraph, front-loaded with the action and the approval gate, then the constraints, retry behavior, and error path. Every sentence carries either a precondition, a constraint, or a recovery instruction; there is no filler.

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 10-parameter mutation tool with no output schema, the definition covers the approval workflow, the mutually exclusive end/duration choice, retry safety, the concurrency check, and where to find the response shape. Nothing an agent needs to call this correctly appears to be 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 most parameter meaning is already structured, and the description repeats the end/durationMinutes exclusivity that the schema also states. It does add practical guidance beyond the schema, notably why to pass idempotencyKey ('pass one whenever you may need to retry the same request') and the ordering constraint that title, date and time must be shown to the user before setting confirm.

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 ('Create a new event in a connected Google or Apple calendar') and immediately ties it to the typical upstream source ('an appointment found with find_free_slots'). An agent can distinguish this from get_calendar_event or propose_calendar_update 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?

Explicit when-to-use ('typically an appointment found with find_free_slots'), explicit precondition (user's explicit approval, show date/time/title before sending confirm: true), and an explicit error-recovery path (calendar_slot_taken means re-run find_free_slots and offer another time). It also tells the agent when to supply idempotencyKey (whenever a retry is possible).

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.