Skip to main content
Glama
Trading Signals MCP

Trading Signals MCP

Wallet Pay-Readiness ($0.01)

wallet_pay_readiness
Read-only

Check whether a Base or Solana wallet can pay a given USDC amount before an agent pays: returns balances, x402 and transfer payability, shortfalls, blacklist flags, wallet type, and open approvals with an ok/review/cannot_pay status.

Instructions

Price: $0.01 USDC per call on Base, paid automatically via x402 from X402_PRIVATE_KEY. Before an agent pays: can this Base or Solana wallet pay a given USDC amount? Returns ETH/SOL and USDC balances, canPay for x402 (gasless for the payer) and for a direct transfer, shortfalls, USDC blacklist / frozen-account flags, wallet type (EOA, smart contract, EIP-7702) and open token approvals to well-known spenders (Base routers, Permit2, bridges) or SPL delegates (Solana), with an ok / review / cannot_pay status. Read live from public RPC. Failed calls (4xx/5xx) are not charged. Informational only, not investment advice.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain (default: detected from the address format)
amountNoUSDC amount to pay (default 1)
addressYesWallet address: Base 0x… or Solana base58

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.15

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses price and payment rail ($0.01 USDC on Base via x402 from X402_PRIVATE_KEY), that failed 4xx/5xx calls are not charged, that data is read live from public RPC, and the three possible verdicts (ok / review / cannot_pay). Those are exactly the facts an agent needs before committing a paid call, and none of them contradict the readOnlyHint/openWorldHint profile.

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?

It is dense and front-loaded with the price and the core question, and nearly every clause carries information. The closing "Informational only, not investment advice" is boilerplate that does little work for an agent deciding whether to call it, and the middle enumeration runs long as a single sentence.

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?

With no output schema, the description carries the return-value burden and does so by naming the balances, shortfalls, flags, wallet type, approvals, and the status taxonomy. For a three-parameter paid read tool, an agent has everything needed to decide and to interpret the result.

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%, and the description adds no parameter-level detail beyond it: address format handling, chain default detection, and the amount default are all already documented in the schema. The only extra semantic is which chain families are in scope, which the enum already covers.

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?

The description states a specific verb and resource: it determines whether a Base or Solana wallet can pay a given USDC amount, and it enumerates what that verdict is built from (balances, canPay for x402 vs direct transfer, shortfalls, blacklist flags, wallet type, approvals). It also implicitly separates itself from sibling risk-check tools by framing the question narrowly around payment capability.

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?

The phrase "Before an agent pays" gives a clear trigger condition, and the x402/gasless versus direct-transfer distinction tells the agent which mode the answer applies to. It stops short of naming alternatives such as pre_trade_check or token_pre_trade, so the agent must infer that this tool is about funding capability rather than token safety.

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