Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

queryCardAssetRecords

Read-only

Retrieve Bybit Card asset records for your account with filters by card digits, merchant, status, ID, or time range. See amounts, fees, and status.

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
pageNo
pan4No
typeNo
limitNo
txnIdNo
orderNoNo
cardTokenNo
merchNameNo
statusCodeNo
createEndTimeNo
createBeginTimeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.11

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses that the endpoint is paginated, describes the conditional requirement on `type`, and reveals that the MCP layer strips `uid` and `pan6` from responses. These are behavioral traits an agent must know and are not available in the annotations or schema.

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 about 130 words but every sentence carries unique information: purpose, auth, endpoint, filters, conditional requirement, privacy stripping, and agent-facing guidance. It is well structured with a front-loaded purpose.

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

Completeness5/5

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

For an 11-parameter, no-output-schema read query, the description covers all essential invocation details: auth, endpoint, filters, conditional requirement, pagination, and response privacy transformations. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description is the sole source of parameter meaning. It explains filters for statusCode, pan4 (last 2/4 digits), merchName (fuzzy), type (auth/financial/refund), txnId/orderNo (exact), cardToken, and time range, plus the conditional rule binding `type` to txnId/orderNo.

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 states a specific action ('Query ... records') and resource ('Bybit Card asset (transaction) records'), and identifies the exact endpoint. It is clearly a read-only card transaction query and is distinguishable by resource from the many sibling tools.

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 context: it is for card asset transaction records on an authenticated account and requires Card read permission. It does not explicitly name alternative tools or when not to use it, so it falls short of a full 5, but the resource specificity makes usage obvious.

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