x402-char-count
Char Count: Count characters in a string. 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| input | No |
Char Count: Count characters in a string. 🆓 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 supplied, the description must carry behavioral disclosure itself. It usefully reveals a pricing/paywall trait ("5 free trial calls per signed wallet"), which is real context an agent needs for an x402 paid endpoint, but it says nothing about the return shape (presumably an integer count), Unicode/grapheme handling, or error behavior.
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 sentences with the core operation front-loaded and no filler prose. The trial-call notice is terse and relevant given the payment context, though the emoji is decorative.
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 tool with no annotations, no output schema, and two undocumented optional parameters, the description is too thin. It never resolves the text-vs-input ambiguity nor indicates what the count refers to (bytes, code units, graphemes), which is the one thing an agent must know to interpret the result.
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 the description adds no meaning at all about the two parameters. The presence of both "text" and "input" as optional strings is genuinely ambiguous — the description should say which one to supply or how they interact — and it leaves that entirely unresolved.
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 gives a clear verb+resource pair ("Count characters in a string") that an agent can immediately understand. It does not, however, distinguish this tool from near-identical siblings such as x402-character-count, x402-length, or x402-text-stats, leaving the agent to guess 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 rather than the many overlapping siblings (byte count, word count, text-stats, character-count), and no exclusion or precondition is stated. The only extra sentence concerns billing, not usage 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.