Skip to main content
Glama

mechacut

eth_units

Exact wei ladder: wei/kwei/mwei/gwei/szabo/finney/ether, Decimal arithmetic, fractional-wei refused (6-vs-18 decimals mistakes cannot pass). 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>",
      "unit": "<unit>"
    },
    "name": "eth_units"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitYes
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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 it does disclose real behavior: Decimal arithmetic (no float drift), rejection of fractional wei, and that the call is free. It never says what the call returns (a converted number, a string, a wei integer) or how errors surface, which matters for a converter with no output schema.

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?

One compact sentence front-loads the core identity (exact wei ladder) before the precision guarantee and the cost note. The trailing 'Free.' fragment is terse but earns its place as a cost signal; nothing is padded.

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

Completeness2/5

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

For a two-parameter converter with no annotations and no output schema, the description should say what comes back and in what form. It covers input precision rules but leaves the return value and the direction of conversion (unit as source vs target) entirely unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the value parameter has no declared type at all. The description only partly compensates: 'fractional-wei refused' and 'Decimal arithmetic' hint that value may be a decimal string and that wei inputs must be integral, but it never states accepted formats for value or that unit selects the source denomination.

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?

The phrase 'Exact wei ladder' plus the enumerated unit list (wei/kwei/mwei/gwei/szabo/finney/ether) makes the resource and operation concrete: it is a precise ETH denomination conversion tool. It does not, however, contrast itself with the sibling units_convert, so an agent cannot tell from the description alone which one to reach for.

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?

Usage is implied by 'Exact wei ladder' and by the note that fractional-wei is refused, which tells the agent this is the tool for precision-critical denomination math. There is no explicit when-not guidance and no named alternative, so routing versus units_convert is left to inference.

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.