Skip to main content
Glama
Bybit MCP Server

Bybit MCP Server

by trenerok

get_trade_history

Retrieve filled trade history with filters for symbol, category, order ID, execution type, and time range; use pagination to review past executions.

Instructions

Get filled trades history. Auth required.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_trade_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results (default: 50, max: 100)
cursorNoPagination cursor
symbolNoTrading pair symbol
endTimeNoEnd timestamp in ms
orderIdNoOrder ID filter
baseCoinNoBase coin filter
categoryNoProduct categorylinear
execTypeNoExecution type filter
startTimeNoStart timestamp in ms
orderLinkIdNoUser custom order ID filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It mentions authentication but does not disclose pagination behavior, rate limits, read-only nature, data scope, or what is returned.

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 short, front-loaded, and contains no redundant wording. Both sentences provide useful information without unnecessary elaboration.

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

Completeness2/5

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

This is a ten-parameter filtering tool with no annotations and no output schema. The description is too thin for that complexity, omitting pagination semantics, default behavior, filter interactions, and result scope.

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 100%, so all ten parameters are already documented in the input schema. The description adds no parameter-level meaning beyond confirming that results are filled trades, which is appropriate for the baseline score.

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 specific verb and resource: "Get filled trades history." This clearly identifies the tool as a history lookup for filled trades, though it does not explicitly distinguish it from siblings such as get_order_history or get_execution_list.

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?

The only guidance is "Auth required," with no explanation of when to use this tool versus alternatives. It does not state when to prefer get_trade_history over order history or execution list tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.