Skip to main content
Glama

hookr_prepare_add_liquidity

Build ONE unsigned call that adds liquidity to a Hookr pool over a price range (or full range). The quote leg is capped for now. Your wallet signs and pays; nothing is sent here. Liquidity can lose value; not advice.

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

Input Schema

NameRequiredDescriptionDefault
lowerNo
upperNo
poolIdYes
walletYes0x wallet address
fullRangeNo
quoteAmountNo
tokenAmountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose the key behavioral traits: the call is unsigned, nothing is broadcast ('nothing is sent here'), the wallet signs and pays, and the quote leg is currently capped. It stops short of permissions, failure modes, or whether partial fills/caps are enforced on-chain, so it is strong but not complete.

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?

Three short sentences, front-loaded with the action and trust model, with no filler. The closing risk disclaimer ('Liquidity can lose value; not advice') is arguably expendable but is a single short clause, so waste is minimal.

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?

For a 7-parameter transaction-building tool with no annotations and no output schema, the description covers the critical non-custodial model but leaves parameter-level detail and return shape unaddressed. It is adequate to know what the tool is and that it is safe to call, but not sufficient to call it confidently with correct field values.

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

Parameters2/5

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

Schema coverage is only 14% (just the wallet field), so the description must compensate and largely does not. It hints at range vs full-range and vaguely at a quote-leg cap, but never explains the format of lower/upper (prices or ticks), the distinction between tokenAmount and quoteAmount, or how poolId is sourced. Half the parameters remain opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Build ONE unsigned call that adds liquidity to a Hookr pool') plus the scoping dimension ('over a price range (or full range)'). That clearly distinguishes it from siblings like hookr_prepare_remove_liquidity or hookr_prepare_swap without needing to open a schema.

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 only implied by the verb: an agent can infer you call this when you want to add liquidity. There is no explicit when-to-use vs when-not guidance, no mention of prerequisites (e.g. prior approvals or pool state), and no named alternative for related flows such as swap or fill.

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