x402-escape-special-chars
Escape Special Chars: Escapes characters such as backslash, caret, dollar and brackets in text with a backslash 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No |
Escape Special Chars: Escapes characters such as backslash, caret, dollar and brackets in text with a backslash 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No |
Changes observed during successful MCP inspections.
Input schema / properties / input / descriptionRemoved value: -"Input to process"Input schema / properties / text / descriptionRemoved value: -"Text to process"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden, and it discloses almost nothing: no return format, no error behavior, no note on whether the original text is mutated or whether all metacharacters or only the listed ones are escaped. The trial-call/wallet note is the sole behavioral context and is billing-related rather than operational.
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?
The purpose is front-loaded in a single efficient sentence. The appended free-trial/wallet promo adds words that do not help an agent invoke the tool, but the description is still short and not padded.
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?
For a tool with no annotations, no output schema, 0% parameter coverage, and an ambiguous two-parameter input, the description does not supply the missing information. It also omits the escape-set boundary that would separate it from escape-regex/escape-html siblings.
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 0% and the schema exposes two undocumented string parameters, 'text' and 'input', with none required. The prose mentions 'text', which weakly maps to one of them, but it never explains what 'input' is, how the two differ, or which one is actually consumed — leaving a genuine ambiguity unresolved.
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?
States a specific verb (escapes) and resource (special characters such as backslash, caret, dollar, brackets) with the mechanism (backslash escaping), so the operation is unambiguous. However, it does not distinguish itself from close siblings like x402-escape-regex, x402-escape-html, or x402-escape-json, which an agent must disambiguate on its own.
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?
There is no statement of when to use this tool versus the several escape-* siblings, nor any precondition (e.g. 'for regex metacharacters, use escape-regex'). The only extra sentence is a pricing/trial note, which is not usage guidance.
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.