Skip to main content
Glama
Bybit MCP Server

Bybit MCP Server

by trenerok

get_recent_trades

Retrieve recent public trades for a Bybit trading pair with category, symbol, and limit filters; no authentication required.

Instructions

Get recent public trades for a trading pair. Public endpoint (no auth required).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "category": "<category>"
    },
    "name": "get_recent_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of trades (default: 60, max: 1000)
symbolNoTrading pair symbol
baseCoinNoBase coin filter (for option)
categoryYesProduct category
optionTypeNoOption type filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the most decision-relevant behavioral fact: this is a public, unauthenticated endpoint. It leaves out rate limits, ordering/recency semantics (how far back "recent" reaches), and pagination, so it is helpful but not complete for a mutation-free data tool.

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?

Two short sentences, front-loaded with the core purpose and immediately followed by the auth constraint. No filler or restatement of the name.

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?

With no output schema and five parameters, an agent knows what the tool fetches and how to authenticate, but not what a returned trade record contains or how far back results extend. Adequate for invocation, thin on expected results.

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 every parameter including the category enum and limit bounds is already documented structurally; the description only adds the framing that the target is a trading pair. Baseline 3 is appropriate since the schema does the heavy lifting.

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 names a specific verb and resource ("Get recent public trades") scoped to a trading pair, which is clear enough to distinguish it from account-oriented siblings like get_trade_history or get_execution_list. It stops short of explicitly naming a counterpart, so the differentiation relies on the word "public".

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?

Saying it is a "Public endpoint (no auth required)" implies the usage context — market data rather than account-specific data — but there is no explicit when-to-use/when-not guidance and no named alternative for retrieving historical or personal trade data.

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