Skip to main content
Glama
firyomaefx

TradingView Chrome MCP

by firyomaefx

tv_rename_script

Destructive

Rename the current Pine script using the editor title menu's Rename option. This action directly changes the saved script name.

Instructions

Rename the current Pine script via the editor title menu (Rename...). DESTRUCTIVE: changes the saved script name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNew script name (1-80 chars, alphanumeric, spaces, dashes, underscores).
Behavior3/5

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

Annotations already declare destructiveHint: true. The description reinforces this by stating 'DESTRUCTIVE: changes the saved script name,' but adds no further behavioral context beyond confirming the annotation.

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 two sentences, front-loads the purpose, and includes a warning. No unnecessary 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 simple tool with one parameter and no output schema, the description covers the core function and destructive nature. It could mention that the script must be open, but that is implied by 'current Pine script.'

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 input schema fully documents the 'name' parameter with constraints. The description does not add additional meaning beyond what the schema provides, so baseline score of 3 applies.

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 states the specific action (rename), the resource (current Pine script), and the method (via editor title menu). It clearly distinguishes from sibling tools like tv_layout_rename.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is used when a Pine script is open and you want to rename it, but it does not provide explicit guidelines on when to use or avoid this tool, nor does it mention alternatives.

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

Install Server

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/firyomaefx/tradingview-chrome-mcp'

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