Skip to main content
Glama

Beggar Bot

l1_data_fee

OP-stack fee breakdown (Base/Optimism): L1 data fee from GasPriceOracle getL1Fee for your tx bytes or a template, plus L2 execution fee, L1 base fee and blob base fee and L1 share %. Price x402 settle Paid: $0.02 USDC via x402.

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": "l1_data_fee"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNohex tx bytes (optional)
kindNonative_transfer|erc20_transfer|swap
chainNobase|optimism|base-sepolia

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavioral value: the pricing model ($0.02 USDC per x402 settle), the underlying oracle call, and the output components. It omits whether the call is read-only/non-mutating, what happens when 'data' is absent, and whether any auth beyond payment is required.

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?

It is a single dense sentence that front-loads the core purpose, but the middle clause ('plus L2 execution fee, L1 base fee and blob base fee and L1 share %') is a run-on list and the payment note is tacked on without structure.

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?

With no output schema and no annotations, the description compensates by enumerating the returned fee components and the x402 price, which is genuinely useful. However, it leaves unresolved how the template path works when 'data' is omitted and what validation errors look like, which matters for a zero-required-parameter tool.

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 description coverage is 100%, so the baseline is 3. The description adds modest value by framing 'data' as either raw tx bytes or a template and implying 'kind' selects the template, but it does not explain how kind and data interact, nor when chain defaults apply.

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?

Names a specific computation and scope: OP-stack L1 data fee via GasPriceOracle getL1Fee for Base/Optimism, plus L2 execution fee, L1 base fee, blob base fee and L1 share. That is concrete enough to separate it from generic siblings like gas_fee or blob_fee_trend, though it never explicitly says how it differs from those.

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

Usage Guidelines2/5

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

It hints at two input modes ('your tx bytes or a template') but gives no when-to-use guidance, no conditions for choosing this over gas_fee/next_base_fee/blob_fee_trend, and no exclusions or prerequisites beyond the price note.

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.