Skip to main content
Glama
webdata-tools-mcp

webdata-tools-mcp

Analyze stocks: bullish or bearish, with levels

analyze_stocks
Read-onlyIdempotent

Get a bullish-to-bearish verdict with confidence, supporting reasons, support/resistance levels and a likely 5-day range for any ticker, plus backtested custom rules to validate your trade ideas.

Instructions

A plain answer per ticker (stocks, ETFs, indices, crypto, FX; any exchange): bullish to bearish verdict with confidence, the reasons and what disagrees, support and resistance, volatility stops, the likely 5-day range, today's session (pre-market, gap and how similar gaps went on this ticker), analysts' view and next earnings. Optional rules are checked now and backtested on the ticker's history. Runs the Apify Actor tacps126/stock-analyzer on your Apify account (about $0.002 per ticker; spend per call is capped at $0.5).

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": {
      "tickers": "<tickers>"
    },
    "name": "analyze_stocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesNoOwn rules, one per item, checked now and backtested on the ticker's history. Shape: [Name =] [bearish:] condition. Bullish by default (tested for a rise afterwards); start with bearish: to test for a fall. Columns: open, high, low, close, volume, or any indicator written name_settings (no need to request it first): rsi_14, sma_50, sma_200, ema_20, macd_12_26_9, macd_signal_12_26_9, macd_hist_12_26_9, bb_upper_20_2, bb_lower_20_2, atr_14, atrp_14, adx_14, stoch_k_14_3_3, cci_20, mfi_14, willr_14, roc_10, mom_10, supertrend_dir_10_3, highest_20, lowest_20, stdev_20, zscore_20, relvol_20, vwma_20, hma_20, wma_20, obv. Operators: < > <= >= == !=, and, or, not, crosses above, crosses below, is rising, is falling, + - * /, abs(x), min(a, b), max(a, b), brackets, x[n] = value n bars ago. Examples: "rsi_14 crosses above 30"; "bearish: close < sma_200 and rsi_14 > 60"; "Breakout = close > highest_20[1] and relvol_20 > 1.5". Prefer rule_presets when one fits.
tickersYesTickers as on Yahoo Finance or TradingView, e.g. ["AAPL", "SAP.DE", "BTC-USD", "NASDAQ:NVDA"].
extra_inputNoAdvanced: extra Actor input fields, merged over the defaults.
rule_presetsNoReady-made rules to check and backtest.
only_matchingNoOnly return tickers where a rule is true now (screener).

Output Schema

NameRequiredDescriptionDefault
toolYesName of the tool that produced the result.
countYesNumber of records the Actor returned.
itemsYesThe records. Long text fields are shortened to 600 characters.
shownYesNumber of records included in `items` (can be lower than count when the result is long).
truncatedYesTrue when records were left out to keep the result short; ask for fewer items.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.21.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), so the description earns credit for the extra operational facts: it runs Apify Actor tacps126/stock-analyzer on the caller's account at roughly $0.002 per ticker with a $0.5 per-call cap. It does not state latency, data freshness, or what happens when a backtest has too little history, which keeps it below a 5.

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

Conciseness4/5

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

A single dense paragraph, correctly front-loaded with the answer shape and asset coverage before the cost and Actor details. Almost every clause carries information, though the run of comma-separated outputs is long enough to border on a list that would read better as bullets.

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 an output schema exists, the description needn't describe return values, and it does cover scope, asset classes, cost and per-call cap. The gaps are minor: no mention of batching behavior for many tickers, typical latency, or how screener mode interacts with the backtest output.

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 100%, with rules, tickers, rule_presets, only_matching and extra_input all documented in detail, so the schema does the heavy lifting. The description only adds that rules are checked now and backtested against the ticker's history, which is a marginal restatement of the schema rather than new meaning.

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?

States a specific verb-plus-resource (per-ticker stock analysis) and enumerates the concrete output: bullish/bearish verdict with confidence, reasons, disagreement, support/resistance, volatility stops, 5-day range, session/gap behavior, analyst view and earnings. Supported asset classes and exchanges are spelled out, so an agent can tell this apart from narrower market-data siblings without opening the schema.

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?

Usage is implied by the content (deep per-ticker analysis, optional rule backtesting, screener mode via only_matching), but the description never states when to choose this over get_stock_market_data or get_market_pulse, nor any prerequisites or exclusions. The 'prefer rule_presets' hint lives only in the schema, not the description.

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