Skip to main content
Glama
CryptoAPIs-io

@cryptoapis-io/mcp-blockchain-fees

Official

blockchain_fees_tezos

Get current Tezos mempool fee rates and estimate transfer costs for XTZ, FA1.2, and FA2 tokens before sending.

Instructions

Blockchain Fees Tezos: fee recommendations and fee estimation for XTZ, FA1.2, and FA2 transfers.

Actions: • get-fee-recommendations: Get current minimal fee/cost rates from the mempool • estimate-transfer: Estimate the fee for a native XTZ transfer • estimate-fa12-transfer: Estimate the fee for an FA1.2 token transfer • estimate-fa2-transfer: Estimate the fee for an FA2 token transfer

Credits by action (source: OpenAPI): • estimate-fa12-transfer: 52 • estimate-fa2-transfer: 52 • estimate-transfer: 52 • get-fee-recommendations: 52

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
actionYesAction to perform
amountNoAmount in mutez (transfer) or token base units (fa12/fa2) as an integer string - required for all estimate actions
senderNoSender address - required for estimate-transfer, estimate-fa12-transfer, estimate-fa2-transfer
contextNoOptional context for the request - echoed back in response
networkYesNetwork name
tokenIdNoFA2 token ID as an integer STRING (e.g. "0") - estimate-fa2-transfer only; the API rejects a number
recipientNoRecipient address - required for estimate-transfer, estimate-fa12-transfer, estimate-fa2-transfer
contractAddressNoFA1.2/FA2 token contract address - required for estimate-fa12-transfer, estimate-fa2-transfer
senderPublicKeyNoSender's public key - required only when the source account is unrevealed (all estimate actions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden, and it does disclose real cost context: per-action credit costs plus the caveat that they are indicative and that actual credits appear in response headers. That is genuinely useful and non-obvious. It stops short of describing side effects, auth requirements, rate limits, or error behavior, which for a 4-action estimator leaves a meaningful gap.

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?

The definition is front-loaded with the purpose, then a clean action list, then the credit block. It is appropriately sized, though the credit section repeats the identical value '52' four times and could be collapsed to a single line, which is minor redundancy rather than bloat.

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 9-parameter tool with no output schema and no annotations, the description covers action selection well but says nothing about the shape of the returned fee estimate, the network requirement (mainnet vs shadownet), or failure modes. It is adequate for invocation but not fully complete given the absence of a structured output contract.

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%, so the schema already explains every parameter, including conditional requirements and the tokenId string-format trap. The description contributes no additional parameter semantics beyond mapping actions to purposes, which is the expected baseline when the schema does the heavy lifting.

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 names a concrete resource (Tezos fees) and enumerates four specific actions covering XTZ, FA1.2 and FA2 transfers, so the agent knows exactly what operations are available. The chain-specific scope is unmistakable and cleanly distinguishes it from siblings like blockchain_fees_evm and blockchain_fees_solana.

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?

Each action is paired with a plain-language purpose (e.g. 'get-fee-recommendations: get current minimal fee/cost rates from the mempool'), which effectively routes the agent to the right action for the transfer type at hand. However, there is no explicit when-not-to-use guidance and no cross-reference to the sibling chain tools, so the guidance is clear but not exhaustive.

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