Skip to main content
Glama
pbajkovic-hub

tv-cdp-mcp

tv_get_study_inputs

Read-only

Retrieve a TradingView study's input parameters, including human-readable names, types, options, and ranges, by study ID or name substring. Read-only tool for inspecting indicator configurations.

Instructions

Read one study's inputs with their human names, types, options and ranges. Accepts a study id or a case-insensitive name substring. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studyYesstudy id (e.g. "7yFltV") or a case-insensitive part of its name
filterNoonly return inputs whose id, name or group contains this text (case-insensitive)
layoutNochart layout id or index; default active
expect_layoutNolayout id the tab is expected to show right now; the call refuses if it differs (a tab keeps its target id when the user opens another layout in it)
include_blobsNoreturn string values longer than 500 chars verbatim instead of { truncated, length }; default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so 'Read-only' adds no new safety information. The description does add useful behavioral detail about accepting a case-insensitive name substring, but it does not disclose behavior for no-match or ambiguous-match cases.

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 short, front-loaded with the core purpose, and uses three clear sentences without fluff. The 'Read-only' note is slightly redundant with annotations but costs one word and does not harm clarity.

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 single-study tool with fully documented parameters, the description covers enough: what it reads, how the study is identified, and what output content to expect. Minor gaps like ambiguity handling and return format details are acceptable given the schema coverage and annotations.

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 has 100% coverage, with each parameter, including 'study' and 'filter', already described. The description adds no parameter meaning beyond lightly restating the 'study' parameter's matching behavior, so the baseline of 3 is appropriate.

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 a specific verb ('Read') and resource ('one study's inputs'), and enumerates what is returned (human names, types, options, ranges). This unambiguously distinguishes it from related tools like tv_get_study_values or tv_set_study_inputs, even without naming them.

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 conveys that this is the read-only retrieval tool for study inputs, which implies when to use it versus tv_set_study_inputs. However, it does not explicitly mention alternatives or provide exclusion criteria, leaving the routing decision to inference.

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