x402-file-size-humanize
File Size Humanize: Converts a byte count to a human string in B/KB/MB/GB/TB using 1024 steps and 2 decimals 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | No | ||
| value | No |
File Size Humanize: Converts a byte count to a human string in B/KB/MB/GB/TB using 1024 steps and 2 decimals 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | No | ||
| value | No |
Changes observed during successful MCP inspections.
Input schema / properties / bytes / descriptionRemoved value: -"Bytes to process"Input schema / properties / value / descriptionRemoved value: -"Value to process"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. It does add real behavioral detail beyond the schema (1024 divisor, 2-decimal rounding, unit ladder) and discloses the free-trial/billing cap, but says nothing about invalid or non-numeric input handling, string parsing, or what the result looks like.
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?
One front-loaded sentence with the units and formatting rules up front, plus a short promo clause. Nothing is padded, though the promotional emoji/trial text is noise from a tool-selection standpoint.
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 pure-function conversion with no annotations and no output schema, the description covers the essential computation and output units. It falls short on the ambiguity of its own two parameters and on error behavior, which are the only things an agent actually needs here.
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%, so the description must compensate for the two parameters 'bytes' and 'value' — and it does not. It mentions only 'a byte count' (singular), leaving unclear why two near-duplicate parameters exist and which one to supply, especially with zero required fields.
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 specific verb and resource ('converts a byte count to a human string') and pins down the exact semantics: B/KB/MB/GB/TB, 1024 steps, 2 decimals. That precision distinguishes it reasonably well from vague siblings like x402-number-humanize, though it never names the near-identical x402-data-size-humanize or x402-format-bytes.
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 when-to-use, when-not-to-use, or alternative routing guidance. With a crowded sibling set that includes x402-data-size-humanize, x402-format-bytes and x402-byte-count, an agent has no stated basis for choosing this tool over another, only the implicit 'you have bytes to format'.
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.