Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ETRADE_ENVIRONMENT | No | sandbox or production (default: sandbox) | sandbox |
| ETRADE_CONSUMER_KEY | Yes | Your E*TRADE consumer key (required) | |
| ETRADE_PROD_BASE_URL | No | Production API URL (default: https://api.etrade.com) | https://api.etrade.com |
| ETRADE_CONSUMER_SECRET | Yes | Your E*TRADE consumer secret (required) | |
| ETRADE_SANDBOX_BASE_URL | No | Sandbox API URL (default: https://apisb.etrade.com) | https://apisb.etrade.com |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| etrade_get_auth_url | Get E*TRADE OAuth authorization URL. This is the first step in authentication - returns a URL for the user to visit. Returns: Authorization URL that the user should visit in their browser |
| etrade_authenticate | Complete E*TRADE OAuth authentication with verification code. Args: verifier: The verification code received after authorizing the application Returns: Success message |
| etrade_get_quote | Get stock quote for one or more symbols. Args: symbols: Comma-separated list of stock symbols (e.g., "AAPL", "MSFT,GOOGL") require_earnings_date: If true, return next earnings date skip_mini_options_check: If true, skip check for mini options Returns: Quote data including price, volume, bid/ask, and other market information |
| etrade_lookup_product | Look up products by symbol or company name. Args: search: Full or partial symbol name to search for company: Full or partial company name (optional) type: Security type - EQ (equity), MF (mutual fund), OPTN (option) (optional) Returns: List of matching products with details |
| etrade_get_option_chains | Get option chains for a symbol. Args: symbol: Underlying stock symbol (e.g., "AAPL") expiry_year: Expiration year (4-digit, e.g., 2024) expiry_month: Expiration month (1-12) expiry_day: Expiration day (1-31) strike_price_near: Strike price near this value no_of_strikes: Number of strikes to return include_weekly: Include weekly options skip_adjusted: Skip adjusted options option_category: STANDARD, ALL, or MINI chain_type: CALL, PUT, or CALLPUT price_type: ATNM (at the money) or ALL Returns: Option chain data with available strikes and expiration dates |
| etrade_get_option_expire_dates | Get option expiration dates for a symbol. Args: symbol: Underlying stock symbol (e.g., "AAPL") expiry_type: WEEKLY, MONTHLY, QUARTERLY, or ALL (optional) Returns: List of available expiration dates for options |