Understand the TradingView MCP Tool Design Philosophy
mainThe TradingView MCP Bridge is designed for agent-forward trading, where LLM agents assist human traders. The toolset follows several key design principles to optimize for LLM performance:
- Granular Tooling: Instead of a single coarse tool, the project provides ~84 granular tools (e.g., separate tools for
quote,OHLCV,indicator values,pine lines,pine labels, etc.). This allows agents to request precise, small payloads to save context. - Compact-by-Default Output: To manage context window constraints, tools return compact data by default (e.g., using
summary: trueandstudy_filter). Verbose mode is opt-in. - Failure Transparency: The tools surface raw data rather than pre-interpreting it, allowing the agent's reasoning trace to reveal when it has misread a chart or encountered stale data.
- Pine Script Iteration Loop: The toolset supports a specific development loop for Pine Script:
pine_set_source$\rightarrow$pine_smart_compile$\rightarrow$pine_get_errorsto enable agents to debug and iterate on scripts.