Skip to main content
Glama

Wallet balances on Base

blackwood_wallet_balances
Read-onlyIdempotent

Use when you need a wallet balance, token balances or the ERC20 balance of an address on Base, read live from the chain. Do not use for ethereum mainnet or other chains, NFTs, transaction history or USD values. Returns JSON with the wallet balance of an address on Base: ETH and ERC20 token balances read on-chain in one block, 21 major tokens plus any you list for 0.003 USDC per call. Typical response time 1200 ms (p95). Category: Data.

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

Input Schema

NameRequiredDescriptionDefault
tokensNoExtra ERC20 token addresses on Base to check, e.g. ["0x4200000000000000000000000000000000000006"] (up to 20, beyond the 21 major ones)
addressYesWallet address on Base, e.g. 0x5A6c77758820182484EA8DE614FC65423E80749a
includeZeroNoAlso list tokens with zero balance (false when omitted)
response_formatNoconcise (the default when omitted) keeps the JSON short: long fields such as base64 images or audio come back as separate image/audio content blocks and other long strings are cut with a marker; detailed returns the full JSON

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "type": "string"
      -      },
      -      "blockNumber": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "checkedTokens": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "native": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "balance": {
      -            "type": "string"
      -          },
      -          "raw": {
      -            "type": "string"
      -          },
      -          "symbol": {
      -            "const": "ETH",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "symbol",
      -          "balance",
      -          "raw"
      -        ],
      -        "type": "object"
      -      },
      -      "network": {
      -        "const": "eip155:8453",
      -        "type": "string"
      -      },
      -      "notTokens": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "tokens": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "balance": {
      -              "type": "string"
      -            },
      -            "decimals": {
      -              "maximum": 9007199254740991,
      -              "minimum": -9007199254740991,
      -              "type": "integer"
      -            },
      -            "raw": {
      -              "type": "string"
      -            },
      -            "symbol": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "token": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "token",
      -            "symbol",
      -            "decimals",
      -            "balance",
      -            "raw"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "address",
      -      "network",
      -      "blockNumber",
      -      "native",
      -      "tokens",
      -      "notTokens",
      -      "checkedTokens"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "x402 PaymentRequired (returned with isError when payment is needed)",
      -    "properties": {
      -      "accepts": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "extensions": {
      -        "type": "object"
      -      },
      -      "resource": {
      -        "type": "object"
      -      },
      -      "x402Version": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "x402Version",
      -      "accepts"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "address": {
      +        "type": "string"
      +      },
      +      "blockNumber": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "checkedTokens": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "native": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "balance": {
      +            "type": "string"
      +          },
      +          "raw": {
      +            "type": "string"
      +          },
      +          "symbol": {
      +            "const": "ETH",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "symbol",
      +          "balance",
      +          "raw"
      +        ],
      +        "type": "object"
      +      },
      +      "network": {
      +        "const": "eip155:8453",
      +        "type": "string"
      +      },
      +      "next": {
      +        "additionalProperties": false,
      +        "description": "Suggested next paid call in the same family (call it in a loop when the task continues)",
      +        "properties": {
      +          "method": {
      +            "enum": [
      +              "GET",
      +              "POST"
      +            ],
      +            "type": "string"
      +          },
      +          "sample": {
      +            "description": "Free fixed sample of the whole family",
      +            "type": "string"
      +          },
      +          "service": {
      +            "description": "Service id of the suggested next paid call",
      +            "type": "string"
      +          },
      +          "tool": {
      +            "description": "MCP tool name of the same call",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Paid route of the next call",
      +            "type": "string"
      +          },
      +          "useWhen": {
      +            "description": "When the next call is the right one",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "service",
      +          "tool",
      +          "method",
      +          "url",
      +          "useWhen",
      +          "sample"
      +        ],
      +        "type": "object"
      +      },
      +      "notTokens": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "tokens": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "balance": {
      +              "type": "string"
      +            },
      +            "decimals": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "raw": {
      +              "type": "string"
      +            },
      +            "symbol": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "token": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "token",
      +            "symbol",
      +            "decimals",
      +            "balance",
      +            "raw"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "address",
      +      "network",
      +      "blockNumber",
      +      "native",
      +      "tokens",
      +      "notTokens",
      +      "checkedTokens"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "x402 PaymentRequired (returned with isError when payment is needed)",
      +    "properties": {
      +      "accepts": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "extensions": {
      +        "type": "object"
      +      },
      +      "resource": {
      +        "type": "object"
      +      },
      +      "x402Version": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "x402Version",
      +      "accepts"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: cost (0.003 USDC per call), latency (1200 ms p95), snapshot semantics ('read on-chain in one block'), token coverage (21 major tokens plus listed extras) and a note on truncation behavior in concise mode. This is exactly the extra context annotations cannot carry.

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?

Front-loaded with the use case and exclusions before the return/cost/latency details, and most sentences earn their place. Slight duplication of title phrasing ('wallet balances on Base') and a trailing 'Category: Data.' add noise but the total length stays reasonable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the description still covers chain scoping, token coverage, cost, latency and truncation. Nothing an agent needs to select or invoke this tool correctly is missing.

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 all four parameters (address, tokens, includeZero, response_format) are already documented with patterns, defaults and enum meaning. The description restates the '21 major tokens plus any you list' limit that the schema itself states, so it adds little beyond pricing context; baseline 3 is appropriate.

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?

States a specific verb and resource ('read a wallet balance / ERC20 token balances on Base'), names the chain, and pins the scope to on-chain live reads. An agent can distinguish it from blackwood_wallet_value, blackwood_wallet_portfolio and blackwood_token_price without opening a schema.

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

Usage Guidelines5/5

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

Explicit when-to-use ('wallet balance, token balances or the ERC20 balance of an address on Base') and explicit when-not ('ethereum mainnet or other chains, NFTs, transaction history or USD values'). The exclusion list routes the agent away from the value/portfolio/price siblings even though those names are not spelled out.

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