Skip to main content
Glama
FerroxLabs

TVControl

by FerroxLabs

data_get_pine_labels

Retrieve text labels drawn by Pine Script indicators, returning text and price pairs. Optionally filter by study name to target a specific indicator.

Instructions

Read text labels drawn by Pine Script indicators (label.new). Returns text and price pairs. Use study_filter to target a specific indicator.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
verboseNoReturn raw label data with IDs, colors, positions (default false — returns only text + price)
max_labelsNoMax labels per study (default 50). Set higher if you need all.
study_filterNoSubstring to match study name. Omit for all.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It clearly identifies the operation as reading (non-mutating) and describes the output as 'text and price pairs'. However, it does not disclose edge cases like empty results, behavior when study_filter matches nothing, or whether it requires a chart with loaded indicators. The behavior is adequately but not richly described.

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 concise sentences, front-loaded with the action and resource, and includes a practical usage hint. No wasted words.

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 tool with three simple optional parameters and no output schema, the description provides enough context: it states purpose, return format, and how to target specific indicators. It could mention what happens when no labels are found or clarify multi-study behavior, but overall it is reasonably complete for the tool's complexity.

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 already covers all three parameters with clear descriptions (verbose, max_labels, study_filter), and the schema description coverage is 100%. The description mentions study_filter but adds no new meaning beyond the schema. Baseline of 3 is appropriate since the schema does the heavy lifting.

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?

Description uses specific verb 'Read' and names the exact resource: 'text labels drawn by Pine Script indicators (label.new)'. It also states the return format ('text and price pairs'), which distinguishes it from sibling tools like data_get_pine_lines and data_get_pine_boxes.

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 provides a usage hint: 'Use study_filter to target a specific indicator.' This implies the tool can read from all indicators when no filter is applied. However, it does not explicitly contrast with alternatives such as data_get_pine_lines or data_get_indicator, so while context is present, exclusions or alternative selection guidance are missing.

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