Skip to main content
Glama

x402-reverse-string

Reverse String: Reverses text by Unicode code point, so emoji and other astral characters survive intact (combining marks are still not reordered) 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
textNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose genuinely useful behavior: reversal is per code point so astral/emoji characters survive, while combining marks are NOT reordered. That caveat is exactly the kind of edge-case disclosure an agent needs for a text transform. It stops short of stating the output format or behavior on empty/missing input.

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?

One front-loaded sentence carries the purpose, the algorithm, and the important caveat, followed by a separate billing note. Nothing is padded and the ordering puts the substantive semantics before the commercial message.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete about the transformation itself but leaves two gaps an agent must resolve elsewhere: the text-vs-input parameter ambiguity and the response shape (no output schema exists). For a trivial pure-function tool this is close to adequate, but the duplicated parameter makes the omission costlier than it would otherwise be.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and there are two competing string parameters, 'text' and 'input', neither of which is required and neither of which is explained. The description says nothing about which field to populate, whether both are accepted, or what happens if both are supplied — a real risk of malformed calls.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Reverses text') and immediately qualifies the semantics ('by Unicode code point'). This implicitly separates it from the array-flavored siblings (x402-reverse-array, x402-reverse), but it never names an alternative, so differentiation is inferred rather than declared.

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

Usage Guidelines2/5

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

No guidance on when to use this versus x402-reverse, x402-reverse-array, or x402-reversed-array, which sit right next to it in the catalog. The only contextual note is the pricing line about 5 free trial calls, which is commercial, not usage guidance.

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.

Resources