Skip to main content
Glama

evm_get_priority_fee

Get EIP-1559 priority fee recommendations by percentile tier to speed up transaction confirmation on any supported EVM chain.

Instructions

Get EIP-1559 priority fee recommendations with percentile-based tiers.

CRITICAL RULES:

  • Read-only operation

  • Priority fee tips validators/miners

  • Optional but speeds confirmation

  • Higher percentile = faster inclusion

  • Zero priority fee possible but slow

PARAMETERS:

  • chain: EVM chain (required)

  • percentile: Fee tier (optional)

    • 25 = slow (budget)

    • 50 = standard (default)

    • 75 = fast

    • 95 = instant

EXAMPLES: ✅ Get standard priority: {chain: "ethereum"} ✅ Get fast confirmation: {chain: "polygon", percentile: 75}

SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559

CRITICAL GAS CONSIDERATIONS:

  • Ethereum: High gas costs, use gas oracle for timing

  • Polygon/BSC: Very low gas, safe for frequent transactions

  • Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum

  • Avalanche: Dynamic fees, can spike during congestion

  • Always check gas price before executing transactions

TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.

OUTPUT STRUCTURE: • priorityFee: Recommended fee (wei) • percentile: Selected tier • estimatedTime: Confirmation time • recentFees: Historical data

Running on Linux.

LINUX-SPECIFIC NOTES:

  • Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)

  • Python 3 is typically 'python3' command

  • GNU tools are standard

  • Use 'xdg-open' command to open files/applications

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": {
      "chain": "<chain>"
    },
    "name": "evm_get_priority_fee"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain to query
percentileNoFee percentile (25=slow, 50=standard, 75=fast, 95=instant, default: 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares 'Read-only operation', explains that the tip goes to validators/miners, that the fee is optional, that zero is possible but slow, and it lists return fields. It omits auth/privacy details and rate limits, keeping it off 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.

Conciseness2/5

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

The purpose and critical rules are front-loaded, but the definition is heavily padded: a full seven-chain enumeration with block times, extended gas commentary, faucet notes, and an entirely irrelevant 'LINUX-SPECIFIC NOTES' block about apt/yum/xdg-open. Much of this does not help an agent call the tool.

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?

Because there is no output schema, the OUTPUT STRUCTURE list is genuinely useful, and the chain list clarifies enum values. But the signal is diluted by unrelated operating-system notes and gas-advice prose that belongs to a different tool, leaving the definition bulky rather than 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 coverage is 100% and the schema already documents both parameters with the same tier mapping (25=slow ... 95=instant, default 50). The description largely restates that, adding only chain-level context, so the baseline 3 applies.

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?

States a specific verb and resource ('Get EIP-1559 priority fee recommendations') and scopes it to percentile tiers, which distinguishes it from generic gas-price tools. It never names a sibling such as evm_get_gas_price or evm_get_gas_oracle to sharpen the boundary, so it stops short of a 5.

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

Usage Guidelines3/5

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

The examples show two concrete invocation patterns and the tier table implies when to pick a higher percentile. However, there is no explicit guidance on when to use this versus evm_get_base_fee, evm_get_gas_price, or evm_get_gas_oracle, so the agent must infer the routing itself.

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

Deploy Server

Other Tools