Skip to main content
Glama

Wallet PnL

get-wallet-pnl
Read-onlyIdempotent

Wallet PnL. Calls only GET /v4/wallets/{ownerAddress}/pnl and returns that response. Solana API endpoint for fetching wallet PnL with realized and unrealized profit, win rate, trade volume and per-token performance across vetted markets.

Input Schema

NameRequiredDescriptionDefault
pageNoThe requested page.
limitNoThe limit of entries to return. If not passed, first 1000 entries are returned (the maximum).
sortByAscNoSort ascending by 'mintAddress', 'tokenSymbol', 'buysTransactionCount', 'buysTokenAmount', 'buysVolumeUsd', 'sellsTransactionCount', 'sellsTokenAmount', 'sellsVolumeUsd', 'realizedPnlUsd', 'unrealizedPnlUsd'. Only one of
resolutionNoRepresents the supported time-window resolutions for account/PnL queries.
sortByDescNoSort descending by 'mintAddress', 'tokenSymbol', 'buysTransactionCount', 'buysTokenAmount', 'buysVolumeUsd', 'sellsTransactionCount', 'sellsTokenAmount', 'sellsVolumeUsd', 'realizedPnlUsd', 'unrealizedPnlUsd'. Only one o
mintAddressNoTyped Solana public key identifier used across request parameters and response fields.
ownerAddressYesTyped Solana public key identifier used across request parameters and response fields. Path parameter for /v4/wallets/{ownerAddress}/pnl.

Output Schema

NameRequiredDescriptionDefault
bodyNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds that it hits exactly one endpoint (GET /v4/wallets/{ownerAddress}/pnl) and summarizes what the payload contains, which is useful context, but says nothing about rate limits, auth, pagination behavior, or failure modes.

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?

Three short sentences, with the endpoint mapping and the metric list front-loaded and no filler. The opening 'Wallet PnL.' merely restates the title, which is the only wasted fragment.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description need not explain return values, and it is adequate for calling the tool. The missing piece is routing guidance against the PnL-adjacent siblings, which matters given how many wallet/token analytics tools are in this server.

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%, so all seven parameters (including resolution, page, limit, mintAddress and the sortBy fields) are documented in the schema itself. The description adds no 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 specific verb and resource (fetch wallet PnL) and enumerates the returned metrics (realized/unrealized PnL, win rate, trade volume, per-token performance). It implicitly distinguishes itself from get-wallet-pnl-history by omitting a time-series framing, but never states that distinction explicitly.

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 guidance on when to choose this over the nearby siblings get-wallet-pnl-history or get-token-top-pnl-traders, and no statement of prerequisites or exclusions. The only usage-adjacent signal is the 'vetted markets' scope, which is descriptive rather than directive.

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.