Skip to main content
Glama
tynorn1

Indian Stock Analysis MCP Server

by tynorn1

forecast_arima_model

Forecast Indian stock prices with ARIMA models, delivering confidence intervals, validation metrics, and visual historical charts.

Instructions

Generate ARIMA model forecasts with confidence intervals and validation.

Provides:

  • Multi-period forecasting with confidence bands

  • Model validation and quality checks

  • Visual forecast charts with historical data

  • Performance metrics and accuracy indicators

  • Error handling with fallback strategies

Args: ticker: Stock ticker symbol (e.g., 'RELIANCE', 'TCS', 'INFY') periods: Number of periods to forecast (default: 20 trading days) confidence: Confidence interval level (0.8-0.99, default: 0.95) p: AR order (None for auto-selection) d: Differencing order (default 1 for stock prices) q: MA order (None for auto-selection) auto_select: Use pmdarima auto_arima for parameter selection (True) or manual (False) lags: Number of lags for analysis (default 40, used for fallback ACF/PACF) period: Time period for training data ('1mo', '3mo', '6mo', '1y', '2y', '5y') transform: Data transformation type ("log", "boxcox", or None for no transformation)

Returns: List containing text analysis and ImageContent with forecast plot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dNo
pNo
qNo
lagsNo
periodNo1y
tickerYes
periodsNo
transformNo
confidenceNo
auto_selectNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does this well by stating that the tool returns a list containing text analysis and an ImageContent plot, includes validation and quality checks, and has error handling with fallback strategies. It stops short of detailing what those fallback strategies are or how validation behaves, but the disclosed behavior is substantial and useful.

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?

The description is well-structured with a purpose statement, a bulleted feature list, an Args section, and a Returns section. It is longer than minimal, but the length is justified by the need to document 10 parameters. Minor redundancy exists between 'Model validation and quality checks' and 'Performance metrics and accuracy indicators,' but overall it is organized and front-loaded.

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 complex tool with 10 parameters, no annotations, and no output schema, the description is largely complete: it documents all parameters, explains the return format, and mentions error handling. It could be improved by clarifying prerequisites like data availability or how to interpret the returned metrics, but nothing essential for invoking the tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the schema's lack of parameter documentation. It does so thoroughly: every parameter is explained with defaults, ranges, examples, and options (e.g., confidence 0.8-0.99, period choices like '1mo'/'1y', transform types). This adds significant meaning beyond the bare schema definitions.

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 opens with a specific verb and resource: 'Generate ARIMA model forecasts with confidence intervals and validation.' It clearly distinguishes this tool from siblings like forecast_prophet_model by naming ARIMA as the modeling approach, and from train_arima_model/arima_model_diagnostics by emphasizing forecasting output rather than training or diagnostics.

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?

The description explains what the tool does but provides no explicit guidance on when to choose it over alternatives such as forecast_prophet_model, train_arima_model, or arima_model_diagnostics. There are no stated exclusions or conditions that would route an agent to a sibling tool, leaving the selection decision to inference.

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

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/tynorn1/stock-analysis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server