Skip to main content
Glama

land_liquidity_quote

Get a pool-specific liquidity quote for Splinterlands Land. Input a pool ID and either resource or DEC amount to receive the quoted counterpart amount.

Instructions

Get the best route in this liquidity family: a genuine linear, pool-specific quote from GET /land/liquidity/quote/{poolId}. resource_amount and dec_amount are optional inputs and the response carries both quoted amounts. The relationship was verified arithmetically from observed pairs: at the values tested, doubling dec_amount from 100 to 200 exactly doubled resource_amount from 12144.988 to 24289.976, and the relationship held at 1e14. This is an observed relationship at those tested values, not a formula this project has verified across the whole input range. Pool ids 1, 34 and 67 returned different quotes for the same amount. Zero and negative amounts clamp to 0/0, non-numeric amounts return HTTP 400, and an unknown well-formed pool returns 0/0. The one trap is that supplying both resource_amount and dec_amount silently lets resource_amount win, so a caller providing both receives an answer to only one of their questions. This tool reports the upstream quote unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolIdYes
dec_amountNo
resource_amountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4/5.0
Behavior5/5

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

With no annotations, the description must carry all behavioral disclosure, and it does: it discloses the observed linear relationship and its limits, different quotes across pools, clamping of zero/negative values, HTTP 400 for non-numeric amounts, 0/0 for unknown pools, and the precedence trap when both amounts are supplied. It also states the tool reports the upstream quote unchanged, giving a clear behavioral contract.

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?

The essential purpose is front-loaded in the first sentence, and every subsequent sentence provides a distinct behavioral fact rather than filler. The description is long but earns its length with edge-case and empirical information, though it is a dense wall of text that would benefit from bullets or clearer separation of caveats.

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 tool with no annotations and no output schema, this description covers a great deal: input options, the response carrying both quoted amounts, edge cases, and the one-input-wins trap. It is slightly incomplete only around what happens when neither amount is supplied and around the exact response shape, but overall an agent could call this correctly with high confidence.

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 0%, so the description compensates by explaining resource_amount and dec_amount are optional, describing the multiplicative relationship between them, and documenting the precedence trap. It does not define the exact token semantics of each field or the behavior when neither amount is supplied, but it adds substantial meaning beyond the bare JSON 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 opening sentence names a specific action and target ('Get the best route... pool-specific quote from GET /land/liquidity/quote/{poolId}'), so the tool's core function is unmistakable. It is not a tautology and conveys more than the name. However, it never names a sibling tool or the exact conditions that separate this quote tool from the other land_liquidity_* endpoints, so it falls short of a 5.

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 tool is for obtaining a pool-specific quote, and the rich behavioral notes tell the agent what to expect. But it contains no explicit 'use when...' / 'instead of...' guidance or mention of any alternative, so it does not actively route the agent among the many sibling liquidity tools.

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