Skip to main content
Glama

converters_file_size

Read-onlyIdempotent

File size converter

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": {
      "value": "<value>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "converters_file_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesUnit to convert to: B, KB, MB, GB, TB or PB.
fromYesUnit to convert from: B, KB, MB, GB, TB or PB.
valueYesThe size to convert, for example 1536.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / from / description
      Added value: +"Unit to convert from: B, KB, MB, GB, TB or PB."
    • addedInput schema / properties / to / description
      Added value: +"Unit to convert to: B, KB, MB, GB, TB or PB."
    • addedInput schema / properties / value / description
      Added value: +"The size to convert, for example 1536."
  2. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description contributes no behavioral context of its own — nothing about rounding, precision, or how values are treated across units — so it adds no value beyond the structured fields.

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

Conciseness3/5

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

Three words contain no waste, but this is under-specification rather than disciplined conciseness — there is no front-loaded statement of what the tool actually returns or how conversion is scoped. A single additional clause would have earned its place.

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

Completeness2/5

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

The tool is simple and its parameters are fully documented, but the description never establishes scope relative to converters_units or clarifies binary vs decimal (KB vs KiB) conventions, which is the one genuinely ambiguous point in a file-size converter. No output schema exists, so the description should at least hint at the returned result.

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?

Schema description coverage is 100%, with each of value, from and to documented and both unit parameters constrained by enums. The description adds no extra meaning, but the baseline of 3 applies when the schema carries the parameter documentation.

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

Purpose2/5

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

"File size converter" restates the tool name (converters_file_size) without adding a verb or scope. It does not distinguish this from converters_units, which plausibly also converts units, so an agent gains nothing beyond what the identifier already implies.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when not to use it, and no reference to alternatives such as converters_units. The agent must infer applicability entirely from the name.

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