Skip to main content
Glama

Tidy Byte Tools API

Convert units

unit_convert
Read-onlyIdempotent

Convert length, mass, temperature, volume, time, area, speed, and data-size units.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unit_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe unit you want, like "mi", "kg", "F", or "GB".
fromNoThe unit you have, like "km", "lb", "C", or "MB".
textNoInstead of the three fields above, you can send words like "10 km to mi".
valueNoThe number to convert.

Output Schema

NameRequiredDescriptionDefault
okYes
toolYes
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / from / description
      Added value: +"The unit you have, like \"km\", \"lb\", \"C\", or \"MB\"."
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Instead of the three fields above, you can send words like \"10 km to mi\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / to / description
      Added value: +"The unit you want, like \"mi\", \"kg\", \"F\", or \"GB\"."
    • addedInput schema / properties / value / description
      Added value: +"The number to convert."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and repeatability are covered without description help. The description adds worthwhile scope information by enumerating the unit categories it supports, but says nothing about behavior for unrecognized units, rounding/precision, or case sensitivity of unit symbols.

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

Conciseness4/5

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

A single front-loaded sentence that immediately names the verb and resource. The long enumeration of unit families is somewhat list-heavy, but it earns its place by defining the tool's capability boundary.

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

Completeness4/5

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

An output schema exists, so return values need not be described, and the annotations fully cover the safety profile. The remaining gap is behavioral edge cases (unsupported or ambiguous units, mixed input modes), which a simple conversion utility can reasonably leave to the schema.

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%, and each of the four parameters (from, to, value, text) is documented in the schema with examples, so the baseline of 3 applies. The description adds no parameter-level meaning beyond restating the unit families, and notably omits any mention of the alternate text-parsing mode the schema offers.

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?

States a specific verb (Convert) and resource (units) and enumerates the supported families (length, mass, temperature, volume, time, area, speed, data-size), so an agent knows exactly what domain this covers. No sibling does conversion at all, so explicit differentiation isn't needed, but the description doesn't say how it differs from a plain arithmetic or formatting tool.

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?

The list of unit families implicitly scopes when the tool applies, but there is no explicit when-to-use/when-not guidance, no mention of unsupported or ambiguous units, and no pointer to the text-based alternative mode that the schema exposes. Usage must be inferred from the purpose sentence.

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.