Skip to main content
Glama

ui_open_panel

Controls bottom dock panels in TradingView—open, close, or toggle Pine Editor, Strategy Tester, watchlist, alerts, or trading views before interacting with them.

Instructions

Open, close, or toggle bottom dock panels in TradingView window (pine-editor, strategy-tester, watchlist, alerts, trading). WHEN TO USE: Call before interacting with Pine Editor or Strategy Tester to ensure panel visibility. SIDE EFFECTS: STATE_MUTATING (Alters bottom panel visibility state). LIMITATIONS: Supported panels: pine-editor, strategy-tester, watchlist, alerts, trading.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
panelYesPanel name
actionYesAction to perform

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the key trait: SIDE EFFECTS: STATE_MUTATING, altering bottom panel visibility. The LIMITATIONS section bounds the panel set. It doesn't say whether the operation is idempotent or what it returns, but the mutation profile is stated.

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?

Front-loaded with the core action, then labeled WHEN TO USE / SIDE EFFECTS / LIMITATIONS sections. Efficient, though the labeled format is slightly verbose for a two-parameter tool.

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 tool with no output schema and no annotations, the description covers purpose, trigger conditions, side effects, and supported values. Coverage is solid; only return behavior and failure modes are unaddressed.

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

Parameters3/5

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

Schema coverage is 100% with enums on both parameters, so the schema already documents panel names and actions. The description's supported-panel list merely restates the enum values, adding no syntax or edge-case detail beyond the 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?

States a specific action set (open/close/toggle) on a specific resource (bottom dock panels) and enumerates the supported panels, which cleanly distinguishes it from UI siblings like ui_fullscreen and pane_set_layout. An agent can tell at a glance that this controls bottom-panel visibility.

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?

The WHEN TO USE clause gives a concrete trigger: call before interacting with Pine Editor or Strategy Tester. It lacks explicit exclusions or named alternatives for the other three panels, but the primary workflow guidance is clear.

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