Skip to main content
Glama

base-gas-execution-fee-preflight

Read-only Base execution-gas estimate compared to caller-defined wei fee ceiling. Does not quote total Base transaction fees (L1 data fee unknown), nor transact. Costs $0.001 Base USDC via x402. Costs $0.001 USDC on Base via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkNo
gas_limitYes
max_execution_fee_weiYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.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 burden and does substantial work: it declares read-only, states it does not transact, flags the L1 data-fee blind spot, and discloses the $0.001 x402 payment requirement. It stops short of saying what happens when the estimate exceeds the ceiling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Front-loaded and generally tight, but the final two sentences ('Costs $0.001 Base USDC via x402. Costs $0.001 USDC on Base via x402.') state the identical fact twice, which is pure redundancy that dilutes an otherwise efficient description.

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 read-only 3-param tool with no output schema, the description covers purpose, cost, and limitations but never describes the return value or the ceiling-exceeded behavior, leaving the agent to guess at the result shape.

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

Parameters2/5

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

Schema description coverage is 0% for all three parameters. The description only loosely maps 'caller-defined wei fee ceiling' to max_execution_fee_wei and 'Base' to network; it never explains the string pattern of the fee, the gas_limit bounds (21000-3000000), or the const network value.

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 ('Read-only Base execution-gas estimate') and scopes it to a comparison against a caller-supplied wei ceiling. It differentiates itself from generic gas-price siblings by emphasizing 'execution-gas' versus total transaction fees, though it never names a sibling directly.

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?

Provides a clear exclusion ('Does not quote total Base transaction fees ... nor transact'), which implies this is a preflight-only check, but gives no positive when-to-use statement and names no alternative among the many gas/chain siblings (chain-gas-state, gas_price).

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.