Skip to main content
Glama

chain_access_list

Read-only

EIP-2930 access list optimizer — Builds the EIP-2930 access list for a transaction with eth_createAccessList (chain=base|ethereum|arbitrum|optimism|polygon, to=contract, data=0x calldata, optional from and value in wei), then re-estimates gas with no list, the full list and a pruned list (already-warm sender/to entries removed): gas saved, fee saved at the current gas price, the recommended list and a USE_ACCESS_LIST / SKIP / NOT_NEEDED verdict. A call that would revert returns 422 (not charged). Price: $0.003 USDC (Base, via x402).

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>",
      "to": "<to>",
      "data": "<data>"
    },
    "name": "chain_access_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
dataYes0x70a082310000000000000000000000003304e22ddaa22bcdc5fca2269b418046ae7b566a
chainYesbase

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare read-only, open-world, non-destructive; the description adds real behavior beyond that: three-way gas re-estimation, fee saved at current gas price, a revert returning 422 and not being charged, and the x402 price of $0.003 USDC. The failure-mode and billing disclosure is exactly the context annotations cannot carry.

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?

Front-loaded with the identity and then a single dense parenthetical enumerating inputs and outputs; nothing is redundant. The nested parentheticals make it slightly harder to scan than a short list would be, but no sentence is wasted.

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?

With no output schema, the description fully carries the return-value burden — gas saved, fee saved, recommended list, and verdict are all named — plus pricing and the 422 revert path. Nothing an agent needs to call it or interpret the response is 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?

Schema coverage is nominally 100%, but the schema descriptions are only bare examples ('base', an address literal, a calldata literal); the description supplies the actual chain options (base|ethereum|arbitrum|optimism|polygon) and the meaning of to/data. It also documents optional from and value-in-wei, which do not appear in the schema properties at all — useful context, though the mismatch could confuse an agent building arguments.

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?

A specific verb+resource: builds an EIP-2930 access list for a transaction via eth_createAccessList, then re-estimates gas across three scenarios and returns a USE_ACCESS_LIST/SKIP/NOT_NEEDED verdict. The description names the exact inputs and outputs, so it is unmistakable against generic call/gas sibling tools.

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 purpose implies when it is useful (optimizing a transaction's gas before sending), and the embedded verdict tells the agent the tool itself makes the include/skip decision. However, there is no explicit when-to-use vs alternatives statement and no exclusion guidance, so the routing is left to inference.

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