Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getSpotMarginTradeState

Read-only

Query the spot margin status and leverage of your Bybit unified account to determine available margin conditions.

Instructions

Query the Spot margin status and leverage of the unified account.

  • Unified account only

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.11

TDQS

A4.3/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe query, and the description adds the useful eligibility constraint 'Unified account only'. However, it does not add further behavioral context such as return format or any account precondition details beyond what annotations and the simple query phrasing imply.

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 two short lines with no wasted words. The main action is front-loaded and the account restriction is presented as a clear, separate condition.

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 parameterless read-only query, the description is complete: it states what is queried, the account scope, and the fact that it is a query. No output schema exists, but the description's 'status and leverage' conveys the expected return content well enough for selection and invocation.

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 has zero parameters and the input schema is empty, so there are no parameter semantics to clarify. The description correctly makes no parameter claims, satisfying the baseline for a no-parameter tool.

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 ('Query') and resource ('Spot margin status and leverage of the unified account'), making the operation clear. The added line 'Unified account only' further distinguishes it from per-coin or non-unified-account variants among the siblings.

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?

The description explicitly restricts usage to the unified account, giving a clear when-to-use constraint. It does not name alternative tools, but the restriction is enough to prevent misuse in the common non-unified case.

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