Skip to main content
Glama

mechacut

units_convert

Unit conversion in closed families (length, mass, volume, area, speed, data incl. KiB/kbit distinction, duration, temperature) with exact rational factors - cross-family conversions are refused, unknown units name the table. Free.

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": "units_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
valueYesnumber or numeric string
placesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose useful traits: exact rational factors (no floating-point drift), refusal of cross-family requests, and informative errors on unknown units. It does not say what the return value looks like, how the optional places parameter affects rounding, or whether output is a number or string.

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 dense sentence with the scope front-loaded, followed by failure behavior and a cost note. Nothing is redundant, though the 'Free' tag and the parenthetical example are slightly noisy for an agent's selection decision.

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?

Covers scope, exactness, and error behavior for a stateless conversion tool with no output schema, which is close to sufficient. The unmentioned 'places' parameter and the absence of any output format hint keep it from being complete.

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 only 25% — only 'value' is documented as 'number or numeric string'. The family list partially compensates for from/to by implying the accepted unit domains, but the 'places' precision parameter is never mentioned in either schema or description, leaving a real gap.

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), then enumerates the supported families including a notable data-rate nuance (KiB vs kbit). It does not explicitly contrast with siblings such as units_shoe_size or format_convert, so the differentiation is implicit rather than stated.

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 refusal of cross-family conversions gives an implied boundary on when the tool applies, and 'unknown units name the table' signals a recovery path. However, no alternatives are named for cases outside these families (e.g., shoe sizes), so the agent must infer routing.

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.