Skip to main content
Glama
This connector has been deprecated

Replaced by echopai-mcp.

Duplicate listing; superseded by io.github.echopai/echopai-mcp (official MCP Registry entry).

concepts_bars

概念、行业或基础指数 K 线(链式等权,基点 1000)。daily 返回日线、市场宽度和 is_backfilled;minute 返回分钟终点标签,完整交易日 240 根,单次最多 7 天。沿用列表中的 kind 和 concept_id。

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": {
      "concept_id": "<concept_id>",
      "from": "<from>",
      "to": "<to>",
      "interval": "<interval>"
    },
    "name": "concepts_bars"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesInclusive end date YYYY-MM-DD
_jqNoJMESPath,对 data 求值(写 items[*].id)
fromYesInclusive start date YYYY-MM-DD
kindNoDimension: concept (hot-theme library, default), base (broad base labels), or industry. All use independent chain-linked equal-weight indices with base 1000. A stored theme membership alone does not establish current trading activity; use concept_tags for current status.concept
_spillNotrue=全量落盘,只回摘要与取数地址
_fieldsNo逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq
_intentNo用户原问题一句话,仅分析用,可留空
intervalYesK 线周期
_max_bytesNo响应字节上限,默认约 50 KB
concept_idYesConcept primary key
_max_bytes_modeNo正文超限处理,默认 truncate 保留前缀

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnly=false, destructive=false, idempotent=false, openWorld=false), so the description carries the substantive burden and does add real detail: what daily returns (bars, market breadth, is_backfilled) versus minute (endpoint labels, 240-bar sessions, 7-day cap), plus the index construction convention needed to interpret values. It does not describe pagination or the file-spill path behavior of _spill. Nothing here contradicts the annotations.

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?

Three dense sentences, front-loaded with what the tool returns, then per-interval behavior, then parameter sourcing. No filler. The only soft spot is '沿用列表中的 kind 和 concept_id', where '列表' is not named, forcing the agent to infer which sibling supplies them.

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?

With 11 parameters, 4 required, no output schema, and terse annotations, the description covers the essentials: what the series represents, how daily and minute responses differ, and where to obtain kind/concept_id. Return-shape detail compensates for the missing output schema; only the auxiliary control parameters and any pagination/spill behavior are unaddressed, and those are documented in the schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by giving the interval enum real meaning (what daily vs minute actually yields, and the 7-day/minute ceiling) and by pointing concept_id/kind at concepts_list as their source. It leaves the underscore-prefixed control parameters (_jq, _spill, _fields, _max_bytes) entirely to the schema.

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 first sentence names a specific resource and scope: K-line bars for concepts, industries, or base indices, with the index methodology (chain-linked equal weight, base 1000) stated. It also splits behavior by interval (daily vs minute). It stops short of naming any sibling it is not — e.g. bars_batch for other instrument types — so differentiation is left implicit.

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?

It supplies constraints that shape a call (minute data capped at 7 days and 240 bars per full session) and tells the agent to reuse kind/concept_id from 'the list', which is an implied prerequisite. There is no explicit statement of when to prefer this over alternatives such as bars_batch or concepts_snapshot, so guidance remains implied rather than stated.

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