Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

setAutoRepayMode

Toggle automatic repayment for spot loans, globally or per currency. When on, repayments run at 0 and 30 minutes each hour using available spot balance.

Instructions

Set spot automatic repayment mode.

When enabled (autoRepayMode: "1"), the system will automatically make repayments without asset conversion to that currency at 0 and 30 minutes every hour. The repayment amount equals the minimum of available spot balance and current liability for that currency.

  • If currency is omitted, auto-repay is enabled/disabled for all currencies.

  • If currency is specified, auto-repay is set only for that currency.

Service: bizasset-uta-loan-prod

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNo
autoRepayModeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.11

TDQS

A4.5/5.0
Behavior5/5

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

Beyond annotations, it discloses the actual runtime behavior: automatic repayments at :00 and :30 every hour, no asset conversion, repayment amount formula based on min(available spot balance, current liability), and global vs per-currency scope. This gives an agent a concrete model of side effects.

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 well structured: a one-line purpose, a concise behavior paragraph, and bullet points for parameter scoping. It front-loads the core action and includes only useful operational details; no 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 2-parameter config setter with no output schema, the description covers purpose, scheduling, amount determination, and parameter scoping. It could additionally state the response/success semantics or required permissions, but nothing critical is missing for correct invocation.

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

Parameters5/5

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

Schema coverage is 0%, but the description compensates fully: it explains autoRepayMode='1' enables auto-repay (and '0'/disabled is implied), and it details exactly how currency omission vs specification changes behavior. Both parameters gain meaning beyond the bare schema.

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?

Description opens with 'Set spot automatic repayment mode,' naming a specific verb and resource and making clear this is a configuration write, not a manual repay/read action. It further clarifies scope (all currencies vs one), distinguishing it from related loan/repay siblings.

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?

The description implies when to use it: enable/disable automatic spot repayment by toggling autoRepayMode. It gives clear conditions for currency omission vs specification, but it never names alternatives such as accountRepay, accountNoConvertRepay, quickRepayment, or getSpotMarginTradeAutoRepayMode, so an agent must infer tool selection.

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