Skip to main content
Glama

calendar_insert_draft

Prepares a new calendar event as a preview and confirmation without creating it, so users can review and approve before committing.

Instructions

【第 1 步】准备新建日程:返回确认单与预览,不真正创建。展示给用户拿到同意后调用 calendar_insert_commit。

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": {
      "event": "<event>"
    },
    "name": "calendar_insert_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYesCalendar v3 event 对象。必须含 summary、start、end;时间用 {dateTime, timeZone} 或 {date}。
calendarIdNo默认 primary

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the critical behavior: this call is non-mutating, it returns a confirmation sheet and preview rather than creating anything. It also discloses the human-in-the-loop requirement. It stops short of saying whether a draft is persisted server-side, whether it expires, or what identity/permissions are required for the eventual commit.

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?

Three short clauses with zero filler: step marker first, action and non-creation guarantee second, hand-off instruction last. Front-loaded and correctly sized for a two-parameter staging tool.

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?

Covers the essential draft-then-commit contract and implicitly describes the return value (confirmation sheet plus preview) despite no output schema. For a nested event payload with full schema coverage this is nearly complete; the only gap is draft lifecycle/permission context before the commit step.

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

Parameters3/5

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

Schema description coverage is 100% and the nested event object documents required fields (summary, start, end) and the {dateTime, timeZone} vs {date} time format, so the schema already does the heavy lifting. The description adds nothing about either parameter (event payload or calendarId default), which is acceptable but not additive.

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 ('准备新建日程' / prepare a new event) plus the exact return behavior ('返回确认单与预览,不真正创建'), and names the sibling that completes the operation (calendar_insert_commit). An agent can distinguish it from the commit/patch/delete draft siblings without opening any 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?

Gives an explicit ordered workflow: call this first as step 1, show the preview to the user, obtain consent, and only then call calendar_insert_commit. This is exactly the when-to-use and when-to-hand-off guidance an agent needs, with the gating condition (user agreement) spelled out.

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