Skip to main content
Glama

compare_pools

Compare multiple Humble Swap liquidity pools side by side to evaluate liquidity, volume, and fees before making trading or liquidity decisions.

Instructions

Compare multiple pools side by side (liquidity, volume, fees, etc.).

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": {
      "poolIds": "<poolIds>"
    },
    "name": "compare_pools"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolIdsYesArray of pool application IDs to compare

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose which metrics are compared (liquidity, volume, fees) and that the comparison is side-by-side. It omits whether the call is read-only, any cap on the number of pools, and how results are returned, so meaningful gaps remain for an annotation-free tool.

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?

A single short sentence with the key information front-loaded and no wasted clauses. The trailing "etc." slightly weakens precision by leaving the metric set open-ended.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read tool with no output schema, the description is adequate to enable a correct invocation. It is thin on what the comparison response contains and on any input limits, which an agent would want given there is no output schema to inspect.

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 coverage is 100% with a single well-documented poolIds array, so baseline is 3. The description only adds that the pools are compared side by side, adding little meaning beyond the schema's "Array of pool application IDs to compare."

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?

Names a specific verb (compare) and resource (pools) plus the comparison dimensions (liquidity, volume, fees). It reads as a multi-pool analytics call, which distinguishes it from single-pool siblings like get_pool or get_pool_details, though it never names those alternatives explicitly.

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 phrase "multiple pools side by side" implies the use case (batch comparison rather than single-pool lookup), and the schema's minItems=2 reinforces it. However, there is no explicit when-to-use or when-not-to-use guidance and no routing to alternatives such as get_pool_stats or get_pool_analytics.

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