Skip to main content
Glama
echopai-mcp

echopai-mcp

Official
by echopai

chart

Retrieves historical OHLCV time series for a single security, with daily or minute bars, date ranges, and bar limits for price analysis and visualization.

Instructions

Historical OHLCV chart series for a single security.

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": {
      "code": "<code>"
    },
    "name": "chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date YYYY-MM-DD
codeYesCanonical security code with exchange prefix, e.g. SSE:600519, SZSE:000001, BSE:899050
fromNoStart date YYYY-MM-DD
limitNoMax bars
periodNoBar interval (default daily)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It conveys that this is a historical data read via 'OHLCV', but it does not mention pagination, limits, return shape, or any authorization or rate-limit constraints, which matters for a five-parameter data query.

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?

The description is a single front-loaded sentence with no filler or redundancy. Every word contributes to identifying the resource and its scope.

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?

For a tool with five parameters and no output schema, the description does not explain the returned series structure, pagination, or how limit and period interact. The fully documented schema helps, but usage and return-shape context are still missing.

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 description coverage is 100%, so the input schema already documents code, from, to, limit, and period in detail. The description adds only the 'single security' scope, which is useful but does not meaningfully extend parameter meaning beyond 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 description states a specific verb-like resource (historical OHLCV chart series) and a clear scope (a single security), so an agent knows exactly what data it returns. It does not distinguish itself from siblings such as bars_batch or concepts_daily_bars, so sibling differentiation is absent.

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?

There is no explicit guidance on when to use this tool versus alternatives like bars_batch or concepts_daily_bars. The only implied usage is retrieving one security's history, which leaves the agent to infer the selection criteria.

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