Skip to main content
Glama

search_mistakes

Retrieve and filter stored wrong answers by keyword, tags, subject, topic, review state, due status, or difficulty; returns paginated items with total and count for targeted review.

Instructions

按条件检索错题,返回 {total, count, items}。所有条件可组合。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_mistakes"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo标签列表,要求同时具备这些标签
limitNo返回条数,默认 20,上限 200
queryNo关键词,在题干/解析/知识点/备注/错因中做子串匹配(中文安全)
stateNonew/learning/review/lapsed/mastered/suspended
topicNo知识点关键字(子串)
offsetNo分页偏移
subjectNo限制学科
due_onlyNo只返回当前已到期的
order_byNo排序 auto(相关度) / due(最急) / created(最新) / difficulty / lapses(错最多)auto
error_reasonNo错因过滤
difficulty_maxNo难度上限 1-5
difficulty_minNo难度下限 1-5
include_archivedNo是否包含已归档

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/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 burden; it does disclose the response envelope {total, count, items} and that filters combine, which is genuinely useful. It says nothing about scope limits, archived-record handling (left to the schema's include_archived), or ordering behavior, leaving meaningful gaps for a 13-parameter query tool.

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: purpose first, return shape second, with zero redundant wording. Nothing could be cut without losing information.

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 13-parameter read-only search with full schema coverage and no output schema, the description supplies the missing return shape and the filter-combination rule. It is nearly complete, lacking only routing guidance relative to the many sibling query tools.

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 coverage is 100%, so the schema already defines every parameter including ranges, defaults, and enum-like values. The description adds only the cross-parameter rule that conditions are combinable, which is a modest value-add beyond the schema; baseline 3 is appropriate.

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?

The description states a specific verb and resource ('按条件检索错题') plus the return shape, so an agent knows this is a filtered search over mistakes rather than a single-record fetch. It does not name or differentiate from siblings like list_due or get_mistake, so it stops short of a 5.

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

Usage Guidelines2/5

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

'所有条件可组合' hints that filters can be combined, but there is no guidance on when to prefer this over list_due, get_mistake, or search_attempts, and no exclusions or prerequisites. Usage must be inferred entirely from the name and schema.

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