Skip to main content
Glama

GOLDDIGGER $GDIG

Build a claim-rewards transaction

build_claim_rewards_transaction
Read-only

Returns an UNSIGNED base64 transaction claiming accrued GDIG rewards from every active stake position of wallet (positions stay staked).

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": "build_claim_rewards_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesSolana wallet address (base58)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, and the description is consistent: it produces an unsigned transaction rather than mutating state. It adds genuinely useful behavioral context beyond annotations — the output is UNSIGNED base64, the claim covers all active positions at once, and positions remain staked afterward. It stops short of saying what happens with zero positions or what blockhash/fee context the transaction carries.

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?

One sentence, front-loaded with the return type (unsigned base64 transaction) and the scope of the claim. Every clause adds information: reward asset, position coverage, and the non-destructive side effect.

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 one-parameter transaction builder with no output schema, the description covers the essentials: input subject, output encoding and signedness, and the effect on stake positions. Minor gaps remain around downstream signing/submission expectations and edge cases such as a wallet with no active positions.

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% with a single, fully documented base58 wallet parameter, so the schema carries the parameter burden. The description only restates that the wallet is the subject of the claim, adding no format or validation detail beyond the schema, which is the expected baseline here.

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: returns an unsigned base64 transaction that claims accrued GDIG rewards across every active stake position of a named wallet. The scope ('every active stake position', 'positions stay staked') distinguishes it clearly from build_stake_transaction without needing to open either 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 implied by the name and the 'claim rewards' framing, and the parenthetical clarifies that staking positions are unaffected. However, there is no explicit statement of when to prefer this over other build/claim paths, nor any note that the returned transaction still must be signed and submitted by the caller.

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