Skip to main content
Glama

create_event

Destructive

Create a calendar event via a two-phase, human-approved flow: preview the event, obtain out-of-band approval, then execute with the returned request ID.

Instructions

Create a calendar event on the connected calendar. TWO-PHASE, HUMAN-APPROVED: the first call (no request_id) executes nothing — it returns status=approval_required with a preview of exactly what would happen and a request_id. A human approves out of band (GigaMail console, CLI or Telegram, behind Windows Hello / Touch ID); the second call with that request_id executes the payload that was approved (the approved arguments, not the ones passed the second time). Requests expire (default 15 min); identical pending requests are deduplicated; more than 20 requests/hour per tool are refused (status=rate_limited). Every phase is written to the audit log. Approval is required because an event can generate invitations to other people. The preview shows all fields as they will be created. Returns the created event ({id, ...}) on execution. Requires a connected calendar (Microsoft or Google). Find times with find_free_slots first.

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": {
      "subject": "<subject>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "create_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd, ISO 8601 local time; must be after start.
bodyNoOptional description / notes.
startYesStart, ISO 8601 local time, e.g. 2026-08-12T15:00:00.
all_dayNoAll-day event: start and end are the first and last day (YYYY-MM-DD), both included.
subjectYesEvent title.
locationNoOptional location text.
request_idNoOmit on the first call. On the first call the tool does NOT execute: it returns status=approval_required, a preview and a request_id. A human must approve that request_id out of band (GigaMail console, `gigamail approvals approve`, or Telegram — all behind Windows Hello / Touch ID / Linux PIN). Then call again with the same request_id to execute. The agent cannot approve; repeating the call without approval just returns awaiting_approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.8
    • changedInput schema / properties / request_id / description
      Previous value: -"Omit on the first call. On the first call the tool does NOT execute: it returns status=approval_required, a preview and a request_id. A human must approve that request_id out of band (GigaMail console, `gigamail approvals approve`, or Telegram — all behind Windows Hello / Touch ID). Then call again with the same request_id to execute. The agent cannot approve; repeating the call without approval just returns awaiting_approval."New value: +"Omit on the first call. On the first call the tool does NOT execute: it returns status=approval_required, a preview and a request_id. A human must approve that request_id out of band (GigaMail console, `gigamail approvals approve`, or Telegram — all behind Windows Hello / Touch ID / Linux PIN). Then call again with the same request_id to execute. The agent cannot approve; repeating the call without approval just returns awaiting_approval."
  2. Changed1 schema field changedv0.6.3
    • addedInput schema / properties / all_day
      Added value: +{
      +  "default": false,
      +  "description": "All-day event: start and end are the first and last day (YYYY-MM-DD), both included.",
      +  "title": "All Day",
      +  "type": "boolean"
      +}
  3. Changed6 schema fields changedv0.3.0
    • addedInput schema / properties / body / description
      Added value: +"Optional description / notes."
    • addedInput schema / properties / end / description
      Added value: +"End, ISO 8601 local time; must be after start."
    • addedInput schema / properties / location / description
      Added value: +"Optional location text."
    • addedInput schema / properties / request_id / description
      Added value: +"Omit on the first call. On the first call the tool does NOT execute: it returns status=approval_required, a preview and a request_id. A human must approve that request_id out of band (GigaMail console, `gigamail approvals approve`, or Telegram — all behind Windows Hello / Touch ID). Then call again with the same request_id to execute. The agent cannot approve; repeating the call without approval just returns awaiting_approval."
    • addedInput schema / properties / start / description
      Added value: +"Start, ISO 8601 local time, e.g. 2026-08-12T15:00:00."
    • addedInput schema / properties / subject / description
      Added value: +"Event title."
  4. First observedv0.1.3

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the bar is lower, but the description goes well beyond them: it discloses request expiry (default 15 min), deduplication of identical pending requests, a 20-requests/hour-per-tool rate limit returning status=rate_limited, audit logging on every phase, and the crucial rule that execution uses the approved arguments rather than the ones passed the second time. It also justifies approval ('an event can generate invitations to other people'), which explains the destructive hint rather than contradicting it.

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 definition is long but dense and front-loaded: the approval workflow, the failure modes, and the prerequisite are all stated before the trailing pointer to find_free_slots. There is minor repetition between the description body and the request_id schema text about approval backends and Hello/Touch ID, which keeps it from a 5.

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 destructive, open-world mutation tool with no output schema, the description covers what an agent needs: the two-phase protocol, error statuses, expiry, rate limits, prerequisites, and the return shape ('Returns the created event ({id, ...}) on execution'). Nothing material required to call it 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 description coverage is 100%, so the baseline is 3 and the schema already documents subject, start, end, all_day, location and request_id. The description adds genuine meaning beyond the schema by clarifying that the preview shows all fields as they will be created and that the approved payload — not the second call's arguments — is what executes, which changes how an agent should construct request_id calls.

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 names a specific verb and resource ('Create a calendar event') and immediately scopes it to 'the connected calendar'. It also distinguishes this tool from the sibling list by explicitly pointing to find_free_slots for time selection, so an agent can identify both what it does and what it does not do 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?

The description gives an explicit call sequence: first call without request_id, human approval out of band, second call with that request_id to execute. It also states that the agent cannot self-approve and that repeating the call without approval only returns awaiting_approval, plus a prerequisite ('Requires a connected calendar') and a recommended predecessor ('Find times with find_free_slots first').

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