Skip to main content
Glama

Unescape String

unescape_string
Read-onlyIdempotent

Unescape a string containing \uXXXX / \xNN / &#NN; / &#xNN; / percent-encoding back to plain text. Keyless, offline.

Input Schema

NameRequiredDescriptionDefault
textYesThe escaped text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "text": "\\u0048\\u0065\\u006c\\u006c\\u006f"
      +  },
      +  {
      +    "text": "🌍"
      +  }
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.