Skip to main content
Glama

crypto-stocks-mcp

get_historical_prices

Fetch historical stock price data for crypto-related stocks in a table format, including date, closing price, and volume, over a specified number of days.

Instructions

Fetch historical stock prices for the given ticker over the specified number of days in a table format.

Args: ticker (str): The stock ticker symbol (e.g., 'COIN' for Coinbase). days (int, optional): Number of days for historical data (default: 30). Returns: str: An ASCII table string containing the date, closing price, and volume for the specified stock. Returns an error message if the ticker is invalid.

Input Schema

NameRequiredDescriptionDefault
daysNo
tickerYes

Input Schema (JSON Schema)

{ "properties": { "days": { "default": 30, "title": "Days", "type": "integer" }, "ticker": { "title": "Ticker", "type": "string" } }, "required": [ "ticker" ], "title": "get_historical_pricesArguments", "type": "object" }

Other Tools from crypto-stocks-mcp

Related Tools

    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/kukapay/crypto-stocks-mcp'

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