Skip to main content
Glama

Hookr

Build claims

hookr_build_claim
Read-onlyIdempotent

Builds the claims a wallet can send now from each pool's core (King of the Pool prizes, royalties, arbitrage recapture shares), one unsigned call per currency, each simulated from the wallet. Name a pool to claim from it alone.

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": {
      "account": "<account>"
    },
    "name": "hookr_build_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolIdNoThe pool's 32-byte Uniswap v4 PoolId, 0x and 64 hex characters.
accountYesThe wallet that claims and is paid.

Output Schema

NameRequiredDescriptionDefault
callsYesUnsigned calls, in the order to send them.
reasonNoWhy the answer is not ok, in words an agent can act on.
statusYesok, unchecked when a claim's simulation did not answer (try again), or refused with the reason when the release holds claims.
unreadNo
accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world. The description adds real behavior beyond them: it returns unsigned calls only (nothing is broadcast), it produces one call per currency, and each call is simulated from the wallet. This materially informs how the agent should treat the result.

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 dense sentence that front-loads the verb and packs the claim sources, output granularity, and simulation note without filler. Slightly overloaded parenthetical, but every clause carries information.

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?

An output schema exists, so return-value detail is unnecessary; the description still covers the key behavioral facts (unsigned, per-currency, simulated, pool-scoped). Adequate for a two-parameter read-only builder, though the lack of sibling disambiguation is the remaining gap.

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%, so both account and poolId are already documented with patterns. The description adds only that naming a pool restricts the build to that pool alone, which is marginal value over the schema's existing description of poolId.

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?

States a specific verb and resource ('Builds the claims') and enumerates the claim sources (King of the Pool prizes, royalties, arbitrage recapture shares), plus the output shape (one unsigned call per currency). It does not differentiate from close siblings such as hookr_build_revenue_claim or hookr_claims, so the agent must infer which builder to use.

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?

'Claims a wallet can send now' implies the use case (preparing claimable transactions), and 'Name a pool to claim from it alone' implies optional scoping via poolId. There is no explicit when-not guidance and no named alternative for revenue-specific or aggregate claims, so routing among the claim tools is left to inference.

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