Skip to main content
Glama

calendar_delete_commit

Permanently deletes a confirmed calendar event using the provided confirmation ID, hash, and consent token; intended only for irreversible removal after user approval.

Instructions

【第 2 步】用户确认后真正删除日程(不可恢复)。

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": {
      "confirmId": "<confirmId>",
      "hash": "<hash>",
      "consent": "<consent>"
    },
    "name": "calendar_delete_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes
consentYes
confirmIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does the most important thing by flagging the operation as irreversible ('不可恢复') and as a real, not draft, deletion. It says nothing about what happens to linked data, what the confirmId/hash/consent values represent, or what a successful response looks like.

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?

A single compact sentence with the step marker front-loaded and the destructive nature stated before the details. Every element carries signal; the only minor cost is that brevity leaves the parameter gaps unfilled.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is an irreversible delete with three opaque required tokens, no annotations, and no output schema, so the description needs to explain the confirmation flow and parameter provenance. It conveys the step position and irreversibility but leaves an agent unable to know where confirmId/hash come from.

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

Parameters2/5

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

Schema description coverage is 0% for three required parameters (confirmId, hash, consent), so the description must compensate and largely fails. '用户确认后' hints at the consent parameter's purpose, but confirmId and hash are given no meaning, origin, or format guidance anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('真正删除日程' – actually delete the calendar event) and frames it as step 2 of a flow, which distinguishes it from the draft/commit siblings. It does not name any sibling outright, so it stops short of full differentiation.

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?

'【第 2 步】用户确认后' establishes a clear precondition: the user must have already confirmed before this tool should be called. It gives no explicit exclusion or alternate route (e.g. fall back to calendar_delete_draft when confirmation is missing), so guidance is contextual rather than exhaustive.

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