Skip to main content
Glama

get_earn_order_history

Retrieve stake and redeem order history for Earn products. Filter by category, product ID, and limit the number of records.

Instructions

Get Earn stake/redeem order history.

Args: category: Product category. product_id: Filter by product ID (optional). limit: Number of records (default: 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYes
product_idNo
limitNo
Behavior2/5

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

The description implies a read-only operation but does not explicitly state non-destructiveness. With no annotations, the description should disclose more behavioral traits (e.g., rate limits, ordering of results, pagination) beyond the basic functionality.

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 short and front-loaded with the purpose. The 'Args:' list is structured but repeats parameter names with single-word descriptions. It is concise but could be slightly more informative without becoming verbose.

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

Completeness2/5

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

With no output schema, the description should explain the return structure of the order history. It does not mention what fields are returned, pagination, or error handling. This leaves the agent without enough context to fully interpret the tool's output.

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 coverage is 0%, so the description must compensate. It provides brief meanings for each parameter (e.g., 'Product category', 'Filter by product ID') but lacks details such as allowed values, formats, or examples. The description adds minimal value beyond the parameter names in the schema.

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 'Get Earn stake/redeem order history,' which is a specific verb and resource. It distinguishes from sibling earn tools like get_earn_position, get_earn_product, etc., by focusing on order history for stake/redeem actions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like get_earn_yield_history or get_earn_hourly_yield. There is no mention of context, prerequisites, or when not to use it.

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

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