Unescape String
unescape_stringUnescape a string containing \uXXXX / \xNN / &#NN; / &#xNN; / percent-encoding back to plain text. Keyless, offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The escaped text. |
unescape_stringUnescape a string containing \uXXXX / \xNN / &#NN; / &#xNN; / percent-encoding back to plain text. Keyless, offline.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The escaped text. |
Changes observed during successful MCP inspections.
Input schema / examplesAdded value: +[
+ {
+ "text": "\\u0048\\u0065\\u006c\\u006c\\u006f"
+ },
+ {
+ "text": "🌍"
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint, idempotentHint, etc. Description adds valuable context that the operation is offline and keyless, confirming statelessness and no side effects beyond local processing.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise: a single sentence that captures the entire purpose, with two additional tags ('Keyless, offline'). No wasted words, and the main action is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (single parameter, no output schema), the description is fully adequate. It specifies supported formats, the offline nature, and that no keys are needed, leaving no critical gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a clear description of the 'text' parameter. The description enhances understanding by listing supported escape formats, which helps the agent interpret what 'escaped text' means.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the tool uneScapes strings with specific encoding formats (\uXXXX, \xNN, &#NN;, &#xNN;, percent-encoding), providing a specific verb and resource. Distinguishes itself from sibling tool escape_string (the reverse operation).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Includes 'Keyless, offline,' indicating no authentication or external dependencies needed. Implicitly contrasts with escape_string sibling. Could be improved by explicitly stating when to use this tool versus alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.