Skip to main content
Glama
@cryptoapis-io/mcp-blockchain-fees

@cryptoapis-io/mcp-blockchain-fees

Official

Tezos fee estimates

blockchain_fees_tezos
Read-onlyIdempotent

Retrieves current Tezos fee recommendations from the mempool and estimates transfer costs for XTZ, FA1.2, and FA2 tokens.

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.

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": {
      "action": "<action>",
      "network": "<network>"
    },
    "name": "blockchain_fees_tezos"
  }
}

Input 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

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds useful non-schema behavior: the 52-credit cost per action and the fact that actual credits are returned in response headers. It does not cover rate limits, auth requirements, or error behavior.

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?

Purpose is front-loaded and the action list is scannable. The credits block repeats the same 52 value for all four actions and includes a caveat, which is mildly verbose, though the information is still purposeful.

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?

For a 9-parameter, read-only fee tool with full schema coverage and strong annotations, the description covers action selection and cost disclosure. Return payload contents are not described and there is no output schema, but the rich schema descriptions substantially reduce that gap.

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 the schema already states which parameters are required for each estimate action. The description's action list provides some orientation for choosing parameter sets, but it adds no syntax or format detail beyond the schema.

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?

Names the specific chain (Tezos) and token standards (XTZ, FA1.2, FA2) and states the exact job: fee recommendations and fee estimation. The four enumerated actions make it clearly distinguishable from blockchain_fees_evm, blockchain_fees_solana, blockchain_fees_utxo, and blockchain_fees_xrp.

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?

Maps transfer type to action: get-fee-recommendations for current mempool rates, estimate-transfer for native XTZ, and separate FA1.2/FA2 actions. This gives clear selection context, but it never states when not to use the tool or explicitly routes the agent to a sibling chain tool.

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