x402-first-n-lines
First N Lines: Returns the first n lines of text, defaulting to one line, by splitting on newlines 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| text | No | ||
| input | No |
First N Lines: Returns the first n lines of text, defaulting to one line, by splitting on newlines 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| text | No | ||
| input | No |
Changes observed during successful MCP inspections.
Input schema / properties / input / descriptionRemoved value: -"Input to process"Input schema / properties / n / descriptionRemoved value: -"N to process"Input schema / properties / text / descriptionRemoved value: -"Text to process"Input schema / properties / inputAdded value: +{
+ "description": "Input to process",
+ "type": "string"
+}Input schema / properties / nAdded value: +{
+ "description": "N to process",
+ "type": "string"
+}Input schema / properties / textAdded value: +{
+ "description": "Text to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the core behavior (newline splitting) and the default (one line), and the '🆓 5 free trial calls per signed wallet' line usefully signals a rate limit and a wallet-auth requirement. However, it says nothing about edge cases such as empty/missing text, out-of-range n, or the odd fact that n is typed as a string in the schema.
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 functional description is a single front-loaded sentence with no waste. The trailing promo emoji line is short but is not functional information, keeping it from a 5.
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 line-slicing utility with no output schema, the description is adequate: it explains what is returned and the default. Gaps remain around the unexplained 'input' parameter and the ambiguous string typing of 'n', which an agent would need to resolve before calling confidently.
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%, so the description must compensate. It implicitly covers 'n' ('first n lines') and 'text' ('lines of text'), which is meaningful, but the third parameter 'input' is never mentioned and there is no indication of how it relates to 'text' (likely an alias). Partial compensation for a 3-param tool with zero documented parameters.
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+resource ('Returns the first n lines of text') and adds the default behavior ('defaulting to one line') plus the mechanism ('by splitting on newlines'). This is precise enough for an agent to know exactly what the tool does. It does not explicitly name the obvious sibling x402-last-n-lines, but the name and phrasing make the distinction self-evident, so it falls just 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?
Usage is only implied: the name and 'first n lines' phrasing suggest when to reach for it versus x402-last-n-lines or x402-line-count, but no explicit when-to-use or when-not-to-use guidance is given. The default-to-one-line note is a mild usage hint but not routing 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.