Skip to main content
Glama

base_lookup

Read-only

Base (chain 8453) on-chain lookup for AI agents: wallet ETH balance and ERC-20 token balances (USDC, WETH, cbBTC, USDbC, EURC, DAI, cbETH, AERO plus up to 10 custom tokens), nonce and contract check; resolve a Basename (name.base.eth) to an address and the wallet's primary Basename; ERC-20 token info (name, symbol, decimals, total supply); latest block, base fee, gas price and transfer cost estimate. Read-only public RPC data. Price: 0.001 USDC per call (x402, Base).

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_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoERC-20 contract address to describe
tokensNoExtra ERC-20 token addresses for the wallet balances
addressNoWallet 0x address or Basename (name.base.eth)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnlyHint and openWorldHint, yet the description adds material behavior: an x402 payment of 0.001 USDC per call (an auth/cost prerequisite) and a hard limit of 10 custom tokens. It does not discuss failure modes, rate limits, or what happens when an address cannot be resolved.

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?

Purpose and network are front-loaded and every clause carries information, but the body is one long comma-chained sentence that mixes balances, Basenames, token metadata, and gas data. Bullet-style grouping of the capability clusters would read faster without losing content.

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?

With no output schema, the prose effectively enumerates the returned data (balances, nonce, contract flag, Basename/primary name, token metadata, block, base fee, gas price, transfer cost). The remaining gap is that it never states whether a call returns all of these or only those relevant to the supplied optional parameters.

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 100%, so the baseline is 3; the description still adds meaning by distinguishing the built-in token set (USDC, WETH, cbBTC, etc.) from the up-to-10 custom tokens, clarifying that `tokens` is for extras. It stops short of explicitly mapping each parameter to a specific output block.

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 concrete verbs and resources: wallet ETH and ERC-20 balances, nonce and contract check, Basename resolution, ERC-20 token info, and latest block/base fee/gas price. It also pins the network (chain 8453) and the supported token set, so an agent knows exactly what data family this tool serves.

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 context is implied (read-only Base RPC lookups for agents, paid per call), but there is no explicit when-to-use/when-not guidance and no statement of how to choose among the bundled capabilities. The sibling list contains unrelated utilities, so there are no real alternatives to route against, which softens the gap.

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