Skip to main content
Glama

base_tx_costs

Rounded costs of common Base operations right now (ETH transfer, ERC20 transfer, approve, typical swap) at the current base fee, in ETH and USD. Exact figures are a paid lookup; gas amounts are typical estimates.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it does meaningful work: it discloses that values are rounded, that they reflect the current base fee, that gas amounts are typical estimates rather than exact, and that precise figures require a paid lookup. It does not mention freshness/caching or whether values reflect a specific block, which are the remaining gaps for a live-data tool.

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?

Two sentences, zero waste, and the most important qualifier (rounded, current) is front-loaded before the coverage list and the paid-lookup caveat. Every clause adds information an agent needs.

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?

For a zero-parameter tool with an output schema, the description covers what is returned (four operation types), the units (ETH and USD), and the precision caveat. Only the absence of explicit sibling routing keeps it from being fully complete.

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 takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The schema is empty and consistent with the description's claim of returning standard operation costs without any filtering input.

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?

The description names the resource (Base transaction costs) and enumerates the specific operations covered: ETH transfer, ERC20 transfer, approve, typical swap, plus the denominations (ETH and USD). That is far more specific than the bare name base_tx_costs, though it never explicitly contrasts itself with close siblings like base_transfer_cost or base_gas_price.

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?

Usage is only implied: the 'right now' and 'rounded' framing suggests a quick, free estimate, and 'exact figures are a paid lookup' hints at a boundary condition. However, there is no explicit statement of when to call this versus base_transfer_cost, base_gas, or base_gas_price, and no stated prerequisites.

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