Skip to main content
Glama

Hookr

Pool yield

hookr_pool_yield
Read-onlyIdempotent

One listed pool's LP yield: its fee APR and what its LPs earned over 24 hours, 7 days and 30 days from swap fees, LP rewards and arbitrage recapture, each part unavailable with its reason rather than zero.

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": "hookr_pool_yield"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolIdYesA listed pool's PoolId, from hookr_pools.

Output Schema

NameRequiredDescriptionDefault
aprYesThe fee APR: aprPercent, or unavailable with its reason.
pageNoIts page on hookr.fun.
incomeYesWhat LPs earned over 24h, 7d and 30d, by part, in raw units.
poolIdYesThe pool's 32-byte Uniswap v4 PoolId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description does add one genuinely useful behavioral trait beyond them: unavailable yield components are reported with a reason rather than as zero, which prevents an agent from misreading missing data. It says nothing about rate limits or freshness beyond the fixed windows.

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 front-loaded sentence that opens with the core noun phrase and then packs the breakdown and the null-handling rule efficiently. It is dense but free of filler; splitting the null-handling clause out would improve scanability marginally.

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?

With one required parameter, full schema coverage, an output schema, and complete annotations, the definition needs little more. It covers what the yield figures are made of and how unavailable parts are surfaced, leaving only minor gaps such as the reporting window or update cadence.

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 poolId parameter is fully documented in the schema, including its pattern and its provenance from hookr_pools. The description only reinforces the singular "one listed pool" framing without adding format or sourcing detail beyond that.

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?

The description names a specific resource and scope: "One listed pool's LP yield," then enumerates the contents (fee APR plus 24h/7d/30d LP earnings from swap fees, LP rewards, arbitrage recapture). An agent can tell this is a single-pool yield/performance lookup rather than a general pool info or chart tool, though it never names a sibling explicitly.

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?

There is no explicit when-to-use or when-not-to-use guidance and no stated alternatives. The only signal is the word "One," implying single-pool scope rather than an aggregate or list, which the agent must infer.

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