Skip to main content
Glama

FreeDailyPro Tools

convert_weight

Read-onlyIdempotent

Unit converter (weight)

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

Input Schema

NameRequiredDescriptionDefault
toYesTo: one of kg, g, mg, lb, oz.
fromYesFrom: one of kg, g, mg, lb, oz.
valueYesThe number to convert, for example: 12.5.

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: +"From: one of kg, g, mg, lb, oz."
    • addedInput schema / properties / to / description
      Added value: +"To: one of kg, g, mg, lb, oz."
    • addedInput schema / properties / value / description
      Added value: +"The number to convert, for example: 12.5."
  2. First observed

TDQS

C2.6/5.0
Behavior2/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 the safety profile is fully covered structurally. The description adds nothing beyond that: no statement of what the response contains (numeric result, unit of output), no note on rounding or precision, and no handling of invalid or unsupported units.

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?

Two words plus a parenthetical, front-loaded and free of waste, but it is terse to the point of under-specification rather than genuinely concise. There is room to say what the tool returns within the same sentence.

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?

For a simple, single-shot, non-destructive three-parameter tool with complete schema coverage, complete annotations, and no output schema, this is close to adequate. The remaining gap is the result contract — an agent cannot tell from the definition what the returned value looks like — which matters even for a trivial converter.

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 enumerated, so the schema carries the parameter burden. The description adds no meaning beyond it — not even a note that from and to accept the same five unit tokens and may be identical.

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

Purpose3/5

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

"Unit converter (weight)" names the resource domain and implies the operation, and the parenthetical successfully separates it from siblings such as convert_length, convert_temperature, and convert_currency. But it is a label rather than a verb+resource statement, and it does not say the conversion is a single value between the five units the schema allows.

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?

The description gives no when-to-use guidance, no condition selecting it over convert_length or convert_temperature, and no mention that it is safe to call freely. An agent must infer the scope entirely from the tool 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