Skip to main content
Glama
aibtcdev
by aibtcdev

jingswap_close_deposits

Closes the Jingswap auction deposit phase and advances the cycle to the buffer phase once the deposit window and minimum requirements are met.

Instructions

Close the deposit phase of the current Jingswap auction cycle. Before calling, check jingswap_get_cycle_state to verify: phase is 0 (deposit), blocksElapsed >= 150 (DEPOSIT_MIN_BLOCKS), and both sides meet minimums. Anyone can call this. Transitions to buffer phase.

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

Input Schema

NameRequiredDescriptionDefault
marketNoMarket: "sbtc-stx" (default) or "sbtc-usdcx"

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?

Because no annotations are provided, the description carries the behavioral burden and does well by disclosing that anyone can call it, the required cycle preconditions, and the transition to buffer phase. It does not state what happens if preconditions are unmet or whether the transition is irreversible, which are meaningful gaps for a state-changing operation.

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 definition is short and front-loads the action and preconditions before the state transition. The appended tip about earning_opportunities is somewhat tangential to invoking this tool and slightly dilutes focus, but overall it remains efficient.

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?

Given the lack of annotations and output schema, the description supplies the most important context: the precondition checks, caller permissions, and resulting phase transition. It is nearly complete, though it could say more about failure behavior or what happens after the buffer phase begins.

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?

There is one optional parameter and the schema description coverage is 100%, so the schema already explains the market values and default. The description does not add any parameter-level meaning beyond the schema, which matches the baseline of 3 when schema coverage is complete.

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 states a specific verb and resource: closing the deposit phase of the current Jingswap auction cycle. It also names the resulting state transition to the buffer phase. This clearly distinguishes it from sibling tools such as jingswap_get_cycle_state, jingswap_deposit_stx, and jingswap_settle.

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

Usage Guidelines5/5

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

It gives explicit preconditions before calling: check jingswap_get_cycle_state, verify phase is 0, blocksElapsed >= 150, and both sides meet minimums. It also states that anyone can call it and that the call transitions to buffer phase, leaving little ambiguity about when to use it.

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