Skip to main content
Glama

get_underwater_refunds

Read-only

Underwater refunds an address has earned: v3 coins whose vault funds an Underwater pot refund holders who are under water, hourly, up to break-even, in the pair token. The total under the Underwater distributor's live root, what the address already claimed, and UNSIGNED claim transactions for the rest (send them from that address). Amounts are human units; claimableRaw is smallest units.

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": {
      "address": "<address>"
    },
    "name": "get_underwater_refunds"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesThe wallet to check

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / address / description
      Added value: +"The wallet to check"
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false, but the description adds meaningful context: values are computed under the distributor's live merkle root, already-claimed amounts are subtracted, and unsigned claim transactions are returned for the remainder. It also discloses units (human units vs claimableRaw in smallest units), which is essential to interpreting results correctly. Nothing contradicts the read-only annotation, since the tool returns rather than submits transactions.

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 and no sentence is wasted, but the first sentence is a dense clause chain ("v3 coins whose vault funds an Underwater pot refund holders who are under water, hourly, up to break-even, in the pair token") that takes effort to parse. It could be split without losing 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?

With no output schema, the description carries the burden of explaining returns, and it does so reasonably: total claimable under the live root, amount already claimed, and unsigned claim transactions, plus the unit convention. It stops short of naming the response fields other than claimableRaw, leaving some guesswork about the payload shape.

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 the single parameter is self-explanatory, so the baseline applies. The description adds a modest nuance by tying the address to the sender of the returned claim transactions, but it does not clarify address format or chain scoping.

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 names a specific resource (Underwater refunds for an address) and explains the mechanism: v3 coins whose vault funds a pot that refunds underwater holders hourly up to break-even in the pair token. It is distinguishable from reward-style siblings, though the dense jargon makes the exact scope slower to grasp than a plain verb+object statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this versus related tools such as get_holder_rewards or get_coin_earnings, and no exclusions. The only actionable guidance is post-call ("send them from that address"), which tells the agent what to do with the result rather than when to choose this tool.

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