text-stats
Return deterministic character, byte, word, line and sentence counts for text. Costs $0.001 USDC on Base via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Return deterministic character, byte, word, line and sentence counts for text. Costs $0.001 USDC on Base via x402.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It usefully discloses deterministic output and the $0.001 USDC x402 cost, but omits side effects, rate limits, auth requirements, and output format details.
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 sentences, front-loaded with what it does and then the cost. Every word earns its place, with no filler.
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 stateless tool, the description covers the main output categories and cost. However, without annotations or an output schema, it omits the return structure and the maxLength constraint that could affect invocation.
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%; the single 'text' parameter is a bare string with maxLength 250000. The description adds no encoding, format, or length guidance beyond repeating 'text'.
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 (return) and resource (character, byte, word, line and sentence counts for text), clearly distinguishing it from siblings like text-diff or text-chunk. An agent can identify what it does without opening the schema.
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?
No explicit when-to-use, when-not-to-use, or alternatives. It mentions cost but offers no context for choosing this tool over other text-processing siblings.
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.