Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
stock_query | Generate a prompt for querying stock information. Args: ticker (str): The stock ticker symbol (e.g., 'COIN' for Coinbase). Returns: str: A prompt string for querying stock information, or an error message if the ticker is invalid. |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_stock_list | Return a list of available crypto-related stocks in a table format. Returns:
str: An ASCII table string containing the ticker and name of crypto-related stocks. |
get_stock_price | Get real-time price for a specific stock in a table format. Args:
ticker (str): The stock ticker symbol (e.g., 'COIN' for Coinbase).
Returns:
str: An ASCII table string containing the ticker, company name, current price, and timestamp.
Returns an error message if the ticker is invalid. |
get_historical_prices | 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. |