Skip to main content
Glama

add_mistakes

Batch-record multiple wrong answers in one transaction; if any entry fails, all changes roll back to keep the mistake bank consistent.

Instructions

批量录入错题(一次事务,任一条失败则全部回滚)。

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": {
      "items": "<items>"
    },
    "name": "add_mistakes"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes字典列表,每个字典的字段与 add_mistake 的参数同名(question 必填)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does disclose the key trait: a single transaction with full rollback if any item fails. That is valuable beyond the schema, but it omits permissions, batch-size limits, and what happens on partial validation failure before the transaction begins.

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 parenthetical sentence that front-loads the action and then the transactional guarantee. Nothing is wasted and the atomicity caveat arrives before an agent commits to a call.

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

Completeness3/5

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

For a batch mutation with no annotations and no output schema, the definition covers the riskiest behavior (all-or-nothing rollback) but not the return shape — how many records were created or how failures are reported. Adequate to call safely, incomplete for predicting the result.

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 schema itself already explains that items is a list of dicts whose fields mirror add_mistake's arguments with question required. The description adds no further parameter meaning, so the baseline 3 applies.

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 (batch insert of mistake records) and the batch scope plus atomicity make it clearly distinct from the sibling add_mistake, which is even named indirectly via the schema reference. It stops short of explicitly framing itself as the multi-item counterpart to add_mistake, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 批量 (batch) versus the single-item sibling add_mistake, so an agent can infer when to pick this one. There is no explicit when-not guidance, no note about when a batch is preferable to repeated single calls, and no stated batch-size or validation limits.

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