Skip to main content
Glama

Base Swap Simulator & Risk Gate

check_base_wallet

Live Base (eip155:8453) wallet/counterparty snapshot: ETH, WETH and USDC balances, optional ERC-20 balance and spender allowance, nonce, EOA vs contract check and live Base gas price. Unlimited paid calls via x402 at /api/v1/wallet-check ($0.002 USDC).

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": {
      "address": "<address>"
    },
    "name": "check_base_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoOptional ERC-20 token address (defaults to Base USDC)
addressYesBase wallet or contract address (0x...)
spenderNoOptional spender address for ERC-20 allowance check

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the x402 payment model, the per-call price ($0.002 USDC), the endpoint path, and that calls are unlimited. It also implies a read-only snapshot by nature. It stops short of covering error behavior, required address formatting, or latency/freshness guarantees beyond 'live'.

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?

A single dense sentence that front-loads the identity of the resource and ends with the pricing/endpoint detail an agent needs before committing. The long comma-separated enumeration of returned fields is information-bearing rather than filler, though a slightly tighter grouping would read better.

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?

There is no output schema and no annotations, so the description takes on return-value disclosure and does so by enumerating every field the snapshot yields, plus the cost model. What remains missing is the response structure and any failure modes, which matters modestly for a paid read tool.

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 description coverage is 100%, so the baseline is 3; the description goes slightly beyond by framing token and spender as an optional paired allowance/balance extension to the primary snapshot. It does not add format or constraint detail not already in the schema, so it stays near baseline rather than excelling.

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?

Names a specific resource and verb-like action ('wallet/counterparty snapshot' on Base eip155:8453) and enumerates exactly what is included: ETH/WETH/USDC balances, optional ERC-20 balance and allowance, nonce, EOA vs contract check, gas price. This is plainly distinct from siblings like simulate_base_swap or audit_base_bytecode without needing to open any schema.

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 implied by the resource description (check a wallet/counterparty state on Base), and the payment note signals it is a paid, unlimited-call endpoint. But there is no explicit when-to-use or when-not-to-use statement, and no routing guidance relative to check_x402_endpoint or simulate_base_swap.

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