Skip to main content
Glama

Balances

blackpool_balance
Read-onlyIdempotent

Read an agent wallet's private and public balances across supported chains; filter to one pool or poll after a deposit/send to confirm funds when private balance shows zero.

Instructions

Read the agent wallet's private (shielded) and public balances. Without pool: both pools of the chain (native coin and stablecoin) with their note (UTXO) counts; chain "all" covers every chain. With pool: that one private pool only. Read-only; needs BLACKPOOL_KEY. Use wait=true right after a deposit or send, when the private balance may still read 0. Returns {balances: [{chain, address, private: {SYMBOL: {balance, utxos}}, public: {SYMBOL: balance}}]}, or with pool {chain, pool, balance, symbol, utxos}.

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

Input Schema

NameRequiredDescriptionDefault
poolNoPool on that chain: eth|usdc (base, arbitrum), eth|usdg (robinhood), bnb|usdc|usdt (bsc). Default: the chain's stablecoin pool.
waitNoPoll up to 30 s while a private balance reads 0, e.g. right after a deposit. Default false.
chainNoChain, or "all" for every chain. Default base.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • changedInput schema / properties / chain / description
      Previous value: -"Chain, or \"all\". Default base."New value: +"Chain, or \"all\" for every chain. Default base."
    • addedInput schema / properties / wait / description
      Added value: +"Poll up to 30 s while a private balance reads 0, e.g. right after a deposit. Default false."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds what they cannot: it requires BLACKPOOL_KEY, it can transiently return 0 for a private balance (eventual consistency) which `wait` mitigates with a 30s poll, and it spells out the exact return shape for both modes. That is precisely the behavioral context annotations don't carry.

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?

Front-loads the core purpose, then layers mode semantics, the auth requirement, the timing caveat, and the return shape with no filler sentences. Dense but every clause carries distinct information, and with no output schema the return-shape sentence earns its place.

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?

There is no output schema, so the description must describe returns — and it does, for both the no-pool and pool variants, named by field. Combined with the auth requirement and the polling caveat, an agent has everything needed to call this correctly on the first attempt.

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 baseline would be 3, but the description adds semantics the schema lacks: omitting `pool` returns both pools with UTXO counts, passing `pool` narrows to that single pool and changes the result shape, and `chain: "all"` spans every chain. It also clarifies the deposit-timing rationale for `wait`, which the schema only hints at.

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?

Opens with a specific verb+resource: 'Read the agent wallet's private (shielded) and public balances.' It then immediately distinguishes the two operating modes (with vs. without `pool`) and their respective scopes, so an agent knows exactly what this returns and how it differs from siblings like blackpool_assets or blackpool_send.

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

Usage Guidelines4/5

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

Gives real when-to-use guidance: 'Use wait=true right after a deposit or send, when the private balance may still read 0,' and explains when to pass `pool` vs. omit it. It stops short of naming alternative sibling tools or stating exclusions (e.g., when to prefer blackpool_assets for a portfolio view), so it is strong but not fully routing-aware.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.