Skip to main content
Glama

lp_position

Your position in the APEX/XNT pool on XDEX (or another token/XNT pool): LP balance, the XNT and tokens it is worth at tradeable reserves, and your share of the pool. Also the live price, trade fee and depth. Read from chain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNoToken mint address, or APEX (default).
walletYesYour X1 wallet public key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / token
      Added value: +{
      +  "description": "Token mint address, or APEX (default).",
      +  "type": "string"
      +}
    • addedInput schema / properties / wallet / description
      Added value: +"Your X1 wallet public key."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of disclosing behavior. It does state 'Read from chain,' which signals a read-only operation, and enumerates the returned data clearly. However, it does not disclose failure modes, stale-data caveats, whether the wallet must already hold LP, or any permission/rate-limit considerations, so it is only moderately transparent.

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

Conciseness5/5

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

The description is two sentences long, front-loads the core purpose, and packs relevant detail without fluff. Every clause contributes either a semantic detail (pool type, return fields, source) or a disambiguating fact. It is appropriately sized for the tool's complexity.

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?

For a read-only lookup with two well-documented parameters, the description gives a solid inventory of outputs: LP balance, token value, pool share, live price, fee, and depth. It lacks an explicit return shape or edge-case behavior, but the listed outputs and 'Read from chain' suffice for an agent to invoke the tool correctly in most cases.

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 input schema already documents wallet and token well. The description adds some context by explaining that the token parameter refers to another token/XNT pool and that APEX is the default, which aligns with and slightly enriches the schema. It does not add substantial new meaning beyond what is already in the schema.

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?

The description clearly states what the tool returns: the users LP position in an APEX/XNT or token/XNT pool, including LP balance, token value, pool share, price, fee, and depth. It distinguishes this from related tools like lp_add_build by framing it as a position/read tool rather than a transaction builder. The addition of 'Read from chain' makes the resource and action explicit.

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 description implies the use case: call this when you need a wallet's LP position and pool metrics. It gives context by naming the pool type and data returned, but it does not explicitly state when to use this tool versus alternatives such as lp_add_build or holdings, nor does it list any exclusions or prerequisites beyond a wallet.

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.

Resources