Skip to main content
Glama

Base on-chain reads and pay-per-call feeds (x402/MPP)

What a Base wallet holds: ETH plus USDC, USDbC, DAI, WETH, cbBTC, AERO and DEGEN balances with USD values and a total, r

wallet_holdings
Read-onlyIdempotent

What a Base wallet holds: ETH plus USDC, USDbC, DAI, WETH, cbBTC, AERO and DEGEN balances with USD values and a total, read live (address=0x...). For portfolio, risk and counterparty agents that need a quick holdings check without an indexer key. Pay per call $0.02 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
addressNowallet or contract address on Base, e.g. 0xd0b53D9277642d899DF5C87A3966A349A798F224; if omitted, this example is answered
x_paymentNosigned x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / address / description
      Previous value: -"EVM wallet address on Base, 0x..."New value: +"wallet or contract address on Base, e.g. 0xd0b53D9277642d899DF5C87A3966A349A798F224; if omitted, this example is answered"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds non-obvious behavior beyond that: data is read live, requires paying $0.02 USDC on Base via x402, and the first call is a price-negotiation step. It stops short of describing pagination, rate limits, or failure behavior.

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?

Three compact clauses, front-loaded with what is returned before the audience and payment details. No filler sentences and every clause carries distinct information (token list, cost, use case).

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?

No output schema exists, yet the description enumerates the returned token balances and the USD/total fields, which compensates well. The x402 payment flow is covered jointly by description and schema. Minor gap: nothing about response shape ordering or error/unsupported-address handling.

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%, so both `address` and `x_payment` are fully documented in the schema, including the default-example behavior when address is omitted. The description only restates the address format as 'address=0x...' and mentions the price, adding marginal meaning; baseline 3 is warranted.

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 resource (a Base wallet's holdings) plus the exact token set returned (ETH, USDC, USDbC, DAI, WETH, cbBTC, AERO, DEGEN) with USD values and a total. The verbs 'read live' and the address argument make the operation unambiguous even with no sibling tools to distinguish from.

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?

Explicitly frames the use case: portfolio, risk and counterparty agents needing a quick holdings check without an indexer key. That tells the agent when this tool fits. It does not state when-not to use it or name an alternative, but no siblings exist and the 'quick check' framing implies its lightweight niche.

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