Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

queryCardAssetRecords

Retrieve paginated card transaction records for the authenticated Bybit account using filters by status, card last digits, merchant name, transaction ID, and time range.

Instructions

Query Bybit Card asset (transaction) records for the authenticated account. Requires Card read permission on the API key.

POST /v5/card/transaction/query-asset-records — paginated, supports filters by status code, last 2 or 4 digits of card number (pan4), merchant name (fuzzy), query type (SIDE_QUERY_AUTH/FINANCIAL/REFUND), transaction or order ID (exact), card token, and time range.

Conditional requirement: type is required when neither txnId nor orderNo is provided. This restriction does not apply when either txnId or orderNo is present.

Privacy: the MCP layer removes the internal uid and the card BIN pan6 from each record before returning. The card last digits (pan4), merchant info, amounts, fees, status, and timestamps are returned unchanged.

Agent hint: use pan4 (last 2 or 4 digits) to identify the user-facing card. Do not ask the user for uid or pan6 — they are not exposed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusCodeNo
limitNo
pageNo
pan4No
createBeginTimeNo
createEndTimeNo
merchNameNo
typeNo
txnIdNo
cardTokenNo
orderNoNo
Behavior5/5

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

Despite no annotations, the description discloses key behaviors: pagination, supported filters, conditional parameter requirements, and a privacy layer that removes uid and pan6 before returning data.

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 is well-structured and front-loaded with the main purpose. It could be slightly more concise, but every sentence adds meaningful information.

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?

With 11 parameters, no output schema, and no annotations, the description covers purpose, permissions, conditional logic, privacy, and agent hints. It is quite complete for the tool's complexity.

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?

The schema has 0% description coverage, but the description explains many parameters (statusCode, pan4, merchName, type, txnId, orderNo, time range) and the conditional requirement. Not all parameters are covered, but it adds significant value.

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 'Query Bybit Card asset (transaction) records' with a specific verb and resource. It distinguishes from sibling tools like queryTradeHistory by focusing on card transactions.

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 specifies required permissions ('Card read permission') and a conditional requirement for the 'type' parameter. It also provides an agent hint about using pan4 and not asking for uid/pan6, but lacks explicit comparison to alternatives.

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