Skip to main content
Glama

hookr_prepare_collect_fees

Build ONE unsigned call that collects the uncollected LP fees of one of your Hookr positions (principal stays). Name tokenId or poolId. Nothing is sent here.

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": {
      "wallet": "<wallet>"
    },
    "name": "hookr_prepare_collect_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolIdNo
walletYes
tokenIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the load and does disclose key traits: the call is unsigned, nothing is transmitted, and principal is untouched (non-destructive to position). It does not say who must sign the result, whether any approval is required first, or what the returned call contains, which leaves real behavioral gaps for a transaction-building tool.

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

Conciseness5/5

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

Three short sentences, front-loaded with the action and resource, then the selection rule, then the safety note. No filler and nothing important buried at the end.

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?

For a prepare-style tool with no annotations and no output schema, the description covers what is built, that nothing is broadcast, and how to identify the position. The main omissions are the meaning of the required wallet parameter and a note on what the agent should do with the returned unsigned call.

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 description coverage is 0%, so the description must compensate. It adds meaningful semantics for tokenId/poolId by presenting them as an either/or selector for the position, which the schema does not convey. The required 'wallet' parameter is never explained (presumably the position owner/signer), leaving one of three parameters undocumented.

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 gives a specific verb and resource: 'Build ONE unsigned call that collects the uncollected LP fees of one of your Hookr positions'. The parenthetical '(principal stays)' usefully separates it from a full withdrawal, though it never names the close siblings hookr_prepare_claim or hookr_prepare_remove_liquidity, so the agent must infer the boundary.

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: 'Build ONE unsigned call' plus 'Nothing is sent here' tells the agent this is the construct-then-sign step, but there is no explicit when-to-use or when-not-to-use versus hookr_prepare_claim or hookr_prepare_remove_liquidity. The only directive is 'Name tokenId or poolId'.

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