Skip to main content
Glama

Cross-checked: TA + sentiment + price

combined_analysis

Run TradingView technical analysis with news sentiment and cross-check the current price across Finviz and Yahoo in one call to validate market signals from a single response.

Instructions

Technical analysis, news and sentiment in one call, price cross-checked.

Runs the TradingView technical read plus news sentiment, then asks Finviz and Yahoo independently for the latest price to confirm the value the analysis was built on. This composite can legitimately return ALL: the price leg is multi-source. The sentiment payload names its own backend, and the top-level sentiment_source repeats that provenance.

Sentiment needs no API key: Marketaux is used when MARKETAUX_API_TOKEN is set, otherwise Finviz headlines are scored locally. data.news always merges the latest 10 stories from TradingView/Marketaux, Finviz and Yahoo, with per-item providers and consensus; no Marketaux token is required for the other feeds.

Args: symbol: Ticker. exchange: TradingView exchange prefix. timeframe: TradingView interval.

Returns: Envelope with data.analysis, data.sentiment, data.news and data.price_cross_check. The top-level analyst_targets.TRADINGVIEW block preserves the separate scanner rating and forecast target analyst populations. Its name-free summary exposes the three-month total and all five scanner categories directly, with TradingView field provenance. Analyst supplement failures leave the primary analysis in place and are reported with their own capability labels.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "combined_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes
exchangeNoNASDAQ
timeframeNo1D

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the multi-source price leg, that an ALL result is legitimate, that news always merges 10 stories across three providers with per-item provenance, and that a Marketaux token changes only the sentiment backend. It also states a failure mode, that analyst supplement failures leave the primary analysis in place. Some phrasing is hard to act on (e.g. 'can legitimately return ALL') and nothing covers latency or rate limits, so it falls just short of the top mark.

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?

Purpose is front-loaded in the first sentence and the Args/Returns blocks are scannable. However, the middle paragraphs are discursive and partly restate the same provenance point ('the sentiment payload names its own backend, and the top-level sentiment_source repeats that provenance'), and the Returns section duplicates an output schema that already exists.

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?

Given three parameters, no annotations and a real output schema, the description covers scope, data provenance, fallback behavior and degraded-mode expectations well enough to call the tool confidently. The main gap is that the Returns detail is written out longhand even though an output schema exists, so the extra words add less completeness than they appear to.

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 description coverage is 0% and the schema gives only bare titles plus defaults, so the description must compensate. The Args block adds real meaning by tying both optional parameters to TradingView concepts ('TradingView exchange prefix', 'TradingView interval'), but it provides no examples, formats, or allowed interval values, leaving an agent to guess at valid inputs.

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 opening line names a specific composite: technical analysis plus news sentiment plus a Finviz/Yahoo price cross-check, all in one call. It is clearly distinguishable from the single-purpose siblings like technical_analysis or market_sentiment because it describes itself as a composite of those legs with an additional independent price confirmation.

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

Usage Guidelines4/5

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

The 'in one call' framing makes the selection condition clear: use this when you need technicals, sentiment and a price check together rather than calling the parts separately. It also adds a practically relevant setup condition (works with no Marketaux token, degrades to locally-scored Finviz headlines). It stops short of explicitly excluding cases or naming a sibling to use instead when only one leg is needed.

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