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_trend_analysis_prompt | Prompt for Taiwan stock trend analysis using TWSE OpenAPI endpoints. |
foreign_investment_analysis | Prompt for foreign investment analysis using TWSE OpenAPI endpoints. |
market_hotspot_monitoring | Prompt for market hotspot monitoring using TWSE OpenAPI endpoints. |
dividend_investment_strategy | Prompt for dividend investment strategy using TWSE OpenAPI endpoints. |
investment_screening | Prompt for investment screening using TWSE OpenAPI endpoints. |
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_company_profile | Obtain the basic information of a listed company as a JSON string object based on its stock code. |
get_company_dividend | Obtain the dividend distribution information of a listed company based on its stock code. |
get_company_monthly_revenue | Obtain monthly revenue information for a listed company based on its stock code. |
get_company_income_statement | Obtain comprehensive income statement for a listed company based on its stock code. Automatically detects company industry and uses appropriate financial statement format:
|
get_company_balance_sheet | Obtain balance sheet for a listed company based on its stock code. Automatically detects company industry and uses appropriate financial statement format:
|
get_company_governance_info | Obtain corporate governance information for a listed company based on its stock code. |
get_company_climate_management | Obtain climate-related management information for a listed company based on its stock code. |
get_company_risk_management | Obtain risk management policy information for a listed company based on its stock code. |
get_company_supply_chain_management | Obtain supply chain management information for a listed company based on its stock code. |
get_company_info_security | Obtain information security data for a listed company based on its stock code. |
get_company_major_news | Get daily major announcements from listed companies. Retrieves important company announcements and material information disclosures that may impact stock prices and investor decisions. Can filter by company code or get all announcements. Args: code: Company stock code (optional). If provided, filters results for specific company. If empty, returns all major announcements. Returns: Formatted string containing major announcements including: - Report date (出表日期) - Announcement date (發言日期) - Announcement time (發言時間) - Company code (公司代號) - Company name (公司名稱) - Subject/Title (主旨) - Applicable regulations (符合條款) - Event occurrence date (事實發生日) - Description/Details (說明) |
get_twse_news | Get latest news from Taiwan Stock Exchange. Retrieves official news announcements from TWSE including market updates, regulatory changes, system maintenance notices, and other important information for market participants. Returns: Formatted string containing TWSE news including: - Title (標題) - URL/Link (連結) - Date (日期) |
get_twse_events | Get Taiwan Stock Exchange event announcements and activities. Retrieves information about TWSE organized events, seminars, training sessions, and other activities that may be of interest to market participants and investors. Returns: Formatted string containing TWSE events including: - Event number (No) - Event title/subject (活動主題) - Event details (詳細內容) |
get_stock_daily_trading | Obtain daily trading information for a listed company stock based on its stock code. |
get_stock_monthly_average | Obtain daily closing price and monthly average price for a listed company stock based on its stock code. |
get_stock_monthly_trading | Obtain monthly trading information for a listed company stock based on its stock code. |
get_stock_yearly_trading | Obtain yearly trading information for a listed company stock based on its stock code. |
get_stock_valuation_ratios | Obtain P/E ratio, dividend yield, and P/B ratio for a listed company stock based on its stock code. |
get_etf_regular_investment_ranking | Get top 10 securities by number of regular investment accounts (定期定額). Retrieves ranking statistics for both individual stocks and ETFs based on the number of trading accounts using regular investment plans. This data helps identify the most popular securities for systematic investment strategies. Returns: Formatted string containing top 10 regular investment rankings including: - Ranking number (排序) - Stock code (股票代號) - Stock name (股票名稱) - Number of stock trading accounts (股票交易戶數) - ETF code (ETF代號) - ETF name (ETF名稱) - Number of ETF trading accounts (ETF交易戶數) |
get_warrant_basic_info | Get basic information of listed warrants. Retrieves comprehensive basic data for all listed warrants including warrant codes, types, exercise periods, underlying assets, and other key parameters. Can filter by specific warrant code if provided. Args: code: Warrant code (optional). If provided, filters results for specific warrant. If empty, returns all warrant basic information. Returns: Formatted string containing warrant basic information including: - Report date (出表日期) - Warrant code (權證代號) - Warrant name (權證簡稱) - Warrant type (權證類型) - Category (類別) - Market maker quoting method (流動量提供者報價方式) - Exercise start date (履約開始日) - Last trading date (最後交易日) - Exercise deadline (履約截止日) - And other warrant specifications |
get_warrant_daily_trading | Get daily trading data for listed call/put warrants. Retrieves daily trading volume and value statistics for warrants, including transaction amounts and number of contracts traded. Args: code: Warrant code (optional). If provided, filters results for specific warrant. If empty, returns all warrant trading data. Returns: Formatted string containing warrant daily trading data including: - Report date (出表日期) - Trading date (交易日期) - Warrant code (權證代號) - Warrant name (權證名稱) - Trading value (成交金額) - Trading volume in lots (成交張數) |
get_warrant_trader_count | Get daily number of warrant traders. Retrieves statistics on the number of individual traders participating in warrant trading on each trading day, providing insights into warrant market participation levels. Returns: Formatted string containing warrant trader count data including: - Report date (出表日期) - Trading date (日期) - Number of traders (人數) |
get_dividend_rights_schedule | Get ex-dividend and ex-rights schedule for listed stocks. Retrieves upcoming and historical ex-dividend/ex-rights dates along with detailed information about stock dividends, cash dividends, rights offerings, and other corporate actions. Essential for dividend investment strategies. Args: code: Stock code (optional). If provided, filters results for specific company. If empty, returns all upcoming dividend/rights schedules. Returns: Formatted string containing dividend/rights schedule including: - Ex-dividend/rights date (除權息日期) - Stock code (股票代號) - Company name (名稱) - Ex-dividend/rights type (除權息) - Stock dividend ratio (無償配股率) - Rights offering ratio (現金增資配股率) - Rights offering price per share (現金增資認購價) - Cash dividend (現金股利) - Number of shares offered (配股張數) - And other corporate action details |
get_market_index_info | Obtain daily market closing information and overall market statistics. |
get_market_historical_index | Obtain historical TAIEX (Taiwan Capitalization Weighted Stock Index) data for long-term trend analysis. |
get_margin_trading_info | Obtain margin trading and short selling balance information for the market. |
get_real_time_trading_stats | Obtain real-time 5-second trading statistics including order volumes and transaction counts. |
get_foreign_investment_by_industry | Get foreign and mainland China investment holding ratios by industry category. Returns comprehensive statistics of foreign investment holdings across different industry sectors in the Taiwan stock market, including the number of companies, total issued shares, foreign holdings, and holding percentages by industry. Returns: Formatted string containing foreign investment statistics by industry including: - Industry category (產業別) - Number of companies (家數) - Total issued shares (總發行股數) - Foreign and mainland China total holdings (僑外資及陸資持有總股數) - Foreign and mainland China holding percentage (僑外資及陸資持股比率) |
get_top_foreign_holdings | Get top 20 companies by foreign and mainland China investment holdings. Returns the ranking of companies with highest foreign investment holdings, including detailed information about investment limits, current holdings, and available investment capacity for each company. Returns: Formatted string containing top 20 foreign holdings including: - Ranking (排行) - Stock code (證券代號) - Stock name (證券名稱) - Issued shares (發行股數) - Available investment shares (外資及陸資尚可投資股數) - Current foreign holdings (全體外資及陸資持有股數) - Available investment ratio (全體外資及陸資尚可投資比率) - Current holding ratio (全體外資及陸資持股比率) - Investment upper limit (投資上限) |