Skip to main content
Glama

7-day range APR for a pool

pool_get_range_apr
Read-onlyIdempotent

Estimated 7-day fee APR of one listed pool (poolAddress from pools_list, Raydium or Meteora) for each of the 4 range presets the site prices: Micro (±2 price steps), Tight (±0.05%), Standard (±0.3%), Wide (±1%). Per preset: price bounds (B per 1 A), APR %, share of the window's volume that traded inside the range, and fees per day at the site's $1,000 card basis. Also the highest-APR preset, the sample window (up to 7 complete UTC days), data freshness and confidence. Same saved snapshot as the pool cards on https://sofinancelab.xyz/pools. A pool with fewer than 7 complete UTC days is estimated from the days it has (labelled as such). A pool with no complete day, and a missing snapshot, return a status with a reason and no APR. Estimates from past trading, not a promise of future fees. Fees not guaranteed. No wallet or token needed.

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": {
      "poolId": "<poolId>"
    },
    "name": "pool_get_range_apr"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolIdYesPool address (poolAddress from pools_list)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, but the description adds substantial behavior beyond that: it discloses the snapshot source (same as the site's pool cards), the up-to-7-complete-UTC-day window, the degraded estimate for pools with fewer days, the status-with-reason return for missing snapshots, and confidence/freshness fields. Those are non-obvious traits an agent cannot infer from structured fields.

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?

It is front-loaded with purpose and scope, then layers on presets, return fields, and edge cases. It is dense and mostly earns its length, though the trailing disclaimer sequence ('not a promise of future fees. Fees not guaranteed. No wallet or token needed.') is repetitive for a definition.

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 carries the full burden of explaining returns, and it does: per-preset bounds, APR, in-range volume share, fees/day at a $1,000 basis, plus highest-APR preset, window, freshness, and confidence. It also documents degenerate cases, so an agent has everything needed to call and interpret it.

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% and the single parameter already documents 'poolAddress from pools_list'. The description restates the same provenance and adds the Raydium/Meteora constraint but no new format or validation detail, so this is baseline behavior.

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?

Opens with a specific verb and resource: 'Estimated 7-day fee APR of one listed pool ... for each of the 4 range presets'. It names the presets and their bounds, and ties the input to pools_list, so an agent can distinguish it from position_get_range_status or position_get_performance without opening schemas.

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

Usage Guidelines4/5

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

It gives clear context for use (pricing the site's range presets, pool sourced from pools_list, Raydium or Meteora) and states the failure conditions where no APR is returned. It does not explicitly point to a sibling alternative for position-level data, so it stops short of a full when/when-not routing statement.

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