Skip to main content
Glama
cn-mcp-kit

cn-mcp-kit

by yuannuo233

number_to_chinese

Converts Arabic numerals into Chinese readings for speech or writing, including decimals and negatives, with optional uppercase financial forms.

Instructions

把阿拉伯数字转成中文读法,如 35000 -> 三万五千,3.14 -> 三点一四,-5 -> 负五。可选输出大写(叁万伍仟)。用于把数字读出来或写成文章。

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": {
      "number": "<number>"
    },
    "name": "number_to_chinese"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYes数字,如 35000 或 "1,234,567"
uppercaseNo是否用大写数字(壹贰叁),默认 false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does real work: the examples disclose that negatives, decimals, and large integers are handled and what the output looks like (there is no output schema to cover this). It stops short of stating that the tool is a pure, side-effect-free transformation with no precision or magnitude limits.

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?

A single tight paragraph with the core mapping and examples front-loaded, and no restatement of the tool name. The trailing 用于把数字读出来或写成文章 is the one soft sentence that adds little beyond the examples.

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 two-parameter pure converter with no output schema, showing three concrete output forms is close to sufficient. The remaining gap is selection risk: nothing tells the agent why to choose this over amount_to_chinese when the uppercase mode is requested.

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%, so both parameters are already documented, and the baseline is 3. The description adds only a marginal gloss, giving a concrete uppercase sample (叁万伍仟) that clarifies the financial-numeral flavor beyond the schema's 壹贰叁.

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 concrete verb+resource (把阿拉伯数字转成中文读法) and backs it with three input->output examples (35000 -> 三万五千, 3.14 -> 三点一四, -5 -> 负五) that show the exact transformation. It does not, however, distinguish itself from the sibling amount_to_chinese, whose scope overlaps with the optional uppercase (叁万伍仟) mode.

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 only implied by the closing phrase 用于把数字读出来或写成文章, which gestures at reading numbers aloud or writing them into prose. There is no explicit when-not guidance and no named alternative, even though amount_to_chinese and cn_number_parse sit in the same catalog and a wrong pick is plausible.

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