Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getEarnAprHistory

Query historical daily APR for FlexibleSaving or OnChain products. Returns records in descending order within a 182-day range.

Instructions

Query historical daily APR for a product. Supports FlexibleSaving and OnChain.

FlexibleSaving: Returns hourly APR records.

OnChain: Returns daily APR records.

Results are returned in descending order by date/time. Maximum query range is 182 days.

Authentication is optional (public endpoint).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endTimeYes
categoryYes
productIdYes
startTimeYes
Behavior4/5

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

Discloses key behaviors: hourly vs daily returns, descending order, range limit, and optional authentication. No annotations to contradict, and no destructive behavior to warn about.

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?

Extremely concise and well-structured with clear sections and bullet points. No redundant information.

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?

Given no output schema and simple query, the description covers all essential aspects: purpose, categories, ordering, range, and authentication. Sufficient for agent decision-making.

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

Parameters2/5

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

Schema has 0% description coverage, and the description only mentions parameter constraints indirectly (max range). Missing details on startTime/endTime format (e.g., Unix timestamp vs ISO) and productId semantics.

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 historical daily APR for a product' and distinguishes two product categories (FlexibleSaving and OnChain) with different time granularities, differentiating it from sibling tools like getEarnYieldHistory or getTokenHistoricalApr.

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?

Provides clear context: public endpoint, descending order, and max 182-day range. Lacks explicit alternatives or when-not-to-use, but the simplicity of the query makes it adequate.

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