x402-whitespace-count
Whitespace Count: Counts whitespace characters in the supplied text field and returns the total 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No |
Whitespace Count: Counts whitespace characters in the supplied text field and returns the total 🆓 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 carries the full behavioral burden. It says it counts whitespace and returns a total, but does not define what counts as whitespace (spaces only vs. tabs/newlines) or which of the two parameters is actually read, which matters because neighbors like x402-collapse-spaces and x402-remove-whitespace imply different whitespace semantics.
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 short and front-loaded, but the embedded trial/payment clause adds marketing noise rather than tool information, and no space is used to clarify the ambiguous parameters.
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 counting tool the description is nearly enough, but with two unlabeled string parameters at 0% schema coverage and no output schema, an agent cannot tell which field to populate or what the return shape is beyond 'a total'.
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% and both parameters ('text' and 'input') are undocumented. The description refers to 'the supplied text field', which only loosely maps to 'text' and leaves 'input' entirely unexplained, including whether it is a synonym, a fallback, or required.
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 and resource: counting whitespace characters in a supplied text field and returning the total. It does not distinguish this from close siblings such as x402-char-count, x402-character-count, or x402-collapse-spaces, so an agent has no explicit signal about which counter 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?
There is no guidance on when to use this tool versus the many other text-counting siblings, nor any preconditions. The only extra sentence is a pricing/trial note, which is 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.