Skip to main content
Glama

Take a win's SOL instead

claim_sol
Destructive

Takes a won prize's SOL instead of the prize now, as the prizes page does, through the site's own route for that kind of prize: its share of the prize's worth (my_wins solOffer: 75% for a skin or a case, 66% for most others, 60% for a store's piece), or an xStocks prize's full worth. Paid to your wallet within minutes. Final: the prize can't be claimed after. Only while the win waits for you and only where the site offers it; hold to claim applies (your wallet must still hold 90% of the coins that counted for the win). Answers { ok } (and bps, the share). Takes the token from sign_in (sign_in_challenge with your wallet's address, sign its message with the wallet, sign_in), as token or as the request's Authorization: Bearer header. Refused with "Wins through the API are not open yet." only if Souvenir pauses launching through the API, which wins follow.

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": {
      "mint": "<mint>",
      "round": "<round>"
    },
    "name": "claim_sol"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintYesThe coin the prize was won on (a win's mint in my_wins).
roundYesThe round it was won in (a win's number in my_wins).
tokenNoThe token sign_in gave. Not needed when the request sends it as Authorization: Bearer <token>.
countryNoWhere you are, optional (a physical item: it shows Souvenir where to ship next).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations declare a destructive, non-idempotent, open-world write; the description goes well beyond them by quantifying the payout (75% skin/case, 66% most others, 60% store pieces, full worth for xStocks), saying funds arrive in minutes, and warning that the claim is final and the prize can no longer be claimed. It also discloses the auth flow and the exact refusal text. No behavior contradicts the annotations.

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?

Dense and front-loaded with the core action, but written as one long run-on with parenthetical asides and compressed jargon ("its share of the prize's worth (my_wins solOffer: 75% ...)"). Nearly every clause carries information, yet restructuring into discrete sentences on effect, payout, preconditions, auth, and errors would make it far easier to parse.

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 four-parameter mutation with no output schema, the description covers the payout math, the irreversibility, the hold-to-claim prerequisite, the auth path, the return shape ({ ok }, bps), and the sole refusal case. Remaining gaps are minor — e.g., what a partial or failed payout looks like — and it never explains when a caller should prefer award_prize over this conversion.

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%, so mint, round, token, and country are already documented in the schema. The description adds framing for token (obtained via sign_in_challenge → sign_in, or sent as Authorization: Bearer) but says nothing new about mint/round/country beyond what the schema states, so this sits at the baseline.

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?

"Takes a won prize's SOL instead of the prize now" states a specific verb (claim) and resource (a won prize's SOL offer) and pins the scope to one judged win. It is distinguishable from my_wins (listing wins) and award_prize (taking the physical/skin prize), though the sibling that gets the prize itself is never named, so the contrast is implied rather than explicit.

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

Usage Guidelines4/5

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

Gives concrete preconditions: only while the win waits for you, only where the site offers it, and the hold-to-claim gate (wallet must still hold 90% of the coins that counted). It also states the one refusal condition. It stops short of telling the agent explicitly to use award_prize instead when the user wants the item, so the alternative path is left to inference.

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