Skip to main content
Glama
FerroxLabs

TVControl

by FerroxLabs

pine_get_console

Read Pine Script console/log output including compile messages, log.info(), and errors to identify and resolve script issues in TradingView.

Instructions

Read Pine Script console/log output (compile messages, log.info(), errors)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It uses the verb 'Read', which implies a non-destructive, read-only operation, but it does not disclose whether the tool returns a single string, a list, or whether it requires a prior compilation or open console. It lacks explicit statements about side effects, auth requirements, or failure modes, leaving the agent with only partial information.

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 a single, front-loaded sentence that states the main action and resource, followed by parenthetical examples. Every element earns its place, with no wasted words or redundant information. It is appropriately sized for a zero-parameter read 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 simple, zero-parameter read-only tool, the description is mostly complete. It clearly names the output types (compile messages, log.info(), errors). However, without an output schema, it does not specify the exact return shape (e.g., raw string vs. array of messages), which would be helpful. Still, given the tool's low complexity, this is a minor gap.

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?

The tool has zero parameters, so the baseline is 4. The description does not need to explain parameter semantics, and the schema's empty properties object confirms there are none. No additional meaning is required.

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 resource ('Pine Script console/log output') and gives concrete examples of content (compile messages, log.info(), errors). It clearly distinguishes from siblings like pine_get_errors (which likely returns only errors) and pine_get_source (which returns source code), making the tool's purpose unambiguous.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus alternatives such as pine_get_errors or pine_compile. The description implies it is for reading console output, but it does not explicitly state prerequisites, whether it should be called after compilation, or which scenarios would warrant using a different tool. This is a clear gap.

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/FerroxLabs/tvcontrol'

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