Skip to main content
Glama

Engine Heart

handict.lookup_word

新华字典/汉语词语查询。输入单个汉字(如'龙')返回拼音、笔画数、部首、释义、笔顺编号与可读笔顺(横/竖/撇/点/折);输入词语或成语(如'画蛇添足'、'天气'、'一帆风顺')返回该词条释义(成语附拼音与出处),并逐字拆解返回每个字的拼音/笔画/部首;库内含约1.5万汉字、26万条词语、3万条成语。detail=false 可关闭逐字拆解。

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": {
      "query": "<query>"
    },
    "name": "handict.lookup_word"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes单个汉字或词语/成语,如 龙、画蛇添足、天气、一帆风顺
detailNo是否逐字拆解返回单字信息,默认 True

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses the exact return fields for each mode, the dataset scale (~15k characters, 260k words, 30k idioms), and that idioms include pinyin and source. It omits failure behavior (what happens for an unknown character) and any latency or rate context, which keeps it short of a 5.

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?

The core capability and input modes are front-loaded, examples are compact and illustrative, and the dataset-scale figure earns its place by signaling coverage limits. The single dense sentence is long, but almost every clause adds usable 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?

There is no output schema and no annotations, so the description must describe returns itself, and it does so field-by-field for both modes, which is the key gap it needed to close. Missing only edge-case behavior for not-found queries and the interaction between 'detail' and single-character input.

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% and both parameters already carry inline descriptions, so the baseline is 3. The description reinforces the meaning of 'detail=false' by tying it concretely to disabling the per-character breakdown, but adds no format or syntax detail beyond what the schema states.

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 gives a specific verb and resource ('新华字典/汉语词语查询') and enumerates exactly what each input mode returns: phonetic/stroke/radical/definition/stroke-order fields for single characters, and definition plus per-character breakdown for words and idioms. It does not, however, distinguish itself from the sibling handict.search_char, so an agent facing both tools must infer which to call.

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 through worked examples ('龙' for single characters, '画蛇添足'/'天气' for words, '一帆风顺' for idioms), which effectively tells the agent what input shapes are valid per mode. There is no explicit when-to-use-vs-alternative guidance, no mention of when to prefer the search_char sibling, and no note about behavior on misses or unsupported input.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources