Skip to main content
Glama

PolyEase Charts

get_indicators_batch

Read-onlyIdempotent

Calculate up to eight indicators on the same completed caller-supplied OHLCV in one request, reusing one validated snapshot.

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": {
      "coin": "<coin>",
      "period": "<period>",
      "bars": "<bars>",
      "indicators": "<indicators>"
    },
    "name": "get_indicators_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
barsYes
coinYesExchange routing ID or canonical CHATS market ID. Availability is not verified by MCP.
periodYes
indicatorsYes

Output Schema

NameRequiredDescriptionDefault
urlYes
asOfYes
marketYes
periodYes
sourceYes
asOfUtcYes
barCountYes
indicatorsYes
engineVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the description is not obligated to restate safety. It does add real behavioral facts beyond them: a hard cap of eight indicators per call, that all indicators share one validated snapshot (consistency guarantee across results), and that bars must be 'completed' candles. It stops short of saying what happens when one indicator in the batch is invalid or how failures are reported.

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?

A single dense sentence with no filler; the batch capability, the input source, the single-request efficiency, and the snapshot-reuse guarantee are all front-loaded. Nothing could be removed without losing actionable information.

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?

An output schema exists, so return-value description is not required, and annotations cover the safety profile. For a four-parameter, all-required tool taking a nested OHLCV array, the description covers the core semantics; remaining gaps are per-parameter detail (coin identifier handling, period meaning) and partial-failure 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 description coverage is only 25%, so the description carries more weight than baseline. It clarifies that 'bars' are caller-supplied OHLCV and must be completed candles, and that 'indicators' is capped at eight, which maps usefully onto the maxItems constraint. It says nothing about 'coin' (exchange routing ID vs. canonical CHATS market ID, unverified availability) or 'period', leaving those dependent on the sparse schema text.

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 verb and resource ('calculate ... indicators') and adds scoping facts an agent can act on: up to eight indicators, on caller-supplied OHLCV, in one request. It implicitly distinguishes itself from the singular get_indicators by emphasizing caller-supplied bars and batching, but never names that sibling, so the differentiation is inferential rather than explicit.

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 phrase 'caller-supplied OHLCV' signals this is for cases where the agent already holds bar data rather than fetching it server-side, which is a genuine usage cue. However, there is no explicit when-to-use vs. when-not guidance and no named alternative (e.g., get_indicators) for agents who lack bars or need only one indicator.

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