Skip to main content
Glama
sellisd

mcp-units

by sellisd

convert_weight

Convert weight values between grams, kilograms, ounces, and pounds by providing the value, source unit, and target unit.

Instructions

Convert between weight units (g, kg, oz, lb)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesWeight value to convert
from_unitYesSource weight unit (g, kg, oz, lb)
to_unitYesTarget weight unit (g, kg, oz, lb)
Behavior3/5

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

No annotations are provided, so the description must cover behavioral aspects. It does not mention any limitations (e.g., precision, range), side effects, or permissions needed. As a simple conversion, this is adequate but could be more informative.

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?

The description is a single sentence, very concise, and front-loads key information. It could be slightly expanded to include a mention of the output format without losing conciseness.

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 straightforward conversion tool with 3 fully described parameters and no output schema, the description is sufficient. It covers the basic purpose and supported units, omitting only minor details like return format.

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 detailed descriptions for each parameter. The description adds no additional meaning beyond what is already in the schema. Baseline 3 is appropriate.

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 clearly states the action ('Convert'), the resource ('weight units'), and lists the supported units explicitly. It distinguishes itself from sibling tools (convert_temperature, convert_volume) by specifying weight.

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?

No explicit guidance on when to use this tool vs. alternatives. While the name and description imply it's for weight conversion, there is no mention of when not to use it or references to sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sellisd/mcp-units'

If you have feedback or need assistance with the MCP directory API, please join our Discord server