Skip to main content
Glama
echopai-mcp

echopai-mcp

Official
by echopai

bars_batch

Batch-fetch OHLCV bars for up to 100 securities as daily or minute intervals, with a configurable per-symbol limit, to support multi-asset market analysis.

Instructions

Batch OHLCV bars for multiple securities (daily or minute bars).

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": {
      "codes": "<codes>"
    },
    "name": "bars_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYesArray of canonical codes
limitNoBars per symbol
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 provided, so the description carries the full burden, yet it discloses nothing about behavior: no rate limits, no statement of what happens for invalid or unknown codes, no note on missing/suspended trading days, and no indication of result ordering or the per-symbol meaning of the limit. For an unannotated data-fetch tool this is a meaningful gap.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its terseness is part of why other dimensions fall short rather than a virtue in itself.

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 annotations and no output schema, the description needs to cover more: the shape of the returned bars (fields, per-symbol grouping, ordering, behavior when a symbol has no data) is unspecified. For a 3-parameter batch tool with a 100-symbol cap, one sentence is not enough for an agent to call it confidently.

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 schema already documents codes (with exchange-prefixed examples), limit, and period. The description's mention of 'daily or minute bars' merely restates the period enum and adds no syntax or semantic detail beyond the schema. Baseline 3 applies.

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 gives a specific verb ('Batch') and resource ('OHLCV bars') with a clear scope ('multiple securities') and states the supported intervals. It does not distinguish itself from related sibling names such as concepts_daily_bars or concepts_minute_bars, so an agent must infer that this one is the multi-symbol variant.

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 guidance on when to use this tool versus alternatives, no mention of preconditions (valid canonical codes, symbol count limits), and no indication of when a single-symbol or concept-based tool would be more appropriate. The agent gets a purpose statement only.

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