Skip to main content
Glama

DeFi Positions

get-wallet-defi-positions
Read-onlyIdempotent

DeFi Positions. Calls only GET /v4/wallets/{ownerAddress}/defi-positions and returns that response. Returns a wallet's live DeFi positions across all supported protocols (lending/borrowing, liquidity pools, perps/margin, limit orders & DCA, staking, rewards, vesting, and more). The response is a flat list of self-contained position "elements" under data.portfolio — there

Input Schema

NameRequiredDescriptionDefault
ownerAddressYesTyped Solana public key identifier used across request parameters and response fields. Path parameter for /v4/wallets/{ownerAddress}/defi-positions.

Output Schema

NameRequiredDescriptionDefault
bodyNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds real value beyond that by naming the single underlying call (GET /v4/wallets/{ownerAddress}/defi-positions) and sketching the response shape (a flat list of self-contained position elements under `data.portfolio`), which tells the agent there is no aggregation and no side effects.

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 opening repeats the title verbatim ('DeFi Positions.'), and the text is cut off mid-sentence at '— there', leaving an unfinished clause. The endpoint and protocol enumeration are front-loaded and useful, but the lead-in wastes a sentence and the truncation damages structure.

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 return values need not be fully explained, and the tool is a simple single-parameter read. Still, the description trails off mid-thought about the response structure, so the one piece of extra context it was trying to supply is left incomplete.

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% for the single parameter, and the schema already explains ownerAddress as a typed Solana public key path parameter. The description adds nothing about the parameter beyond what the schema states, so the baseline of 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 gives a specific verb and resource: it returns a wallet's live DeFi positions and enumerates the covered protocol categories (lending/borrowing, liquidity pools, perps, DCA, staking, rewards, vesting). This is far more informative than the title, though it never explicitly contrasts itself with lookalike siblings such as get-wallet-token-balances or get-wallet-pnl.

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 statement of when to choose this tool over alternatives, no prerequisites, and no exclusions. The agent must infer from the protocol list that this is the wallet-level DeFi exposure endpoint rather than a token-balance or PnL endpoint.

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.