x402-line-count
Line Count: Returns the number of newline-separated lines in text and the count of blank or whitespace-only lines 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No |
Line Count: Returns the number of newline-separated lines in text and the count of blank or whitespace-only lines 🆓 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"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must carry the behavioral burden, and it does disclose the return semantics (line count plus blank/whitespace-only line count) in the absence of an output schema, which is genuinely useful. It says nothing about input handling, auth/payment requirements beyond the trial note, or failure behavior, so it is helpful but incomplete for an un-annotated tool.
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 single, front-loaded, and free of waste, which is good. The trailing emoji plus '5 free trial calls per signed wallet' marketing line is promotional noise that does not help the agent decide or invoke correctly.
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 two-parameter counting tool the description covers the return shape adequately, which matters given there is no output schema. However, with no annotations and two entirely undocumented, potentially redundant parameters, an agent still cannot tell which input field to populate or whether both are accepted.
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 schema exposes two undocumented string properties, 'text' and 'input', which look like duplicates or aliases with no explanation. The description says the count is computed 'in text', loosely pointing at one parameter, but never clarifies what 'input' is or how the two relate. With coverage this low, the description needed to compensate and does not.
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?
The description states a specific verb+resource: it counts newline-separated lines and separately counts blank/whitespace-only lines. This is more precise than the bare name 'line-count' and tells the agent exactly what two numbers come back. It does not, however, distinguish itself from near-neighbors like x402-remove-empty-lines, x402-first-n-lines, or x402-paragraph-count, so it stops short of a 5.
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?
There is no statement of when to use this tool versus the many related text siblings (word-count, paragraph-count, whitespace-count, remove-empty-lines), and no exclusions or prerequisites. The only extra line is a pricing note ('5 free trial calls per signed wallet'), which is a cost signal, not usage 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.