x402-trim-lines
Trim Lines: Trims leading and trailing whitespace on every line and reports the line count 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No |
Trim Lines: Trims leading and trailing whitespace on every line and reports the line count 🆓 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"Input schema / properties / textAdded value: +{
+ "description": "Text to process",
+ "type": "string"
+}Input schema / properties / inputAdded value: +{
+ "description": "Input to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations present, the description carries the full burden. It does disclose two genuine behavioral facts beyond structured data: the transformation semantics (per-line trim) and that the line count is returned, plus the x402 trial/cost model. It omits return shape, input size limits, and behavior on empty or whitespace-only input.
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?
Two short, front-loaded sentences with the core action first. The emoji and '5 free trial calls per signed wallet' clause are marketing noise rather than tool semantics, but they cost little space.
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 trivial, stateless string transform with no output schema and no annotations, the behavioral core is adequately covered, but completeness is undercut by the unresolved 'text' vs 'input' parameter question and the absence of any guidance on input shape. The description is minimally sufficient for calling it correctly, not more.
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 description never mentions, distinguishes, or gives format guidance for the two parameters. Critically, the schema exposes both 'text' and 'input' with no clarification of which one is consumed, and the description does nothing to resolve this ambiguity for the agent.
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 and resource ('Trims leading and trailing whitespace on every line') plus an output behavior ('reports the line count'), which is more precise than the bare name. However, it does not distinguish itself from near-siblings such as x402-remove-whitespace, x402-normalize-whitespace, x402-dedent-lines, or x402-remove-empty-lines, so an agent cannot tell from the description alone which whitespace 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?
The description only states what the tool does; it gives no when-to-use context, no exclusions, and never names an alternative among the many whitespace/text-normalization siblings. The only situational note is the pricing/trial line, which concerns cost, not tool selection.
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.