Skip to main content
Glama

Finance Tools MCP

by VoxLink-org

calc_ta

Calculate technical indicators using ta-lib-python and numpy. Evaluate expression strings like 'ta.SMA(close, timeperiod=30)' with specified tickers. Integrates with cached price data from 'get_price_data' for accurate analysis.

Instructions

Calculate technical indicators using ta-lib-python (TA-lib) and numpy. This tool evaluates a given expression string using the ta-lib-python library. The expression should follow ta-lib-python syntax, for example: - 'ta.SMA(close, timeperiod=30)' with the ticker 'AAPL' - 'ta.ROC(close, timeperiod=30)' with the ticker 'MSFT' - 'ta.RSI(close, timeperiod=14)[-1]' with the ticker 'NVDA' You must specify a ticker to use the cached price data if you've used the 'get_price_data' tool with the same ticker. If not, the expression will be evaluated in a context where only ta-lib-python and numpy are available. The expression string is evaluated in a context where the ta-lib-python library is available as 'ta' and numpy is available as 'np'.

Input Schema

NameRequiredDescriptionDefault
ta_lib_expressionYes
tickerNo

Input Schema (JSON Schema)

{ "properties": { "ta_lib_expression": { "title": "Ta Lib Expression", "type": "string" }, "ticker": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Ticker" } }, "required": [ "ta_lib_expression" ], "title": "calc_taArguments", "type": "object" }

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/VoxLink-org/finance-tools-mcp'

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