Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

queryWithdrawRecords

Retrieve withdrawal records filtered by type, coin, date range, or ID. Supports on-chain, internal, or all withdrawals.

Instructions

Query withdrawal records.

  • Master UID API key only.

  • Max 30-day range per query. If startTime and endTime are not provided, defaults to the last 30 days.

  • endTime - startTime must be less than 30 days.

  • Business rules :

    • Uses read replica by default

    • withdrawType=0 returns on-chain withdrawal records (includes web3, batch release, AML and other internal types, all mapped to 0)

    • withdrawType=1 returns internal transfer records

    • withdrawType=2 returns all records

    • AML custody wallet liquidation records (type 1040) will replace txID, toAddress, tag fields with liquidation info

    • Records pending manual review requiring material submission will show status as "MoreInformationRequired"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
withdrawIDNo
txIDNo
coinNo
withdrawTypeNo0
startTimeNo
endTimeNo
limitNo
cursorNo
Behavior4/5

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

With no annotations, the description carries full burden and discloses important behaviors (read replica usage, withdrawType mapping, AML record field replacement, status indicator). It does not mention rate limits or explicit read-only nature, but overall provides good transparency.

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 concisely structured with bullet points, front-loading the main purpose. Each section adds distinct value without redundancy.

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

Completeness4/5

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

Given no output schema, the description explains operational details (read replica, type mapping, special cases) that affect the query results. It does not describe the output fields, but the business rules provide sufficient context for a query tool.

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 coverage is 0%, so description must compensate. It explains startTime, endTime constraints and withdrawType enum values, but does not describe withdrawID, txID, coin, limit, or cursor parameters. Thus, it adds partial value but leaves gaps.

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 clearly states the tool's action ('Query withdrawal records') and provides specific constraints (Master UID API key only, max 30-day range, business rules). This differentiates it from sibling tools like queryDepositRecords or queryBalance.

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 gives clear usage context (API key requirement, date range limits, default behavior for missing startTime/endTime). However, it does not explicitly state when not to use this tool or point to alternative tools among the many siblings.

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/bybit-exchange/trading-mcp'

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