Skip to main content
Glama

delete_mistake

Permanently deletes a mistake and its review history from the local SQLite mistake bank. Use only when removal is intended, since the record cannot be recovered; prefer archive_mistake for reversible hiding.

Instructions

物理删除一道错题及其复习历史。不可恢复,优先考虑 archive_mistake。

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": {
      "mistake_id": "<mistake_id>"
    },
    "name": "delete_mistake"
  }
}

Input Schema

NameRequiredDescriptionDefault
mistake_idYes错题 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/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 behavioral burden, and it does cover the two most important traits: the deletion is physical/permanent (不可恢复) and it cascades to review history. It does not say what happens if the id does not exist, whether a confirmation flag is needed, or which permissions apply — meaningful gaps for an irreversible mutation.

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?

Two short sentences, zero filler. The destructive scope is front-loaded and the alternative is the last thing read, which is the right ordering for a dangerous operation.

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 single-parameter destructive tool with no output schema and no annotations, the essential facts (what is destroyed, that it is irreversible, what to use instead) are all present. Only error/idempotency behavior and any confirmation requirement are absent.

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?

Only one parameter, mistake_id, and the schema documents it at 100% coverage with a description, so the schema already does the work. The description adds nothing parameter-specific, which is the expected baseline for a single well-documented argument.

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 (物理删除 / physical delete), a specific resource (一道错题 / one mistake) and an explicit scope (及其复习历史 / plus its review history). This makes it unmistakable against archive_mistake, which is named in the same breath.

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?

Explicitly routes the agent toward the safer alternative with 优先考虑 archive_mistake, and 不可恢复 supplies the reason that alternative is preferred. It stops short of stating the positive condition under which deletion IS correct (e.g. duplicate/discarded entry), so the routing is clear but one-sided.

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