Skip to main content
Glama

get_pool

Retrieve detailed on-chain data for a Tinyman v2 pool by asset pair, including reserves, fees, LP supply, and pool status for analysis or trading decisions.

Instructions

Get detailed on-chain info for a Tinyman v2 pool by asset pair. Returns reserves, fees, LP supply, and pool status.

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": {
      "asset1Id": "<asset1Id>",
      "asset2Id": "<asset2Id>"
    },
    "name": "get_pool"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset1IdYesFirst asset ID (use 0 for ALGO)
asset2IdYesSecond asset ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it does disclose the data returned (reserves, fees, LP supply, pool status) and that the lookup is on-chain, which implies a read. However, it never states read-only safety, what happens when the pair has no pool, or whether an uninitialized pool returns an error versus empty status — meaningful gaps for a lookup tool.

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?

Two sentences, zero filler, with the identification method ('by asset pair') front-loaded before the payload listing. Nothing could be removed without losing information.

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 simple two-parameter read with no output schema, the description compensates well by enumerating the return fields. The remaining gap is failure behavior for nonexistent or uninitialized pools, which is minor but not covered elsewhere.

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%, including the notable 'use 0 for ALGO' convention for asset1Id, so the schema already does the heavy lifting. The description adds only the framing that the two IDs form a pair, which is marginal but not misleading; baseline 3 applies.

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?

States a specific verb and resource ('Get detailed on-chain info for a Tinyman v2 pool') and scopes it by asset pair, which is enough to separate it from the list-style siblings. It stops short of naming how it differs from get_pool_analytics, so the differentiation is only partial.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use or when-not-to-use guidance and never references an alternative such as get_pools or get_pool_analytics. The only usage signal is implicit in 'by asset pair', leaving the agent to infer selection criteria from sibling names alone.

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