Skip to main content
Glama
aibtcdev
by aibtcdev

pillar_unwind

Close or reduce a leveraged sBTC position by repaying borrowed sBTC and withdrawing collateral back to your wallet.

Instructions

Close or reduce your leveraged sBTC position. Opens a modal to repay borrowed sBTC and withdraw collateral back to your wallet.

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

Input Schema

NameRequiredDescriptionDefault
percentageNoPercentage of position to unwind (1-100, optional, can be set in UI)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.77.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose genuinely useful behavior — that a modal opens and that borrowed sBTC is repaid while collateral returns to the wallet. It omits prerequisites (must a position exist? must the wallet be unlocked?), what happens at 100% versus partial unwind, and whether the action is confirmable/cancellable.

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 core action is front-loaded in the first sentence, followed by the mechanism. The trailing promotional tip is short but is the least essential sentence in the block.

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?

For a position-closing operation with no annotations and no output schema, the description covers what happens but not the operational context an agent needs: prerequisites, risk of an unrecoverable state, or expected result. Adequate but with clear gaps.

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 description coverage is 100% for the single optional `percentage` param, so the schema already defines the 1-100 range. The description only hints at the parameter via 'reduce' and adds no semantics about defaults or how a partial unwind behaves. Baseline 3 applies.

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?

Names a specific verb and resource: 'Close or reduce your leveraged sBTC position,' and adds the mechanism (repay borrowed sBTC, withdraw collateral). It does not, however, distinguish itself from the closely-named sibling `pillar_direct_unwind`, so an agent has no textual basis for choosing between the two.

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 resource itself — you call it to exit a leveraged sBTC position. There is no explicit when-not guidance and no mention of the near-duplicate `pillar_direct_unwind` alternative. The `earning_opportunities` tip is a follow-on suggestion, not a usage-selection rule.

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