Skip to main content
Glama

AlgoVesta MCP Trading

replay_channel

Read-onlyIdempotent

Answers "what if you had followed this Telegram channel for the last N days under these rules?". Simulates the channel's past signals paper-style; every signal passes the policy wall (rejected ones are not opened). Progress is published as replay_progress events. Results are cached for 24 hours (the same channel + parameters return from cache). Rate limit: 5 replays/hour.

Output: {trades:[...], summary:{total_pnl, win_rate, max_drawdown, avg_rr,
policy_rejections}}.

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": {
      "channel_ref": "<channel_ref>"
    },
    "name": "replay_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days (1-90). The channel's signals in that window are simulated.
channel_refYesReference of the Telegram channel to analyze (a channel the user follows or knows).
policy_overrideNoOptional policy rules (same schema as the compile_policy output). If given, the simulation runs with these rules instead of the active policy; if omitted, the user's active policy applies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Well beyond the annotations, it discloses that rejected signals are never opened (policy wall), that progress streams as replay_progress events, that results are cached 24 hours keyed on channel+parameters, and a concrete 5-per-hour rate limit. It also states the return shape, which is valuable since no output schema exists.

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?

The framing question is front-loaded, then behavior, then constraints, then output — a sensible order with little waste. A minor amount of space is spent restating the policy-wall concept in parentheses, but overall it is tight and scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter read-only simulation with no output schema, the description covers invocation intent, side-effect profile (paper only, nothing opened), async progress, caching/idempotency, rate limits, and the return structure. There is nothing material an agent would need to call it correctly that is 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 days, channel_ref, and policy_override are already documented, including that policy_override replaces the active policy. The description reinforces the N-days and rules semantics but adds no syntax, format, or edge-case meaning beyond what the schema states, so 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 opens with a concrete framing question and then states a specific verb+resource: it simulates a Telegram channel's past signals paper-style over a look-back window. That distinguishes it implicitly from signal-source alternatives like backtest_my_signals or simulate_policy, but it never names an alternative, so the differentiation is left to inference rather than stated.

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?

Usage context is implied well by the 'what if you had followed this channel' question, which tells an agent the scenario this tool serves. However, there are no explicit when-not conditions and no sibling alternatives named (e.g., when to use this versus simulate_policy or backtest_my_signals), so guidance stops at implication.

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.