Skip to main content
Glama

x402-wrap-text

Wrap Text: Wraps text into lines of the given width, default 40, breaking at whitespace and trimming the result 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
textNo
inputNo
widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
    • removedInput schema / properties / width / description
      Removed value: -"Width to process"
  2. Changed3 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"
      +}
    • addedInput schema / properties / width
      Added value: +{
      +  "description": "Width to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real algorithm behavior: line width defaulting to 40, breaking at whitespace, and trimming the result. It says nothing about error handling, what happens on words longer than the width, or the payment/auth requirement implied by the free-trial note.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence that states the operation and its defaults before anything else, with no filler. The appended free-trial promo is extraneous to the tool's function and slightly dilutes an otherwise tight definition.

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

Completeness2/5

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

No output schema and no annotations mean the description is the only source of truth, yet it omits the return shape and the text-vs-input ambiguity. For a 3-parameter tool with 0% schema documentation, this leaves an agent guessing at call construction.

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% across three parameters. The description partially compensates by documenting 'width' and its default of 40, but it never explains why both 'text' and 'input' exist or which one takes precedence, leaving the primary input ambiguous.

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 ('Wraps text into lines of the given width') and adds concrete mechanics (whitespace breaking, trimming, default 40). However, it never differentiates itself from the near-identical siblings x402-text-wrap and x402-word-wrap, so an agent cannot tell which one to pick from the description alone.

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?

There is no statement of when to use this tool versus x402-text-wrap/x402-word-wrap, nor any prerequisite or exclusion. The only contextual sentence is a pricing promo ('5 free trial calls per signed wallet'), which is commercial info rather than 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