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
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No | ||
| width | No |
Insert Newlines: Wraps text into lines no longer than width characters, default 40, breaking at whitespace 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No | ||
| width | 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"Input schema / properties / width / descriptionRemoved value: -"Width to process"Input schema / properties / inputAdded value: +{
+ "description": "Input to process",
+ "type": "string"
+}Input schema / properties / textAdded value: +{
+ "description": "Text to process",
+ "type": "string"
+}Input schema / properties / widthAdded value: +{
+ "description": "Width to process",
+ "type": "string"
+}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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.