Skip to main content
Glama
openstockdata

stock-data-mcp

获取加密货币杠杆多空比

okx_loan_ratios

Obtain the cumulative loan ratio (quote/base) for any OKX cryptocurrency symbol. Supports multiple timeframes and automatic retry.

Instructions

获取OKX加密货币借入计价货币与借入交易货币的累计数额比值。支持自动重试。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo时间粒度,仅支持: [5m/1H/1D] 注意大小写,仅分钟为小写m1h
symbolNo币种,格式: BTC 或 ETHBTC
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only mentions the operation and automatic retry, but omits behavioral traits such as data freshness, rate limits, error handling, or whether the operation is read-only. Minimal disclosure.

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?

Two sentences: first clearly states purpose, second mentions automatic retry. No extraneous words, front-loaded, efficient.

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?

No output schema, and description does not explain the return value format (e.g., single number, object). For a simple tool, an agent might need to know what the ratio looks like or if it's cumulative over a period. Incomplete.

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 coverage is 100% with detailed parameter descriptions for period and symbol, so the description adds no new information about parameters. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it gets the cumulative ratio of borrowed quote to borrowed base currency on OKX, distinguishing it from siblings like okx_prices and okx_taker_volume. However, the title mentions 'leverage long/short ratio' which slightly differs from the description's emphasis on borrowed currencies, causing minor ambiguity.

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 on when to use this tool vs alternatives. While the tool's niche (OKX loan ratios) is implied, the description lacks explicit context for when an agent should choose this over other OKX tools or stock tools.

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/openstockdata/stock-data-mcp'

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