Skip to main content
Glama

Base wallet check

base_wallet_check
Read-onlyIdempotent

Base wallet snapshot for one address: ETH, USDC, EURC, DAI, cbBTC, WETH and VIRTUAL balances, transaction count, contract or wallet, and an OFAC sanctions check. Paid per call. Price: 3 sats or US$0.003 (USDC) per call.

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": {
      "evm_address": "<evm_address>"
    },
    "name": "base_wallet_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
l402NoOptional. After paying the Lightning invoice: '<token>:<preimage>'.
passNoOptional. A Diamond budget token (dp_...) that your user approved once (from US$0.89; USDC or other Base tokens, or Lightning) or that you funded with the free diamond_budget tool. Each call deducts its price; no wallet needed in the agent.
pay_withNoOptional. 'lightning' requests a BOLT11 invoice and a token when Diamond can receive Lightning payments.
evm_addressYesAn EVM address (0x + 40 hex characters): a wallet or a contract

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pay_with / description
      Previous value: -"Optional. 'lightning' returns a BOLT11 invoice and a token instead of the x402 payment request."New value: +"Optional. 'lightning' requests a BOLT11 invoice and a token when Diamond can receive Lightning payments."
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so safety and determinism are covered. The description adds genuinely useful behavior the annotations do not: it is a paid call at a stated price (3 sats or US$0.003 USDC) and includes an OFAC sanctions check. It does not explain what happens on an unpaid call (invoice returned vs. error) or wallet-vs-contract output differences, so it is above baseline but not rich.

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?

Two sentences, front-loaded with what the snapshot contains before the commercial terms. The seven-token list is slightly long but is the substantive payload, and nothing is redundant with the title or schema.

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 description correctly carries the return-value burden by listing the balance set and flags. Payment mechanics (pass, l402, pay_with) are fully documented in the schema, so the definition covers what an agent needs to invoke it, leaving only the unpaid-call flow unspecified.

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 coverage is 100% and every parameter carries its own description (l402 token:preimage, dp_ pass budget token, pay_with enum, evm_address pattern), so the schema does the heavy lifting. The description adds no parameter-level meaning beyond echoing pricing, which lands at the baseline 3.

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?

States a specific verb ('snapshot') and resource ('Base wallet for one address') and enumerates exactly what is returned (ETH/USDC/EURC/DAI/cbBTC/WETH/VIRTUAL balances, transaction count, contract-vs-wallet, OFAC check). That enumeration implicitly separates it from base_token_check and evm_sanctions_screen, though no sibling is named.

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?

There is no guidance on when to use this versus base_token_check, evm_sanctions_screen, or base_tx_decode, and no exclusions or preconditions beyond the price. The only usage-adjacent content is the per-call pricing, which tells the agent cost but not tool selection.

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