Skip to main content
Glama
aibtcdev
by aibtcdev

atstake_redeem

Redeem a resolved at-stake position after market resolution: winning shares pay 1 sat each, losing shares pay nothing, and the entire position is burned in one call; requires an unlocked wallet.

Instructions

Cash a resolved position: the winning side pays 1 sat per share, the losing side pays nothing, and BOTH are burned.

Only callable after the market resolves. Redeeming burns the whole position in one call, so there is nothing left to redeem a second time.

Requires an unlocked wallet.

Tip: call earning_opportunities to see how to put your assets to work.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.77.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the payout rule, that BOTH sides are burned, that the burn is total and one-shot, and that an unlocked wallet is required. It doesn't cover failure modes such as redeeming an already-burned position or fee costs, so it stops short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The payout mechanics and preconditions are front-loaded and each sentence carries real information, including the useful idempotency warning. The trailing 'Tip: call earning_opportunities' is cross-promotional and does not help an agent decide how to invoke this tool, which costs it the top score.

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 zero-parameter mutation tool with no annotations and no output schema, the description supplies what matters: what the call does economically, when it is legal, what state it destroys, and the wallet prerequisite. Only fee/error behavior is left underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description adds nothing parameter-related, which is appropriate here since nothing exists to document.

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 names a specific verb ('Cash a resolved position') and resource, then defines the exact payoff mechanics: winning side 1 sat per share, losing side zero, both burned. This separates it clearly from sibling tools like atstake_merge_complete_set and atstake_position.

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 states the hard precondition ('Only callable after the market resolves') and warns that a second call is pointless because the position is fully burned. It falls short of naming an alternative path for unresolved markets (e.g., merge or transfer a complete set), which would have made it a 5.

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

Deploy Server

Other Tools