Skip to main content
Glama

ScorpTech x402 Tools

Wallet Portfolio

wallet_portfolio
Read-onlyIdempotent

Use this when you need to know what a wallet holds and what it is worth. One address in, portfolio out: for a 0x address, native coin plus ~70 curated major tokens (stablecoins, WETH/WBTC/cbBTC, LSTs, top DeFi and meme tokens) across Ethereum, Base, Arbitrum, OP Mainnet, Polygon and BNB Chain in parallel; for a Solana address, SOL plus every SPL / Token-2022 balance. USD value per holding, per-chain totals and a grand total (DefiLlama prices), sorted by value. Spam-free on EVM; a failing chain is reported in sources, never fails the call. Returns JSON with: ok, data, sources, fetched_at, cache_age_s. Price: $0.015 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/wallet-portfolio

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_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainsNoEVM only: comma-separated subset of eth,base,arbitrum,optimism,polygon,bsc (default all 6)
addressYesEVM address (0x...) or Solana wallet address (base58)
min_usdNohide holdings worth less than this (default 0.01)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, open-world and idempotent, and the description adds substantial behaviour on top: spam filtering on EVM, a failing chain being recorded in `sources` rather than failing the call, caching exposure via `cache_age_s`, and a $0.015 USDC x402 charge per successful call. The pricing and partial-failure semantics are things the agent cannot learn from the structured fields.

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, then coverage, then return shape, then price and transport — a sensible order with minimal filler. It is a dense single block and the HTTPS/x402 tail is secondary information, but no sentence is redundant.

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 enumerates the response envelope (ok, data, sources, fetched_at, cache_age_s) and explains value derivation and source attribution for failures. For a three-parameter, multi-chain read tool this covers everything needed to call it and interpret results.

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 chains, address and min_usd are already documented. The description adds the useful distinction that a 0x address yields native coin plus ~70 curated tokens while a Solana address yields every SPL/Token-2022 balance, which sets expectations about coverage, but it adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 use case ("know what a wallet holds and what it is worth") and then states the exact resource returned, listing the chains, token universes and value semantics (per-holding, per-chain, grand total). An agent knows precisely what it gets back, which distinguishes it from a metrics- or risk-oriented sibling without needing their schemas.

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 use case trigger is explicit ("Use this when you need to know what a wallet holds and what it is worth") and the address-type split tells the caller when EVM vs Solana behaviour applies. It does not name an alternative sibling or state when NOT to use it, so it stops short of full routing guidance.

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