Skip to main content
Glama

One LP position (paid, x402)

get_position

Read one LP position NFT by tokenId on Base or HyperEVM to check range status, edge distances, token amounts, uncollected fees, and reproducible on-chain proof.

Instructions

One LP position NFT: in range or not, distance to each range edge, token amounts, and uncollected fees exactly as collect() would pay. 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. Staked positions are found by tokenId here. 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": {
      "tokenId": "<tokenId>"
    },
    "name": "get_position"
  }
}

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
tokenIdYesPosition NFT token id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

The description carries substantial behavioral context beyond the annotations: exact price (0.005 USDC on Base), the x402 payment mechanism and server cap, the degraded behavior when no payer wallet exists, and that results are read at a single block with a reproducible proof. This also explains why readOnlyHint=false despite the data being read-only in nature — the call itself settles a payment.

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?

Dense and front-loaded: the return payload leads, then cost, then failure mode, then provenance. Minor redundancy between 'Costs 0.005 USDC on Base per call' and the restated server cap, and the closing 'no advice, no signals' is a slight detour, but nothing is bloated.

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 fully compensates by enumerating the returned fields and the `proof` payload (block number plus reproducing eth_call). For a paid, single-position read tool, 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.

Parameters3/5

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

Schema coverage is 100%, so the enum for chain, the npm default of 'aerodrome', and the tokenId pattern are already documented. The description adds only one piece of meaning — that staked positions are addressed by tokenId here — which is helpful but marginal, so baseline 3 applies.

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 — one LP position NFT — and enumerates exactly what is returned (in-range status, distance to each edge, token amounts, uncollected fees), which cleanly separates it from get_pool and list_positions.

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?

It gives one useful routing hint ('Staked positions are found by tokenId here') and makes the payment precondition explicit ('Without a payer wallet it returns the payment offer instead of data'), but it never names an alternative or states when to prefer list_positions or get_pool, so usage is implied rather than prescribed.

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