Skip to main content
Glama

x402-insert-newlines

Insert Newlines: Wraps text into lines no longer than width characters, default 40, breaking at whitespace 🆓 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.8/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full behavioral burden. It does disclose meaningful behavior — wrap at whitespace, default width of 40 — plus a payment hint (free trial per signed wallet). It does not describe output shape, handling of words longer than width, or whether existing newlines are preserved.

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

Conciseness3/5

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

The core sentence is front-loaded and efficient, but it is welded together with a marketing emoji promo about free trial calls, which is not part of the tool's functional contract and adds noise to the 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?

For a simple text transform with no output schema, the description still leaves the key ambiguities unresolved: which input field to populate (text or input), how non-breakable tokens are handled, and how it differs from the several sibling wrap tools. Inadequate for correct invocation.

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 description coverage is 0% for three parameters. The description clarifies 'width' (default 40) but says nothing about the 'text' vs 'input' duplication — a genuine ambiguity the agent would need resolved to call the tool correctly. Also unclear why width is typed as string.

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 clear verb+resource and behavior: wraps text into lines no longer than 'width' characters (default 40), breaking at whitespace. However it offers no differentiation from near-identical siblings such as x402-word-wrap, x402-wrap-text, and x402-text-wrap, so an agent cannot tell which wrapping tool to pick.

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 when-to-use guidance, no prerequisites, and no mention of the sibling wrapping tools it competes with. The only usage-adjacent content is the '5 free trial calls' promo, which is not invocation 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