Skip to main content
Glama

Look up a Chinese word

lookup_word
Read-onlyIdempotent

Look up one word in the HSK Studio dictionary (HSK 3.0 word list with CC-CEDICT glosses). Accepts Chinese (simplified or traditional), pinyin with or without tones, or an English word. Returns match (exact headword, or null when there is none) plus up to 5 related partial matches, each with pinyin, meaning and HSK level. Use it for a single word the learner asks about; use list_words_by_level to browse a whole level, and check_text_level for a passage. No key, account or side effects; public bundled data only.

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": {
      "q": "<q>"
    },
    "name": "lookup_word"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesThe word to find, e.g. 咖啡, 學習, kafei, kā fēi or coffee. Up to 50 characters.

Output Schema

NameRequiredDescriptionDefault
urlYesHSK Studio page to show the learner.
noteNoHow to use url.
matchYes
queryYes
relatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / q / description
      Previous value: -"Chinese word, pinyin or English word"New value: +"The word to find, e.g. 咖啡, 學習, kafei, kā fēi or coffee. Up to 50 characters."
    • addedInput schema / properties / q / maxLength
      Added value: +50
    • addedInput schema / properties / q / minLength
      Added value: +1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "match": {
      +      "anyOf": [
      +        {
      +          "description": "One dictionary entry.",
      +          "properties": {
      +            "hskLevel": {
      +              "description": "HSK 3.0 level 1-6, 7 = the 7-9 band, 0 = not in the HSK 3.0 list.",
      +              "type": "integer"
      +            },
      +            "meaning": {
      +              "description": "English gloss (CC-CEDICT).",
      +              "type": "string"
      +            },
      +            "otherSenses": {
      +              "description": "Other readings or senses, when the word has them.",
      +              "items": {
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "partOfSpeech": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "pinyin": {
      +              "description": "Pinyin with tone marks.",
      +              "type": "string"
      +            },
      +            "traditional": {
      +              "description": "Traditional form.",
      +              "type": "string"
      +            },
      +            "word": {
      +              "description": "Simplified Chinese headword.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "word",
      +            "pinyin",
      +            "meaning",
      +            "hskLevel"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "note": {
      +      "description": "How to use url.",
      +      "type": "string"
      +    },
      +    "query": {
      +      "type": "string"
      +    },
      +    "related": {
      +      "items": {
      +        "description": "One dictionary entry.",
      +        "properties": {
      +          "hskLevel": {
      +            "description": "HSK 3.0 level 1-6, 7 = the 7-9 band, 0 = not in the HSK 3.0 list.",
      +            "type": "integer"
      +          },
      +          "meaning": {
      +            "description": "English gloss (CC-CEDICT).",
      +            "type": "string"
      +          },
      +          "otherSenses": {
      +            "description": "Other readings or senses, when the word has them.",
      +            "items": {
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "partOfSpeech": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "pinyin": {
      +            "description": "Pinyin with tone marks.",
      +            "type": "string"
      +          },
      +          "traditional": {
      +            "description": "Traditional form.",
      +            "type": "string"
      +          },
      +          "word": {
      +            "description": "Simplified Chinese headword.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "word",
      +          "pinyin",
      +          "meaning",
      +          "hskLevel"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "url": {
      +      "description": "HSK Studio page to show the learner.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "match",
      +    "related",
      +    "url"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/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 the bar is lower. The description still adds value by disclosing the return shape (exact 'match' or null, plus up to 5 'related' partials) and that no key or account is needed; the 'no side effects' clause is largely redundant with the annotations.

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 purpose, then inputs, then return shape, then routing guidance — a sensible order with no filler. The closing 'No key, account or side effects' sentence repeats what the annotations already state and could be trimmed.

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?

Covers accepted input forms, the partial-match fallback behavior and the null case, and routes to alternatives. With an output schema present, nothing else is needed for an agent to call this correctly.

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 carries an example list, so the baseline is 3. The description adds explicit semantics the schema only implies through examples: that simplified, traditional, toneless pinyin, toned pinyin and English are all accepted input forms.

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 ('Look up one word in the HSK Studio dictionary') and even characterizes the underlying data (HSK 3.0 word list with CC-CEDICT glosses). An agent can distinguish it from list_words_by_level and check_text_level without opening any schema.

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?

Explicitly says when to use it ('a single word the learner asks about') and names two alternatives with the conditions that select them (browse a whole level, check a passage). No inference required.

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