Skip to main content
Glama

Algo Trade Analytics

analyze_cross_scope

analyze_cross_scope
Read-onlyIdempotent

Run the same strategy across a bounded symbol/timeframe matrix for a required protocolId and report transferability evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNoOptional input overrides as a JSON-stringified object, e.g. '{"SMA Length":14}'. Keys are Pine input names; values are number, string, or boolean.
sourceYes
symbolYes
endDateYes
symbolsNo
maxScopesNo
minTradesNo
startDateYes
timeframeYes
protocolIdYesExperiment protocol id returned by define_experiment_protocol for this exact cross-scope validation.
timeframesNo
caseStudyIdNoOptional: bind this call to one of your case studies. Defaults to the bound run's case study.
researchRunIdNoOptional: bind this call to one of your existing research runs. Defaults to this session's most recent unfinished run.
minProfitFactorNo
mcpIdempotencyKeyNoUnique key for this logical action. Reuse it only when retrying the same arguments. Required for hosted trust-creating actions when no idempotency header is supplied.
requirePositiveNetProfitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful context about bounded symbol/timeframe execution and transferability evidence, but does not disclose potential runtime cost, matrix limits, or what 'evidence' concretely contains.

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 description is a single sentence with no filler and front-loads the core action. It is concise, though it packs several concepts together and could benefit from a second sentence for parameter guidance.

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 16 parameters, low schema coverage, no output schema, and many sibling tools, this description is not complete enough for reliable invocation. It leaves the caller guessing about required parameter combinations, matrix bounds, output shape, and the meaning of 'transferability evidence' in practical terms.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 31%, so the description carries a heavy burden to explain parameters, but it only mentions protocolId and the symbol/timeframe matrix concept. It does not clarify the relationship between required singular symbol/timeframe and optional plural symbols/timeframes, nor explain maxScopes, minTrades, minProfitFactor, source, dates, or idempotency behavior.

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 action ('Run the same strategy across a bounded symbol/timeframe matrix') and identifies the resource (a required protocolId) and outcome ('report transferability evidence'). It is clear on its own, but it does not name or distinguish itself from the many analyze_* sibling tools.

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 'for a required protocolId' implies this tool is used after define_experiment_protocol and for cross-scope validation, giving some usage context. However, it does not explicitly say when to prefer this tool over siblings like walk_forward_candidate or analyze_market_coverage, nor does it state when not to use it.

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