Skip to main content
Glama

build_claim_race_winnings_transaction

Claim winnings from a resolved race market by constructing an unsigned Solana transaction. Provide race market, position, and user wallet to generate the claim transaction.

Instructions

[REQUIRES BAOZI_LIVE=1] Build unsigned transaction to claim winnings from a resolved race market.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionYesRace position PDA
race_marketYesRace market public key
user_walletYesUser wallet
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses a key behavioral trait: the transaction is unsigned, implying no submission or state change. It also mentions the environmental requirement. However, it does not elaborate on side effects, error conditions, or what happens if the market is not resolved or winnings already claimed, leaving gaps.

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 a single, front-loaded sentence with no wasted words. It conveys the essential requirement and purpose immediately, making it highly efficient.

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?

The tool has no output schema and no annotations, so the description should indicate what the tool returns. It only says 'Build unsigned transaction', which implies the output is a transaction but does not specify format or serialization. The prerequisite flag adds context, but the lack of return-value information and edge-case guidance makes it only partially complete.

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 covers 100% of the parameters with descriptions, so the baseline is 3. The description adds no additional meaning beyond what the schema provides; it does not explain how 'race_market', 'position', and 'user_wallet' interact or any formats beyond the schema entries.

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 clearly states the tool builds an unsigned transaction to claim winnings from a resolved race market, using a specific verb and resource. It distinguishes itself from sibling tools like build_claim_winnings_transaction (non-race) by specifying 'race market'.

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?

The description provides clear context for when to use this tool: for claiming winnings from a resolved race market. It also includes a prerequisite flag [REQUIRES BAOZI_LIVE=1], which is a usage condition. However, it does not explicitly mention alternatives or when not to use it, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bolivian-peru/baozi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server