Skip to main content
Glama

Hookr

Pool trades

hookr_trades
Read-onlyIdempotent

One listed pool's trades, newest first and 25 a page, as its Trades tab reads them: block, time, transaction, wallet, buy or sell and both amounts in raw units, with arbitrage recapture legs marked, and a nextCursor to pass back as cursor for the next older page, down to the pool's first trade (null when nothing older exists).

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_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNonextCursor from the previous page.
poolIdYesA listed pool's PoolId, from hookr_pools.

Output Schema

NameRequiredDescriptionDefault
moreNoOlder chain exists below scannedFromBlock that this page did not scan.
pageNoIts page on hookr.fun.
quoteNo
tokenNo
poolIdYesThe pool's 32-byte Uniswap v4 PoolId.
tradesYesNewest first.
completeNofalse when a window of the scan did not answer.
nextCursorNoPass back as cursor for the next older page; null when the pool has no older trade.
blockNumberNo
scannedFromBlockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, openWorld), the description discloses ordering (newest first), page size (25), pagination direction and exhaustion behavior (null when nothing older exists), the unit convention (raw amounts), and that arbitrage recapture legs are flagged — exactly the behavioral context an agent cannot get from the annotations.

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?

Information density is high with no filler, and the key facts (one pool, newest first, 25/page) are front-loaded. Structurally it is a single long run-on sentence with stacked clauses, which slightly hurts scanability.

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?

Even though an output schema exists and return fields need not be described, the definition still covers poolId provenance, page size, ordering, cursor chaining, and end-of-data behavior — nothing an agent needs to page through a pool's history is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description still adds meaning by defining cursor as the nextCursor for the next older page and by clarifying the termination case, which tells the agent how to drive the loop rather than just what to submit.

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 resource and scope: trades of exactly one listed pool, ordered newest first at 25 per page. It does not name a sibling to contrast with (e.g. hookr_check_trade or hookr_pool), but the 'one listed pool' scoping plus the field list makes the operation unambiguous.

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?

Usage is implied rather than stated: the agent learns it needs a poolId from hookr_pools (via schema) and that the cursor chains pages, but there is no explicit when-to-use versus when-not guidance or mention of an alternative tool for a different view (chart, depth, or an aggregate).

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