Skip to main content
Glama

Prepare a rewards claim (V4)

prepare_claim_rewards
Read-only

v4 only. Build an unsigned transaction to claim a wallet's V4 rewards. If 'ids' is omitted, claims everything currently claimable. Non-custodial. There is no v3 equivalent because a v3 claim needs no second call: get_user_rewards already returns the transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoOptional reward ids (from get_user_rewards). Omit to claim all claimable.
userYesWallet address (0x, 40 hex).
chainIdNoChain id to claim on. Required unless 'ids' is omitted, in which case the chain is discovered from the wallet's claimable rewards.
versionNoOptional, and only 'v4': this tool exists on v4 only.

TDQS

A4.5/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the readOnlyHint annotation by stating that the tool builds an unsigned, non-custodial transaction rather than submitting one. It also discloses the default 'claims everything currently claimable' behavior when ids is omitted. This is useful context that the annotations alone do not convey.

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?

The description is concise and well-structured: it front-loads the v4 constraint, then states the output, the default behavior, the non-custodial nature, and the v3 alternative in just a few short sentences. Every sentence earns its place.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For the complexity of this tool, the description is complete: it covers scope, output type, custody model, default behavior when ids is omitted, and the relationship to get_user_rewards. The schema handles the parameter details, and the annotations cover safety, so no critical information is missing.

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?

The input schema already provides 100% description coverage for all parameters, including the conditional chainId behavior and the ids opt-out. The description mostly restates the ids behavior without adding substantial new parameter-level meaning, so the baseline score of 3 is appropriate.

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?

The description opens with 'v4 only' and states a specific action: 'Build an unsigned transaction to claim a wallet's V4 rewards.' It clearly identifies the resource and output type, and it distinguishes itself from a v3 claim by explicitly saying there is no v3 equivalent and naming get_user_rewards as the tool that returns the v3 transaction.

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

Usage Guidelines5/5

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

The description gives explicit routing guidance: use this for v4 reward claims, while v3 claims require no second call because get_user_rewards already returns the transaction. It also clarifies the ids omission behavior, helping an agent decide between claiming everything vs. specific reward ids.

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.

TDQS

A4.1/5.0
Disambiguation4/5

The tool set is organized into clear read/prepare/action families, and cross-references like get_user_positions vs get_user_summary or get_markets vs get_reserve_details keep purposes distinct. A couple of generic names—prepare_action vs prepare_order, preview_action vs prepare_action—could cause misselection, but the descriptions explicitly separate them.

Naming Consistency4/5

Names overwhelmingly follow a verb_noun snake_case pattern: get_* for reads, prepare_* for transaction builders, plus cancel_order and submit_signed_order. The pattern is consistent overall, though a few generic exceptions like get_started, get_aave_guide, and preview_action break the strict resource-noun convention.

Tool Count2/5

With 40 tools, the set is well past the 25+ threshold and feels heavy even though the domain is broad. Most tools are distinct and justified, but an agent must navigate a very large list, and the server could reasonably be split into protocol, governance, and swap/order surfaces.

Completeness4/5

The surface covers v3/v4 reads, positions, health factors, simulations, transaction building, collateral, eMode, liquidation, rewards, sGHO, swaps/orders, and governance proposal reads, with clear sequencing between preview, prepare, and submit. Minor gaps exist—governance has no voting transaction and stkGHO balance/cooldown state is not readable—but they do not block the core Aave workflows.

Resources