Skip to main content
Glama

Wallet PnL Timeseries

get-wallet-pnl-history
Read-onlyIdempotent

Wallet PnL Timeseries. Calls only GET /v4/wallets/{ownerAddress}/pnl-ts and returns that response. Solana API endpoint for fetching wallet PnL timeseries data. Returns realized PnL by day, week or month for tracking wallet performance over time.

Input Schema

NameRequiredDescriptionDefault
timeEndNoEnd of the time range (unix timestamp, seconds). Defaults to the end of the latest complete period.
timeStartNoStart of the time range (unix timestamp, seconds). Defaults to the earliest complete period for the chosen resolution: 30 days ago for '1d', 12 weeks ago for '1w', or 12 months ago for '1mo'.
resolutionNoTime bucket size for each data point. Possible values: '1d' (daily), '1w' (weekly), '1mo' (monthly). Defaults to '1d'.
ownerAddressYesTyped Solana public key identifier used across request parameters and response fields. Path parameter for /v4/wallets/{ownerAddress}/pnl-ts.

Output Schema

NameRequiredDescriptionDefault
bodyNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, open-world, non-destructive behavior. The description adds that it calls only the GET /v4/wallets/{ownerAddress}/pnl-ts endpoint and returns that response, which is useful, but it does not discuss auth, rate limits, or pagination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but contains redundancy: the first sentence only repeats the title, and 'Solana API endpoint for fetching wallet PnL timeseries data' largely restates the endpoint sentence. The useful content is present but not as front-loaded or economical as it could be.

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?

Given the rich input schema, existing output schema, and detailed annotations, the description supplies enough context for correct invocation: endpoint, resource, and granularity. The main remaining gap is explicit differentiation from the sibling get-wallet-pnl tool.

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 the schema already documents ownerAddress, timeStart, timeEnd, and resolution thoroughly. The description reinforces the day/week/month resolution granularity but adds no syntax or default details beyond the schema.

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 clearly states a specific resource: wallet PnL timeseries data, with realized PnL bucketed by day, week, or month. It distinguishes the timeseries nature implicitly from the sibling get-wallet-pnl, but it does not explicitly name or contrast with that sibling.

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

Usage Guidelines3/5

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

The phrase 'for tracking wallet performance over time' implies when this tool is appropriate, but there is no explicit guidance on when to use it versus get-wallet-pnl or other wallet analytics tools. Alternatives and exclusions are not named.

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.