Skip to main content
Glama
daviddme

TradingView Unified MCP

by daviddme

pine_compile

Submit Add/Update on chart only for the exact expected buffer and title; require new compile success evidence or report failure/unverified.

Instructions

Submit Add/Update on chart only for the exact expected buffer and title; require new compile success evidence or report failure/unverified.

Input Schema

NameRequiredDescriptionDefault
target_idYesExact Chrome tab target ID from browser_list_tabs. Required for changes.
expected_titleYes
expected_layout_idYesExpected saved-layout ID. A mismatch stops the operation before writing.
expected_source_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so writing behavior is partly covered. The description adds real value by disclosing the guard semantics (exact expected buffer/title required) and the postcondition (it demands new compile-success evidence or reports failure/unverified), but it does not say what happens to existing chart state on success or how 'unverified' differs from 'failure'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense sentence with no filler, and the action is front-loaded. But the semicolon-chained clauses ('only for the exact expected buffer and title; require new compile success evidence or report failure/unverified') read as terse pseudo-instructions rather than a clear statement, hurting scanability.

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

Completeness3/5

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

For a 4-required-parameter, open-world, non-idempotent mutation with no output schema, the description should clarify preconditions and return outcomes. It hints at outcomes ('failure/unverified') and guards, but leaves out what success returns, what 'compile success evidence' means concretely, and how the buffer/title checks relate to the other two parameters.

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?

Schema coverage is 50%: target_id and expected_layout_id are documented in the schema, while expected_source_sha256 and expected_title are not. The description implicitly maps 'exact expected buffer and title' to those two undocumented parameters, which recovers some of the gap, but it adds no format or semantics for the hash or title matching beyond the schema's pattern/minLength constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names an action ("Submit Add/Update on chart") and a resource, and pairs it with compile-success verification, so with the tool name it is roughly interpretable as 'compile and apply the Pine buffer to the chart'. However, the phrasing is jargon-heavy and never plainly states 'compiles the current Pine buffer and attaches/updates it on the chart', so an agent must infer the purpose from the name more than the text.

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?

It states a precondition (only when the buffer hash and title match exactly) but gives no when-to-use guidance relative to siblings like pine_check, pine_analyze, pine_save, or pine_set_source. An agent cannot tell from the description whether it should validate first with pine_check or whether this tool is the compile-and-apply step.

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

Deploy Server

Other Tools