Skip to main content
Glama

Agent Data API

optimism_gas_prices

Current OP Mainnet gas conditions: block number, base fee, gas price and priority fee in gwei, and the estimated cost in ETH and USD of a native transfer and an ERC-20 transfer (Chainlink ETH/USD). Costs $0.005 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 disclose key behavioral context: it costs $0.005 USDC on Base via x402 and uses Chainlink ETH/USD for USD estimates. It implies a read-only data lookup but does not describe payment mechanics, caching, or rate limits in detail.

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?

The description is a single dense sentence with no filler, front-loading the resource and then listing returned data and pricing. Every clause contributes information needed to decide and call the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-parameter, no-output-schema tool, the description provides enough: it specifies the returned fields, units for fees, ETH and USD cost estimates, the Chainlink price source, and the payment cost/mechanism. Nothing essential for correct invocation appears to be missing.

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

Parameters4/5

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

The tool has zero parameters and the schema is empty, so there are no parameter semantics to explain. The baseline for a no-parameter tool is 4, and nothing in the description contradicts the absence of inputs.

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 the specific resource and chain: 'Current OP Mainnet gas conditions', and enumerates exactly what is returned (block number, base fee, gas price, priority fee, transfer cost estimates). This clearly distinguishes it from sibling gas-price tools for Ethereum, Arbitrum, Base, and Polygon.

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 chain-specific wording makes the intended context clear: use this for OP Mainnet gas conditions rather than another chain's gas tool. It does not explicitly name alternatives or exclusions, but the scope is unambiguous for an agent selecting among sibling gas-price tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources