Skip to main content
Glama
workspace

bybit-mcp-server

by workspace

get_public_trades

Read-only

Retrieve recent public trades from Bybit for any symbol across spot, linear, inverse, or option categories.

Instructions

Query recent public trading data.

    Args:
        category: Product type - spot, linear, inverse, option
        symbol: Symbol name (e.g. BTCUSDT)
        baseCoin: Base coin (for option only)
        optionType: Option type - Call, Put (for option only)
        limit: Limit for data size (spot: 1-60 default 60; others: 1-1000 default 500)
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
symbolYes
baseCoinNo
categoryYes
optionTypeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, establishing read-only and live data behavior. The description adds 'recent' but does not specify the time window, ordering, or pagination beyond the limit parameter. Additional behavioral details would be beneficial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description starts with a clear one-line summary, then lists parameters in a structured but verbose Python docstring format. It is mostly concise, though the 'Args:' header is unnecessary. Overall efficient with minimal redundancy.

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?

Given the output schema exists, return values need not be detailed. Parameters are well covered in the description. However, missing details about time window for 'recent', pagination support, and any rate limits or ordering order (e.g., newest first) leaves some gaps for a tool returning live trades.

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?

Schema description coverage is 0%, so the description compensates well by explaining each parameter. It specifies valid values for category, explains baseCoin and optionType are for options only, and provides limit ranges per category. This adds significant value beyond the property names.

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 clearly states 'Query recent public trading data', indicating a read operation on public trades. It distinguishes from sibling get_trade_history (private trades), but could be more explicit about how it differs from other public data tools like get_tickers or get_orderbook.

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?

No guidance on when to use this tool versus alternatives. It does not mention when to prefer get_public_trades over other public data tools, nor any prerequisites or limitations. The description only lists parameters without usage context.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/workspace/bybit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server