Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getSpotMarginTradeAutoRepayMode

Read-only

Check the current automatic repayment mode for spot margin trading accounts, optionally for a specific currency, and confirm whether auto-repay is enabled.

Instructions

Retrieve the current automatic repayment mode settings for margin trading accounts.

  • Unified account only

  • When currency is not passed, returns settings for all currencies

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.11

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds meaningful behavior beyond that: the unified-account-only restriction and the default behavior when currency is not passed. It does not discuss auth or rate limits, but for a read-only query with annotations, this is sufficient.

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?

Three short, purposeful lines: the primary action in the first sentence, then two bullet-point constraints/behaviors. No filler or repetition, and the most important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read-only tool with no output schema, the description conveys everything needed to select and call it correctly: what it does, the target account type, and the optional parameter behavior. Nothing critical is missing.

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 schema only says 'currency' is a string with no explanation, so coverage is 0%. The description compensates by explaining that omitting currency returns settings for all currencies. It does not detail currency code format, but for a single optional and well-known parameter this is adequate.

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 uses the specific verb 'Retrieve' with a distinct resource: 'automatic repayment mode settings for margin trading accounts.' This clearly sets it apart from other margin-related getters and setters among the sibling tools, even without naming an alternative.

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?

Provides clear operational context: it is restricted to unified accounts and optionally filters by currency, returning all currencies when currency is omitted. It lacks an explicit alternative or when-not-to-use statement, but the context is strong enough to guide correct invocation.

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