Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getCryptoLoanFlexibleRepaymentHistory

Read-only

Retrieve historical flexible loan repayment records with pagination. Filter by repayment ID or currency and view principal and interest details to track, verify, and calculate total interest paid.

Instructions

Query historical flexible repayment records with pagination.

Features:

  • Query by repayment ID or currency

  • Pagination support

  • View repayment details including principal and interest

  • Rate limit: 5 requests per UID

Use Cases:

  • Track repayment history

  • Verify repayment transactions

  • Calculate total interest paid

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cursorNo
repayIdNo
loanCurrencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.11

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the agent knows this is a safe read operation. The description adds beyond that: explicit rate limit of 5 requests per UID, pagination behavior, and the ability to filter by repayment ID or currency. This is meaningful behavioral context not present 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.

Conciseness4/5

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

The description is well-structured with a lead sentence followed by Features and Use Cases bullets. Each section is scannable and adds value. The use cases are somewhat redundant with the features, but the overall size is appropriate and the rate limit is front-and-center where it matters.

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 there is no output schema, the description usefully states that repayment details including principal and interest can be viewed. It also covers query modes, pagination, and rate limits. It does omit specific details like the exact shape of paginated responses or how cursor is obtained, but for a read-only history query the description is reasonably complete.

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 0%, so the description must compensate. It does state that queries can be by 'repayment ID or currency' and that pagination is supported, which maps to repayId, loanCurrency, limit, and cursor. However, it does not explain parameter constraints, defaults, cursor semantics, or whether filters can be combined, leaving meaningful gaps for a four-parameter tool.

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 opens with a specific verb and resource: 'Query historical flexible repayment records with pagination.' It clearly identifies the domain (flexible crypto loan repayment history) and distinguishes it from the sibling tool getCryptoLoanFixedRepaymentHistory. The listed features reinforce the exact scope: query by repayment ID or currency, pagination, and repayment detail fields.

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 provides direct use cases: track repayment history, verify repayment transactions, and calculate total interest paid. This tells an agent when the tool is relevant. However, it does not explicitly name the alternative for fixed repayment history (getCryptoLoanFixedRepaymentHistory) or state when not to use this tool, so it stops short of full exclusion guidance.

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