Skip to main content
Glama
regaing

devbelt-mcp

by regaing

encode_unicode

Convert characters to Unicode \uXXXX notation or decode Unicode escapes back to readable text. Use encode for character-to-Unicode, decode for Unicode-to-character.

Instructions

Unicode(\uXXXX)与字符互转。encode=中文/字符转 \uXXXX 形式;decode=\uXXXX 还原为字符

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
actionNoencode
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior, and it does so well: it specifies that encode turns characters into \uXXXX form and decode restores them. It doesn't discuss edge cases or error handling, but for a straightforward conversion tool, this is sufficient.

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?

The description is a single, compact sentence with a semicolon separating the encode and decode modes. It is front-loaded with the main purpose and every word contributes meaning.

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?

Given the tool's simplicity (two parameters, no output schema, no annotations), the description is largely complete: it covers purpose, modes, and direction of conversion. Missing details about output formatting for multi-character strings or invalid input are minor given the tool's scope.

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 description coverage is 0%, so the description compensates by explaining the action parameter's two enum values (encode/decode) with concrete behavior. The text parameter is left implicit, but its purpose is obvious from the context.

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?

The description explicitly states the tool converts between Unicode escapes (\uXXXX) and characters, encoding and decoding. This is a specific verb and resource, and it distinguishes itself from sibling encoding tools by naming the exact Unicode escape format.

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

Usage Guidelines4/5

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

The description clearly explains the two action modes (encode and decode) and what each does, providing clear context for usage. It does not mention alternatives or when not to use the tool, but for a simple conversion utility, the usage context is adequate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/regaing/devbelt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server