Skip to main content
Glama

build_batch_claim_transaction

Combine multiple claims into one transaction to claim winnings or refunds for multiple prediction market positions simultaneously.

Instructions

[REQUIRES BAOZI_LIVE=1] Build single transaction to claim multiple positions at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimsYesArray of claims to batch
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 is the sole source of behavioral context. It discloses a required feature flag (BAOZI_LIVE=1) and the batching behavior, but it does not state whether the tool submits the transaction or only builds/serializes it, nor does it mention any side effects. It's adequate but lacks depth.

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 a clear prerequisite tag. Every word earns its place, and there is no redundancy or filler.

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 builder tool with two well-documented parameters, the description gives the core purpose and a usage prerequisite. It doesn't describe the return value or execution semantics, but given the sibling tool family and the simple parameters, the description is reasonably complete for selection and initial understanding.

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 provides 100% coverage of both parameters, so the description does not need to explain them. The description adds little beyond the schema; it reinforces that the tool batches claims, but it doesn't elaborate on the structure of the claims array or the wallet parameter.

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's function: building a single transaction to claim multiple positions at once. The verb 'build' plus resource 'transaction' and the batch action distinguish it from sibling single-claim transaction builders.

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?

It explicitly specifies the use case: claiming multiple positions at once in a single transaction. While it doesn't name alternatives, the contrast with sibling tools like build_claim_winnings_transaction and build_claim_refund_transaction implies when this batch tool is appropriate.

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