Skip to main content
Glama

Rank a manager's pools by what they are paying

rank_pools
Read-only

Fee APR over the last 24 hours for each pool this manager is configured with, best first — the Uniswap gateway's figure, or the subgraph's last complete day for a pool the gateway does not list (aprSource). Only the manager's own pools are candidates: a move can target a pool only if the owner fixed it into the set when the manager was created. Pools that could not be scored are listed separately with the reason — a pool missing from the ranking is not a bad pool.

Input Schema

NameRequiredDescriptionDefault
chainIdYesEVM chain id, e.g. 42161 for Arbitrum One
managerYesManager NFT contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the data source and fallback behavior (`aprSource`: Uniswap gateway vs. subgraph's last complete day). It also explains how unscored pools are handled and warns that absence from the ranking does not imply a bad pool.

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 front-loaded with the metric and ranking order, and each sentence contributes useful context. It is slightly dense but not padded, and the caveats about candidate pools and unscored pools earn their place.

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?

With no output schema, the description still explains the return shape conceptually: ranked pools by Fee APR, best first, plus separately listed unscored pools with reasons. Given the readOnly annotations and fully covered parameters, it provides enough context to call and interpret the tool 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 both parameters are already documented in the schema. The description reinforces that the manager scopes the candidate pool set, but does not add format or syntactic detail beyond the schema.

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 names a specific verb and resource — ranking a manager's configured pools — and states the ranking metric: Fee APR over the last 24 hours, best first. It is clearly distinguishable from siblings like get_position_history, list_operators, and suggest_move.

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?

It gives an important usage constraint: only pools fixed into the manager's set at creation are candidates for a move. However, it does not explicitly say when to use this tool instead of siblings such as suggest_move, nor does it name when-not-to-use conditions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources