Skip to main content
Glama

市场走势

get_market_series
Read-onlyIdempotent

某市场的时间序列:24h 按小时,7d / 30d 按天。每个点有交易量、笔数、交易者数、新开多 / 新开空规模、清算次数和规模、交易者已实现盈亏、平仓利润费、代币成交额;按天时还有 LP 净值和池子规模。附区间合计。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "market": "<market>",
      "range": "<range>"
    },
    "name": "get_market_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeYes7d
marketYes市场:短链接 slug、市场合约地址、代币地址、代币代号,或标的代号如 BTC / ETH / XAU(表示该标的的官方市场)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / market / maxLength
      Removed value: -80
    • removedInput schema / properties / market / minLength
      Removed value: -1
    • removedInput schema / properties / market / type
      Removed value: -"string"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so the safety profile is settled. The description adds real value beyond that by enumerating the returned metrics (volume, trade counts, traders, long/short opens, liquidations, realized PnL, fees, token turnover) and the extra daily-only fields (LP net value, pool size) plus an interval total. It omits ordering, timezone, units, and any size limits, which keeps it short of a 5.

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?

It is a single dense sentence that front-loads the granularity rule, then lists payload fields in the order an agent would care about them. There is no filler, though the unbroken metric list is heavy to scan.

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?

For a two-parameter read-only data tool with no output schema, the description covers the return shape well enough to decide whether to call it. Remaining gaps are minor but real: no statement of ordering, timezone, units, or result-size behavior.

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 50%: market is described in the schema, but the range enum carries only a default with no description. The description partially compensates by explaining what each range value actually yields (hourly vs daily points, and the daily-only fields). The baseline is 3 when the schema does substantial work, and the added granularity semantics fit that level rather than exceeding it.

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?

The description uses a specific noun phrase ("某市场的时间序列" - a market's time series) with granularity rules (24h hourly, 7d/30d daily), so the resource and shape are clear. However, it never distinguishes itself from plausible siblings such as get_candles, get_market_economics, or get_lp_history, which likely cover overlapping price/LP territory.

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

Usage Guidelines3/5

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

The granularity mapping implicitly tells an agent which range to pick for hourly vs daily data, which is mild usage guidance. But there is no explicit when-to-use, when-not-to-use, or named alternative for price-only or economics-only needs, leaving the agent to infer routing among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources