Skip to main content
Glama

Beggar Bot

unit_convert

Exact token/ETH unit conversion: wei/gwei/ether/USDC 6dp/BTC 8dp/any decimals, hex and uint256 word. BigInt-precise. Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unit_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNooptional
fromNousdc|ether|wei|decimals
valueNo0.02

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 must carry the full behavioral burden. It does disclose non-obvious traits — the $0.02 USDC x402 charge and BigInt-exact arithmetic — which is real value, but it omits what happens on insufficient balance, whether the payment is charged on error, and what the return value looks like. That leaves meaningful gaps for a paid mutation-adjacent call.

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?

Three telegraphic fragments, front-loaded with the resource and unit list. Nothing is padded, but the compression is extreme enough that the payment clause sits adjacent to the conversion clause and blurs the distinction.

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 3-parameter, zero-required tool with no output schema, the description covers the input domain but not the contract: it never says what is returned (a formatted amount string? a word?), and the overloaded 'value' leaves an agent guessing which argument carries the 0.02 payment versus the quantity to convert.

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%, so baseline is 3, and the description does reinforce the 'from' vocabulary (usdc|ether|wei|decimals). However it creates ambiguity rather than resolving it: the schema documents 'value' with the literal '0.02', which mirrors the quoted price, so an agent cannot tell from either field whether 'value' is the amount to convert or the payment amount.

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 description opens with a concrete verb+resource ('Exact token/ETH unit conversion') and enumerates supported units (wei/gwei/ether/USDC 6dp/BTC 8dp/any decimals) plus input encodings (hex, uint256 word). That is enough for an agent to tell it apart from subtitle_convert or usds_convert_tx based on the definition alone, though no sibling is named explicitly.

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 only implied: the agent can infer 'use this to convert between units', but there is no statement of when to prefer it over alternatives, no prerequisite (e.g. must already hold USDC for the x402 payment), and no exclusions. The price note is context, not guidance.

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.