Skip to main content
Glama

List liquidity

list_liquidity
Read-only

Lists supported trading pairs and how each settles, with an optional asset filter, so you can confirm available routes before requesting a quote.

Instructions

List the trading pairs this kit supports and how each one settles. Read-only and offline: a fixed list with no prices or balances; use get_quote for a live price and wallet_info for balances. Today there is one pair, USDC on Base to BSV, settled by an on-chain atomic swap with the counterparty; PetaSats never holds funds. Returns pairs (each with pair, route and note), count, non_custodial and settlement.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_liquidity"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetNoOptional exact symbol, such as "USDC" or "BSV"; returns only the pairs that include it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.22
    • changedInput schema / properties / asset / description
      Previous value: -"Optional filter: only pairs involving this asset (USDC or BSV (phase 1 supports USDC → BSV only))."New value: +"Optional exact symbol, such as \"USDC\" or \"BSV\"; returns only the pairs that include it."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds genuinely new context — that the operation is offline, that PetaSats never holds funds, and that settlement is by an on-chain atomic swap with the counterparty. It also previews return fields (pair, route, note, count, non_custodial, settlement), which matters since no output schema exists. Minor gap: it does not discuss pagination or what happens when the list grows beyond one pair.

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?

Front-loaded with the core purpose, then scope limits, then the concrete example of the single supported pair, then the return shape. Four sentences, each carrying information, though the trailing field enumeration is slightly list-like and could be tightened.

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?

For a one-parameter read tool with no output schema, the description covers purpose, exclusions, alternatives, the current concrete data (USDC on Base to BSV), custody model, and return fields. An agent has everything it needs to call it 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 description coverage is 100%, so the single optional 'asset' filter is already fully documented in the schema and the baseline is 3. The description never mentions the asset filter, so it adds no meaning beyond the schema for parameter usage.

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 ('List the trading pairs this kit supports and how each one settles') and immediately bounds the scope: fixed list, no prices, no balances. An agent can distinguish it from get_quote and wallet_info without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to alternatives: 'use get_quote for a live price and wallet_info for balances.' Both the when-to-use and the when-not-to-use conditions are named, leaving nothing to inference.

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