Skip to main content
Glama
cn-mcp-kit

cn-mcp-kit

by yuannuo233

fullwidth_convert

Converts full-width letters, numbers, and symbols to half-width or back, with an option to include Chinese-specific punctuation, fixing text that breaks search, matching, or data entry.

Instructions

全角与半角互相转换,如 Hello123 -> Hello123。可选同时转换中文特有标点(。、《》【》“” 等),默认只转换全角字母、数字和符号。

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>",
      "to": "<to>"
    },
    "name": "fullwidth_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes目标:halfwidth=转半角,fullwidth=转全角
textYes要转换的文本
punctuationNo是否同时转换中文特有标点,默认 false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the important behavioral trait: by default only fullwidth letters, numbers and symbols are converted, with Chinese-specific punctuation converted only when opted in. It implies other characters (e.g. Hanzi) are left untouched, though it never says so explicitly or discusses idempotency.

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 and example front-loaded, then the default/optional behavior. No filler.

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 3-parameter, enum-driven, side-effect-free text transform with no output schema, this covers purpose, direction, and the optional mode adequately. Minor gap: behavior toward non-width characters and the shape of the returned text.

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%, so the baseline is 3, and the description goes slightly beyond by naming which punctuation characters are affected (。、《》【》“” 等) and restating the default-only-letters/digits/symbols scope, adding real meaning about the punctuation flag's effect.

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 concrete bidirectional verb+resource (全角与半角互相转换) and immediately anchors it with a worked example (Hello123 -> Hello123), which makes it unmistakable versus width-unrelated siblings like s2t_convert or hanzi_pinyin.

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?

It clarifies the default scope (only fullwidth letters, digits and symbols) and the optional punctuation mode, which helps the agent decide how to set `punctuation`, but it gives no explicit when-to-use/when-not-to-use guidance or pointer to any alternative tool.

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