Skip to main content
Glama

convert_eth_usd

Approximate conversion of an ETH amount to USD at a rounded live ETH price. Lite conversions are approximate — exact conversions are a paid lookup.

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": {
      "amount_eth": "<amount_eth>"
    },
    "name": "convert_eth_usd"
  }
}

Input Schema

NameRequiredDescriptionDefault
amount_ethYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the key traits: the price is live but rounded, results are approximate by design, and exactness is gated behind a paid lookup (a tier/entitlement constraint). It omits the price source and any staleness/caching behavior, which keeps it below a 5.

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?

Two short sentences, zero filler, with the core action and its key caveat stated before any subordinate detail. Every clause 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?

An output schema exists, so return values need no explanation, and for a one-parameter read-only conversion the description covers the essentials an agent needs to call it correctly. What is missing is minor: price source, rounding granularity, and failure behavior for invalid amounts.

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 0% — the single parameter is documented only as a bare 'number' — so the description must compensate. It implies the amount is denominated in ETH (not wei) via 'an ETH amount', which is real added meaning, but it says nothing about decimals, precision, minimums, or how negative/zero values are treated.

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 states a specific verb and resource — converting an ETH amount into USD — with the rounding/approximation qualifier front-loaded. The direction of conversion is unambiguous, which implicitly distinguishes it from the reverse-direction sibling convert_usd_eth, though it never names that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Lite conversions are approximate — exact conversions are a paid lookup' tells the agent when this tool's output is sufficient and when it is not, which is genuine usage context. It stops short of naming the paid/exact tool, so the agent must infer where to route users needing precision.

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