Skip to main content
Glama
pbajkovic-hub

tv-cdp-mcp

tv_trading_status

Read-only

Check TradingView broker connection, account, positions, orders, and trading permissions. Optionally verify symbol tradability, quantity step, and chart price for trading readiness.

Instructions

Read the broker connected inside TradingView: broker id/title, account id/type, connection, open positions, working orders, capability flags and the gate this server enforces. Pass symbol to also check tradability, qty step/min and the chart price. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layoutNochart layout id or index; default active
symbolNooptional symbol to check, e.g. BYBIT:ETHUSDT.P (bare ETHUSDT is expanded)
expect_layoutNolayout id the tab is expected to show right now; the call refuses if it differs (a tab keeps its target id when the user opens another layout in it)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds value by revealing what state is read (broker id, account, positions, orders, capability flags, gate) and by noting that passing a symbol triggers extra tradability/price checks. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with no filler. The primary purpose is front-loaded, and the optional symbol behavior is stated in a compact second sentence. Every phrase adds information.

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?

For a read-only status tool with no output schema, the description covers the main returned data and the key optional behavior. It does not detail error semantics around expect_layout or the meaning of 'gate', but the parameter schema already explains expect_layout's refusal behavior, so the definition is reasonably complete.

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 100%, so the baseline is 3. The description goes beyond the schema by explaining the meaningful consequence of the symbol parameter: it also checks tradability, qty step/min, and chart price. This adds non-obvious parameter semantics that help an agent decide whether to pass a symbol.

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?

The description uses a specific verb ('Read') and a clear resource ('the broker connected inside TradingView'), then enumerates the exact fields returned. This makes the tool's purpose unmistakable and distinguishes it from sibling trading-action tools like tv_place_order or tv_close_position.

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 gives clear context on when to use the tool: to inspect broker/account state, positions, orders, and tradability. It also explains the optional symbol behavior and the read-only nature. It does not explicitly name alternatives or state when not to use it, but the purpose is distinct enough among the siblings.

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