Skip to main content
Glama

get_cross_chain_gas_and_mev_oracle

Fetches live gas prices and MEV risk across Base, Arbitrum, Optimism, Solana, and Ethereum to help agents estimate transaction costs and frontrunning exposure.

Instructions

Get current gas prices and MEV risk for Base, Arbitrum, Optimism, Solana and Ethereum.

Cost: $0.01 USDC per call.
Freshness: cached near-real-time snapshot; check the timestamp in the response.
Inputs: chain (optional) - chain slug such as 'base', 'arbitrum', 'optimism', 'solana' or 'ethereum'; leave empty for all chains.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_cross_chain_gas_and_mev_oracle"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/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 behavioral burden and does most of it: it discloses a per-call cost ($0.01 USDC), states that data is a cached near-real-time snapshot, and directs the caller to the response timestamp for staleness. It stops short of explaining payment/auth mechanics or rate limits, which matters for a paid endpoint.

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?

Four short labeled lines (scope, cost, freshness, inputs) with the resource stated first. Every sentence carries distinct information — pricing, staleness, and parameter format — with no restatement of the tool name.

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?

Return values need not be described because an output schema exists, and cost plus freshness cover the main behavioral unknowns for a paid data endpoint. The remaining gap is that the description never says how the $0.01 charge is settled or what happens on insufficient balance/failed lookup.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate entirely, and it does: it names the parameter, marks it optional, gives valid slug examples ('base', 'arbitrum', 'optimism', 'solana', 'ethereum'), and defines the empty-string default as 'all chains'. Nothing about the single input is left ambiguous.

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?

States a specific verb and resource (gas prices and MEV risk) and enumerates the five chains covered, including non-EVM Solana. The scope is narrow enough that no sibling tool (FX rates, airdrop alpha, DEX arbitrage) could be mistaken for it.

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 'leave empty for all chains' line gives concrete guidance on how to invoke the optional parameter, and the freshness note tells the agent to inspect the timestamp before trusting the data. However, there is no explicit when-to-use vs when-not-to-use framing and no named alternative, so the usage context is implied rather than stated.

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