Skip to main content
Glama

wallet_score

wallet_score

Calculate any Solana wallet's realized PnL and 0–100 score from recent swaps, win rate, closed round-trips, top tokens, and open positions to assess trading performance.

Instructions

Any Solana wallet's realized PnL + 0-100 score in one Smart402 call ($0.02 Base / $0.01 Solana / $0.01 Polygon via x402): average-cost PnL in SOL over the wallet's most recent 100 swaps, win rate, closed round-trips, top tokens by realized PnL, open positions with cost basis. Score = PnL 40 + win rate 35 + activity 15 + recency 10; wallets with no closed round-trip cap at 55. Sells of positions opened before the window count proceeds at zero cost basis (disclosed in the response).

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": {
      "wallet": "<wallet>"
    },
    "name": "wallet_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesSolana wallet address (base58)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does substantial work: it states the PnL methodology (average-cost over the most recent 100 swaps), the score composition (PnL 40 / win rate 35 / activity 15 / recency 10), and the scoring cap of 55 for wallets lacking a closed round-trip. It even discloses a methodological quirk (sells of pre-window positions counted at zero cost basis, surfaced in the response), which is exactly the kind of edge case an agent would otherwise misinterpret. It omits auth/rate-limit and error behavior for invalid or empty wallets, keeping it below 5.

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?

The definition is front-loaded: purpose and scope first, then pricing, then methodology and caveats. It is dense rather than padded, and each clause (score weights, 55 cap, zero-cost-basis disclosure) adds interpretive value. The pricing parenthetical is arguably the least essential element for agent selection, but it is not waste.

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?

No output schema exists, so the description must convey return content, and it enumerates the returned fields (PnL, win rate, closed round-trips, top tokens, open positions with cost basis) plus the caveat flagging. For a simple one-parameter analytic call, an agent has everything needed to invoke it and interpret the result correctly.

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?

There is a single parameter (wallet) with 100% schema description coverage, and the schema already specifies it as a base58 Solana address. The description adds no format, validation, or edge-case meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a precise verb+resource: computing realized PnL and a 0-100 score for any single Solana wallet, with the exact analytic inputs (last 100 swaps, win rate, closed round-trips, top tokens, open positions). That is far more specific than the bare name. It does not explicitly contrast itself with the sibling wallet-oriented tools (smart_wallets, smart_money_feed), so sibling differentiation is left implicit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no routing to alternatives for token-level or aggregate queries. The only selection-adjacent information is the per-chain pricing line, which implies a paid single-call lookup but does not tell the agent when this tool is the right choice over its siblings.

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