Skip to main content
Glama

All LP positions of an address (paid, x402)

list_positions

Lists a wallet's unstaked concentrated-liquidity LP positions on one position manager, with a count of out-of-range positions and pagination of 20 per call on Base or HyperEVM.

Instructions

All unstaked LP positions an address holds on one position manager (up to 20 per call, use offset for more), with a count of how many are out of range. Staked positions are held by the gauge: query them with get_position by tokenId. Costs 0.005 USDC on Base per call, paid by x402 (cap for this server: 0.005 USDC per call). Without a payer wallet it returns the payment offer instead of data. The answer is read from chain in one call at one block and comes with proof: the block number and the exact eth_call that reproduces it. Read-only data: no advice, no signals.

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": {
      "owner": "<owner>"
    },
    "name": "list_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
npmNoPosition-manager (NFT) contract address. On base, 'aerodrome' is accepted and is the default. Required on hyperevm.
chainNobase (Aerodrome Slipstream and Uniswap v3-style) or hyperevmbase
limitNo
ownerYesWallet address that holds the positions
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Discloses behavior that annotations cannot: an exact price (0.005 USDC on Base via x402), the no-payer-wallet fallback return, the single-block atomic read, and a `proof` object containing the block number and reproducing eth_call. The only tension is with readOnlyHint=false, but that reflects the payment side effect rather than a contradiction, since "read-only data" describes the content returned.

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-loads the result scope and pagination before cost and proof details, so an agent gets the essentials in the first clause. Minor waste in restating the 0.005 USDC figure twice (price plus cap), which could be collapsed into one statement.

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 still describes the return shape: positions, an out-of-range count, and the `proof` block number plus eth_call. Combined with cost and failure-mode disclosure, an agent has everything needed to decide and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 60%, and the description fills the main gaps: limit is capped at 20 per call, offset paginates, and npm is scoped to "one position manager," which clarifies what that parameter selects. It does not address chain-specific npm requirements, but the schema already documents those.

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?

States a specific verb and resource with scope qualifiers an agent can act on: "All unstaked LP positions an address holds on one position manager." It explicitly carves out the excluded case (staked positions) and names the sibling get_position for it, so the boundary with get_position is clear without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit routing guidance in both directions: staked positions go to get_position by tokenId, and pagination is handled with offset for results beyond 20. It also states the precondition that selects the failure path — without a payer wallet you get a payment offer, not data.

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

Deploy Server

Other Tools