Skip to main content
Glama

FlexYield — blockchain RPC gateway

get_prices

Read-onlyIdempotent

Prices. kind='gas' (chain): EIP-1559 gas recommendations (slow/standard/fast) computed from our pool on an EVM chain, 1 weighted unit. kind='token' (symbols, comma-separated e.g. 'ETH,USDC'): current token prices in USD. Use it before sending a transaction (gas) or to value a balance (token). Not for what a FlexYield call costs in units (use get_quote) and not for plan prices (use list_plans). Returns JSON: gas → chain, base_fee_per_gas, recommendations, computed_from, computed_at, unit_weight; token → prices, quote, source, checked_at. Read-only. Needs your API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes'gas' or 'token'
chainNoFor 'gas': EVM chain slug, e.g. 'eth_mainnet'
symbolsNoFor 'token': comma-separated symbols, e.g. 'eth,btc'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive. The description adds meaningful behavioral context beyond annotations: it requires an API key, uses a weighted unit, computes from 'our pool', and specifies exact response fields per mode. No contradiction.

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?

Though multi-sentence, the description is dense and well-structured: mode definitions first, then use cases, then exclusions, then return shape and auth requirement. Every sentence adds operationally useful information with no filler.

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

Completeness5/5

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

For a read-only price tool with no output schema, the description fully equips an agent: required parameters per mode, examples, return fields, auth requirement, and sibling-tool exclusions. Nothing critical for a correct call is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the kind-mode relationship, noting that gas requires a chain and token requires comma-separated symbols, and clarifying that token prices are in USD and gas recommendations are EIP-1559. This goes beyond the schema's terse parameter descriptions.

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 defines two distinct modes ('gas' and 'token') with specific verbs and resources: EIP-1559 gas recommendations and current token prices in USD. It also explicitly names what this tool is not for, distinguishing it from get_quote and list_plans.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance: before sending a transaction for gas, or to value a balance for token. It also names alternatives (get_quote, list_plans) and explains when not to use this tool.

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