Skip to main content
Glama

weight-converter

Read-onlyIdempotent

Convert between common weight units: milligram, gram, kilogram, ounce, pound, stone, ton.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget unit.
fromYesSource unit.
valueYesWeight value to convert.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget unit, echoed back.
fromYesSource unit, echoed back.
valueYesInput value, echoed back.
resultYesConverted value in the target unit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is known. The description adds no additional behavioral context (e.g., rounding, precision, supported value range). It is not contradictory, but it contributes nothing beyond the annotations.

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

Conciseness5/5

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

The description is a single sentence with no filler, clearly stating the action and the units. It is concise, front-loaded, and every word earns its place.

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?

For a simple converter with full schema, output schema, and annotations, this short description is adequate. It lacks any mention of edge cases or return formatting, but the structured data covers most needs, making it sufficiently 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 coverage is 100%, with descriptions for all three parameters and enums for from/to. The description only lists the units already captured in the schema, adding no new semantic information such as constraints or format expectations.

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

Purpose5/5

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

The description uses the specific verb 'Convert' and clearly identifies the resource as common weight units, explicitly listing the units (milligram, gram, kilogram, ounce, pound, stone, ton). This distinguishes it from sibling converters like length-converter or temperature-converter.

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 description states what the tool does but gives no explicit guidance on when to use it versus alternatives, nor does it mention when not to use it. The context of sibling converters implies its use for weight conversions, but there's no direct comparison or exclusion.

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