x402-truncate-words
Truncate Words: Keep the first max words of text, 20 by default, and append three dots when anything was cut. 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| text | No | ||
| input | No | ||
| words | No |
Truncate Words: Keep the first max words of text, 20 by default, and append three dots when anything was cut. 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| text | No | ||
| input | No | ||
| words | No |
Changes observed during successful MCP inspections.
Input schema / properties / input / descriptionRemoved value: -"Input to process"Input schema / properties / max / descriptionRemoved value: -"Max to process"Input schema / properties / text / descriptionRemoved value: -"Text to process"Input schema / properties / words / descriptionRemoved value: -"Words to process"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden and does reasonably well: it discloses the default value (20 words), the exact output convention (three dots appended only when text was actually cut), and even the commercial constraint (5 free trial calls per signed wallet). It does not describe what happens with empty input or invalid `max` values, which is the main remaining gap.
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 front-loaded sentences with the core semantics first and the trial-pricing note last; nothing is buried. The emoji pricing fragment is arguably marketing noise but does convey a real cost constraint, so it earns a marginal place.
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?
No annotations and no output schema, so the description is the only behavioral source, and for a 4-parameter tool with 0% schema coverage it leaves the `input`/`words`/`text` overlap unexplained. An agent still cannot determine with confidence which parameter to populate, which is a material completeness gap for such a simple tool.
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% across four parameters, so the description must compensate entirely, and it only partially does: `max` (word count, default 20) and `text` are clarified. The remaining parameters `input` and `words` are ambiguous aliases that the description never mentions, leaving an agent to guess which field carries the source text and whether they conflict.
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 ('Truncate Words') and spells out the exact semantics: keep the first `max` words, default 20, append three dots when anything was cut. That is enough to distinguish it from word-adjacent siblings like x402-word-wrap or x402-truncate-middle, though it never names those alternatives explicitly.
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 implied by the operation itself and by the disclosed default of 20 words, so an agent can infer this is the tool for capping long text. There is no explicit when-to-use/when-not guidance and no pointer to x402-truncate (character-based) or x402-truncate-middle as the alternatives when different truncation semantics are needed.
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.