Skip to main content
Glama

land_resources_liquidity_swaps

Get liquidity swap records for a Splinterlands Land player, returning raw rows with quantities, tokens, and timestamps for all pool IDs.

Instructions

List the liquidity-swap rows the upstream returns for one player, as GET /land/resources/liquidity/swaps/{player} returns them. A real account returned 682 rows spanning all six observed pool ids. The rows carry numeric ids, quantities and pool quantities, string player/token/transaction fields and timestamp strings; this server returns each row unchanged and does not interpret or total the figures. An unknown player returned HTTP 200 with data:[], a different empty shape from the data:null used by the two pool lookup routes. An empty array therefore establishes neither that the account exists nor that it has no swaps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description fully carries behavioral disclosure. It explicitly states that rows are returned unchanged without interpretation or totaling, describes the field types (numeric ids, quantities, strings, timestamps), and documents the distinct empty-array response for unknown players versus data:null in pool lookups. This is exceptional detail for a read-only listing.

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 description is about 100 words, front-loaded with the core purpose and then adding relevant behavioral details (example row count, field types, edge case). It is not verbose, but the inclusion of the example and empty-array nuance is justified for understanding the response. Minor redundancy in explaining the unchanged rows could be trimmed, but overall it is efficient.

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?

The description covers the response shape (field types), the fact that rows are passed through, and the critical empty-array behavior. It does not mention pagination, sorting, or limits, but for a simple list endpoint with one parameter and no output schema, this is largely sufficient. The absence of an output schema is mitigated by the detailed field description.

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?

The schema only defines 'player' as a required string with minLength 1. The description implies the parameter is the player identifier via the endpoint path and the phrase 'for one player', but it does not explicitly explain what constitutes a valid player (e.g., account name format). Since schema coverage is 0%, the description compensates only implicitly, not with explicit semantics.

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 the tool's action: 'List the liquidity-swap rows the upstream returns for one player'. It specifies the resource (liquidity swaps), the scope (for one player), and even references the exact endpoint. This distinguishes it from siblings like land_liquidity_pool_by_id or land_resources_history by focusing on player-specific swap rows.

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 when to use the tool (when you need a player's liquidity swaps) but does not explicitly compare it to alternatives or state when not to use it. It provides no exclusions or routing guidance despite many related sibling tools, leaving the agent to infer applicability.

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