Skip to main content
Glama
daviddme

TradingView Unified MCP

by daviddme

strategy_sweep

Run a bounded symbol × timeframe × input grid sequentially; fresh by default, no cross-run cache, full result evidence and state restoration.

Instructions

Run a bounded symbol × timeframe × input grid sequentially; fresh by default, no cross-run cache, full result evidence and state restoration.

Input Schema

NameRequiredDescriptionDefault
inputsNo
symbolsYes
on_errorNo
entity_idYes
target_idYesExact Chrome tab target ID from browser_list_tabs. Required for changes.
timeframesYes
max_combinationsNo
expected_layout_idYesExpected saved-layout ID. A mismatch stops the operation before writing.
restore_start_stateNo
timeout_per_variant_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false. The description usefully adds that execution is sequential, fresh by default, has no cross-run cache, and includes state restoration, but it does not explain what specifically gets mutated, how the layout guard stops writes, or what failure behavior looks like.

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 definition is a single front-loaded sentence with no filler. It is dense but efficient; the only mild weakness is that several important details are packed into vague phrases like 'full result evidence.'

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?

This is a complex 10-parameter mutation tool with nested inputs, an open-world annotation, and no output schema. The one-sentence description is not complete enough: it omits required target and layout safeguards, error-handling behavior, timeout semantics, and what 'result evidence' actually contains.

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 20% across 10 parameters. The description clarifies the symbols/timeframes/inputs grid and hints at bounding and restoration, but it does not explain key parameters such as entity_id, on_error, timeout_per_variant_ms, or max_combinations, leaving most parameters undocumented beyond the schema.

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 verb and scope: 'Run a bounded symbol × timeframe × input grid sequentially.' It is clear this is a grid-sweep execution tool. However, it does not explicitly distinguish itself from close siblings such as strategy_scan or strategy_compare_metrics, leaving the agent to infer the difference from the name and schema.

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 explicit guidance on when to choose this tool versus strategy_scan, strategy_capture, or strategy_compare_metrics. Usage is only implied by the phrase 'symbol × timeframe × input grid,' and no prerequisites or exclusions are given.

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

Deploy Server

Other Tools