Skip to main content
Glama

Hookr

Build a revenue token claim

hookr_build_revenue_claim
Read-onlyIdempotent

Builds the unsigned calls that claim a wallet's income on a revenue token, one per asset or one for every asset, and one for its drops; each call the contract would take now is simulated from the wallet, and any other says why not. Pass sync to put the token's sync first: the claims are what the wallet could claim before it.

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

Input Schema

NameRequiredDescriptionDefault
syncNoPut the token's sync first (default false). Anyone may send it.
tokenYesThe revenue token's address.
accountYesThe wallet that claims and is paid.

Output Schema

NameRequiredDescriptionDefault
callsYesUnsigned calls, in the order to send them.
tokenNo
reasonNoWhy the answer is not ok, in words an agent can act on.
statusYesok, refused or unknown.
unreadNo
accountNo
tokenizerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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, so the safety bar is low; the description still adds real behavior: the calls are unsigned (not executed), each call is simulated against the wallet, and non-viable calls return a reason. It also discloses the ordering effect of sync. It does not say whether simulation can fail wholesale or how the per-asset vs all-asset choice is made, which is why it stops short of 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the first sentence is a dense run-on ('one per asset or one for every asset, and one for its drops') and the trailing clause 'the claims are what the wallet could claim before it' is genuinely hard to parse. It is compact but not clean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 values need no explanation, and the simulation/failure-reason behavior is covered. However, the description introduces an 'one per asset or one for every asset' distinction that no parameter controls, leaving the agent unsure what determines which mode it gets.

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 all three parameters are documented in the schema, so the baseline is 3. The description only elaborates on sync ('the claims are what the wallet could claim before it'), which is a marginal restatement of the schema's 'Put the token's sync first' rather than new syntax or format detail.

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 ('builds') and resource ('unsigned calls that claim a wallet's income on a revenue token') and scopes it with 'one per asset or one for every asset, and one for its drops'. That is more specific than the generic sibling hookr_build_claim, but the description never names a sibling, so the agent must infer the split from the resource phrasing alone.

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?

The only conditional guidance is for the sync flag ('Pass sync to put the token's sync first'), which is a parameter hint rather than a when-to-use rule. Nothing tells the agent when to pick this over hookr_build_claim or hookr_claims, so routing is left implicit.

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