Skip to main content
Glama
CryptoAPIs-io

@cryptoapis-io/mcp-blockchain-fees

Official

blockchain_fees_evm

Get EVM gas fee recommendations and estimates to determine optimal gas parameters for transfers and contract interactions before signing.

Instructions

Get fee recommendations and estimate gas costs for EVM blockchains. Use this before preparing or signing a transaction to determine appropriate gas parameters.

Actions: • get-fee-recommendations: Get recommended gas price tiers (slow/standard/fast) • get-eip-1559-fee-recommendations: Get EIP-1559 fee parameters (baseFee, maxPriorityFee) for supported chains • estimate-native-coin-transfer-gas: Estimate gas for a native coin transfer (e.g. ETH, BNB) • estimate-token-transfer-gas: Estimate gas for an ERC-20/ERC-721 token transfer • estimate-contract-interaction-gas: Estimate gas for a smart contract call

Credits by action (source: OpenAPI): • estimate-contract-interaction-gas: arbitrum 192, avalanche 216, base 144, binance-smart-chain 300, ethereum 120, ethereum-classic 156, optimism 168, polygon 240, tron 180 • estimate-native-coin-transfer-gas: arbitrum 192, avalanche 216, base 144, binance-smart-chain 300, ethereum 120, ethereum-classic 156, optimism 168, polygon 240, tron 180 • estimate-token-transfer-gas: arbitrum 192, avalanche 216, base 144, binance-smart-chain 300, ethereum 120, ethereum-classic 156, optimism 168, polygon 240, tron 180 • get-eip-1559-fee-recommendations: arbitrum 48, avalanche 54, base 36, binance-smart-chain 75, ethereum 30, ethereum-classic 39, optimism 42, polygon 60, tron 45 • get-fee-recommendations: arbitrum 48, avalanche 54, base 36, binance-smart-chain 75, ethereum 30, ethereum-classic 39, optimism 42, polygon 60, tron 45

Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoHex-encoded calldata (required for estimate-contract-interaction-gas)
valueNoAmount in native coin's smallest unit, e.g. wei (required for estimate-native-coin-transfer-gas; optional for estimate-contract-interaction-gas)
actionYesAction to perform
amountNoToken amount to transfer (required for estimate-token-transfer-gas)
contextNoOptional context for the request - echoed back in response
networkYesNetwork name
toAddressNoRecipient address (required for native coin and token transfer gas estimation)
blockchainYesBlockchain protocol
fromAddressNoSender address (required for gas estimation actions)
contractTypeNoToken standard: ERC-20 or ERC-721 (estimate-token-transfer-gas only; defaults to ERC-20)
contractAddressNoToken contract address (required for estimate-token-transfer-gas and estimate-contract-interaction-gas)
Behavior3/5

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

With no annotations, the description carries the full burden. It conveys that the tool performs estimations (read-only) and lists actions, but does not explicitly state that no transaction is signed or submitted. It does add useful context about credits and response headers, which is a behavioral trait. Still, the lack of an explicit read-only/safety disclosure keeps it from a higher score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with a clear purpose, but the credits section is excessively long and repetitive, listing the same credit values for multiple actions. This violates the principle that every sentence should earn its place. The core action list is useful, but the redundancy makes the description bloated and less scannable.

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?

The tool has 11 parameters and 5 distinct actions, but the description does not guide the agent on which action to choose for a given scenario. The schema hints at required parameters per action, and the action names are self-explanatory, but without an output schema or action-selection guidance, the description is only minimally complete.

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% and each parameter already includes detailed descriptions, including action-specific requirements. The tool description's action list duplicates some of this information (e.g., which action requires 'data') without adding new meaning beyond the schema. Therefore, it meets the baseline but does not elevate it.

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 opens with a specific verb-resource pair: 'Get fee recommendations and estimate gas costs for EVM blockchains.' This clearly distinguishes the tool from its siblings (UTXO, XRP) by explicitly scoping to EVM. The subsequent action list enumerates concrete operations, leaving no ambiguity about what the tool does.

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?

The description provides clear guidance on when to use the tool: 'Use this before preparing or signing a transaction to determine appropriate gas parameters.' This gives a concrete context. However, it does not mention alternatives or explicit when-not-to-use scenarios, though the sibling tool names (UTXO/XRP) implicitly differentiate by chain type.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CryptoAPIs-io/cryptoapis-mcp-blockchain-fees'

If you have feedback or need assistance with the MCP directory API, please join our Discord server