Skip to main content
Glama

Save Strategy

save_strategy

Save a formula as a strategy IF it currently validates. Re-runs test_formula itself server-side first — never trusts a stale claim from an earlier call, since data moves — and only saves when that fresh verdict is 'validated'. Saved strategies appear in the user's own EnsoTrade dashboard under Strategies; they're private to that account, not published or shared with anyone else. Same parameters as test_formula: symbol/formula as usual, timeframe="scalp" (use horizon) or "15m"/"1h"/"4h"/"1d" (use horizon_bars), hours = history window tested. label is an optional short name for the strategy (e.g. "BTC 1h RSI reversion"). Requires an EnsoTrade Pro API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNo
labelNo
symbolYes
formulaYes
horizonNoret_30s_bp
timeframeNoscalp
horizon_barsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description does the disclosure work: it states the server re-runs validation (`Re-runs test_formula itself server-side first`), trusts no stale result, only saves on validated, persists privately to the user's dashboard, and requires a Pro key. It does not describe overwrite/duplicate behavior or failure response, but the main side effects are disclosed.

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?

Five purposeful sentences introduce the action, then validation behavior, then param mapping; no padding. The structure packs much detail into a continuous paragraph and would be slightly clearer with bullet/list separation of parameter groups, but it remains efficient.

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?

Given no annotations, an output schema, and 7 params, the description covers operation, conditions, side effects, auth, privacy, and parameter relationships. The only notable omissions are precise error/invalid-verdict behavior and detailed semantics of `horizon`, but the output schema and sibling `test_formula` fill some gaps.

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 0%, but the description enumerates the main params: `symbol`/`formula`, conditional use of `horizon` vs `horizon_bars` based on `timeframe`, meaning of `hours`, and optional `label`. It leaves precise semantics of `horizon` (e.g. `ret_30s_bp`) to defaults/sibling knowledge but sufficiently compensates for an empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description states the action (`Save a formula as a strategy`) and the condition (`IF it currently validates`), clearly distinguishing it from testing-only siblings by describing persistence to dashboard. It names sibling `test_formula` and clarifies save happens only after fresh validation, so the function's purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly implies usage as the persistence counterpart to `test_formula` by saying it re-runs the test server-side and only saves on a fresh 'validated' verdict. It also supplies prerequisites (`EnsoTrade Pro API key`) and privacy scope. It does not explicitly spell out cases to prefer `test_formula` over `save_strategy` (e.g., testing without persisting), so not a full 5.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools target distinct analytics functions (order flow, execution cost, strategy testing, market scans). A few pairs overlap—mass_map/mass_scan, market_rotation/top_movers, and market_snapshot/perp_dashboard—but descriptions clarify differences. No tools are truly indistinguishable.

Naming Consistency3/5

Naming style is mixed: some tools use verb+noun (explain_move, fetch_series, get_funding) while others use descriptive noun phrases (carry_pressure, currency_leg, exit_capacity). The names are readable and meaningful, but the pattern is not uniform. It is not chaotic, but lacks a single consistent convention.

Tool Count4/5

22 tools is on the heavier side but reasonable for a comprehensive crypto analytics suite covering market data, execution analysis, risk, and strategy testing. Each tool serves a distinct purpose and contributes to the overall scope. It is not excessive enough to feel bloated.

Completeness5/5

The tool set covers the full analytics lifecycle: market overview, order-flow explanation, execution routing and cost, position limits, options, and strategy backtesting. There are no obvious dead ends; users can research, test, and validate strategies. The coverage is thorough for the stated trading-analytics domain.

Resources