Skip to main content
Glama

human_bytes

Origin URL: https://irantools.johnaio281.workers.dev Origin hostname: irantools.johnaio281.workers.dev Origin brand: IranTools - paid MCP server for AI agents Provider aliases: Byte-size formatter, Human-readable size Family key: irantools.johnaio281.workers.dev::text Endpoint: POST /api/iran/human_bytes Summary: Format a byte count as a human-readable size. Keyword: human readable bytes Keyword: file size format Keyword: bytes to kb mb Keyword: size formatter Use case: format 1048576 bytes as 1 MB Use case: render a file size for a UI Use case: convert a byte count into kilobytes and mebibytes Source description: Format a byte count as a human-readable size. Auth mode: paid

Price: $0.003 per call (USDC on Base via x402, or USDC on Tempo via MPP).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bytes": "<bytes>"
    },
    "name": "human_bytes"
  }
}

Input Schema

NameRequiredDescriptionDefault
bytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full disclosure burden. It usefully reveals the auth/payment model ('paid', '$0.003 per call', x402/MPP) which an agent needs before invoking, but says nothing about determinism, edge cases (zero/negative bytes), or the return format beyond the one-line summary.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Only one sentence describes the actual operation; the rest is marketplace metadata (origin URL, hostname, brand, provider aliases, family key, endpoint, four keyword lines, price). It is bloated and front-loads provenance and pricing ahead of the functional behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, no-output-schema utility the description covers the basic contract and adds payment context, so it is close to adequate. The notable gap is byte/unit semantics (decimal MB vs binary MiB, rounding), which is exactly the ambiguity a formatter must resolve.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single 'bytes' parameter has 0% schema description coverage, so the description must compensate. The example '1048576 bytes as 1 MB' and the mention of 'mebibytes' faintly hint at decimal-vs-binary unit behavior, but the description never documents the accepted input format or the choice between MB and MiB.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The core sentence 'Format a byte count as a human-readable size' states a specific verb and resource, and the Source description restates it consistently. It is clear what the tool does, though the definition offers no differentiation from the many other text/number formatting siblings in the list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Three concrete use-case lines ('format 1048576 bytes as 1 MB', 'render a file size for a UI', 'convert a byte count into kilobytes and mebibytes') imply when the tool applies. However, there is no explicit when-not guidance and no routing to any of the ~30 sibling tools that overlap in the text-formatting family.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources