Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

setHedgingMode

Enable or disable spot hedging mode for portfolio margin accounts. Adjust position management to include spot hedging according to your trading strategy.

Instructions

Enable or disable PM include spot hedging mode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
setHedgingModeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.11

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already indicate this is a mutating, non-destructive operation. The description adds the specific target of that mutation, which is useful, but it does not disclose side effects, prerequisites, persistence, or the expected response. It provides some value beyond annotations but not rich behavioral context.

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 a single sentence with the verb and object front-loaded and no filler. Every word contributes to understanding the tool's purpose.

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 single-parameter toggle, the description is minimally viable, especially with the enum schema. However, it omits when to use the tool, what the mode change affects, and any operational caveats, so it is not fully self-contained.

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 0%, so the description must carry parameter meaning. 'Enable or disable' maps directly to the ON/OFF enum, which helps the agent understand how to set the parameter. However, it adds no deeper detail about what ON vs OFF actually changes or the default behavior.

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?

The description states a clear action ('Enable or disable') and a specific resource ('PM include spot hedging mode'), so an agent can tell what operation is invoked. It does not explicitly distinguish itself from sibling mode-setting tools like setMarginMode or switchPositionMode, which keeps it from a 5.

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

Usage Guidelines2/5

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

There is no guidance about when to use this tool versus alternatives such as setMarginMode, setMmp, or switchPositionMode. No preconditions, exclusions, or context are provided, so the agent must infer the appropriate usage from the tool name alone.

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