Skip to main content
Glama

How to write Chinese characters

hsk_how_to_write
Read-onlyIdempotent

Show how to write Chinese characters by hand, in an interactive view. Each character is drawn stroke by stroke, and the user can practise drawing it and see whether each stroke is right.

Use this when the user asks how to write a Chinese character or word, wants to practise writing one, or asks about strokes or stroke order. The user does not need to say "stroke": "How do I write 你好?", "Show me how to write 谢", "怎么写", "I want to practise writing 学习" and "What is the stroke order of 我?" are all requests for this tool. A text answer cannot show how a character is drawn; this view can.

If the user names the word in another language ("how do I write thank you in Chinese?"), find the Chinese word first, then pass its characters.

Not for composing or translating text (a sentence, a message, an essay), and not for meaning or pronunciation alone; the other tools cover those.

Works for simplified and traditional characters, including ones outside the HSK lists. The strokes are shown in the view only; the text result does not describe them.

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": {
      "text": "<text>"
    },
    "name": "hsk_how_to_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe Chinese characters to show, simplified or traditional. One or more; anything that is not a Chinese character is ignored, and at most 30 are shown. Example: '你好'.

Output Schema

NameRequiredDescriptionDefault
omittedYesHow many more were left out because of the limit.
charactersYesThe characters shown, in order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so safety is covered; the description adds the crucial behavioral fact that the strokes appear in the view only and the text result does not describe them, which shapes what the agent should tell the user afterward. It also discloses coverage breadth (simplified and traditional, including characters outside the HSK lists).

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?

Front-loaded with the core action, then usage triggers, then exclusions — a sensible structure where each paragraph has a job. It runs slightly long, with overlapping example phrasings and a modestly redundant explanation of why a text answer is insufficient, but nothing is truly extraneous.

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

Completeness5/5

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

An output schema exists, so return values need no explanation, and the one input parameter is fully described. For a single-parameter visualization tool, the definition covers purpose, triggers, exclusions, cross-language handling, and output limitations — nothing an agent needs is missing.

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?

Schema coverage is 100% and already documents the character limit, ignoring non-Chinese input, and the 30-character cap, so this is baseline-plus. The description adds real guidance beyond the schema: when the user names the word in another language, resolve the Chinese word first and pass its characters, which tells the agent what value to supply rather than just its type.

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 and resource (show how to write Chinese characters by hand) plus the form it takes (an interactive view with stroke-by-stroke drawing). It is clearly distinguishable from siblings like hsk_convert_characters or hsk_convert_script because it emphasizes the visual stroke demonstration rather than conversion.

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

Usage Guidelines5/5

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

Gives explicit triggers with several example utterances in English and Chinese ('How do I write 你好?', '怎么写'), covers the practice case and stroke-order case, and adds a negative boundary: not for composing or translating text, and not for meaning or pronunciation alone. It also handles the indirect case (word named in another language) with a concrete procedure.

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.