Skip to main content
Glama
FerroxLabs

TVControl

by FerroxLabs

state_restore

Restore a saved TradingView chart state snapshot by name, replacing all current studies and drawings. Take a snapshot first to preserve existing chart state.

Instructions

Restore a saved chart state snapshot by name. DESTRUCTIVE: this makes the chart MATCH the snapshot, which removes every study and every drawing that is not in it. Take a state_snapshot of the current chart first if you might want it back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesSnapshot name to restore
Install Server

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden. It explicitly labels the operation as DESTRUCTIVE and details the exact consequence: 'this makes the chart MATCH the snapshot, which removes every study and every drawing that is not in it.' It also advises a precautionary action (take a snapshot first), providing thorough behavioral disclosure.

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?

The description is concise and front-loaded: the first sentence states the purpose, the second explains the destructive behavior. Every word earns its place, with no fluff or redundancy. It effectively communicates the key warning without excessive detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a single parameter, no output schema, and the destructive nature, the description covers all essential aspects: what it does, what it destroys, and how to protect against loss. An agent has enough to call it correctly and understand consequences. There is no missing information that would affect invocation.

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?

The schema already describes the 'name' parameter as 'Snapshot name to restore' with 100% coverage. The description adds no additional semantics about the parameter, only restating that it is restored by name. This meets the baseline for full schema coverage without adding extra value.

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 clearly states the action: 'Restore a saved chart state snapshot by name.' It specifies the resource (chart state snapshot) and the verb (restore). It also distinguishes itself from siblings like state_snapshot (create) and state_delete by focusing on applying a snapshot, and the destructive effect further clarifies its unique role.

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 description does not explicitly name alternatives, but it provides a clear warning to take a snapshot first if the current state is needed, which guides when to use this tool versus state_snapshot. It implies usage context—when you have a saved snapshot and want to apply it—but does not state explicit 'use when' or 'use instead' scenarios.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FerroxLabs/tvcontrol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server