Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BLS_API_KEYNoOptional free BLS API key to raise limit from 25 to 500 queries/day and enable longer history.
SEC_USER_AGENTNoA descriptive user agent with a real contact address (e.g., 'Your Name (you@example.com)') required for SEC EDGAR tools. Requests are refused locally without one.
WEBULL_APP_KEYNoWebull app key for OpenAPI. Used for broker feed and account tools.
FINMCP_BAR_CACHENoSet to '0' to disable the on-disk bar cache shared between the MCP server and dashboard.1
WEBULL_REGION_IDNoWebull region code. Also controls the Yahoo .BK ticker fallback.th
WEBULL_ACCOUNT_IDNoPin a specific Webull account. Required if your login has more than one account; otherwise the server refuses to guess.
WEBULL_APP_SECRETNoWebull app secret for OpenAPI.
WEBULL_ENVIRONMENTNoSet to 'prod' (default) for live trading, or 'paper' (aliases: uat, sandbox, simulated) for Webull's sandbox environment. Note: 'paper' repoints the entire client to the sandbox, including quotes.prod
WEBULL_MAX_RETRIESNoMaximum number of retries for rate-limited Webull API calls before falling back.3
WEBULL_PAPER_APP_KEYNoOptional paper mode app key for Webull's sandbox. Required only if using WEBULL_ENVIRONMENT=paper and you have a separate sandbox app.
WEBULL_RETRY_BACKOFFNoBase seconds for exponential backoff on HTTP 429 responses from Webull.0.75
WEBULL_PAPER_APP_SECRETNoOptional paper mode app secret for Webull's sandbox.
WEBULL_MIN_REQUEST_INTERVALNoMinimum seconds between Webull API calls to avoid rate limiting.0.25

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_connectionA

Tests the configured price feed and its Yahoo Finance fallback.

get_market_analysisA

Price action and 50+ technical indicators for a symbol, reported as measured values with each indicator's own standard reading (oversold / overbought, above / below its signal line, inside / outside its band).

This is the usual starting point for a single symbol. For the full picture including fundamentals, filings and insider activity, call get_company_profile instead of chaining calls. If you only need the bars, get_ohlcv is cheaper; to ask whether the daily, hourly and 15-minute pictures agree, use get_multi_timeframe.

No BUY/SELL score is produced unless you ask for one. The composite verdict is a fixed-weight heuristic that underperformed buy-and-hold in backtest, and an unvalidated score anchors judgment even when it is labelled unvalidated — so the default is to hand back the evidence and leave the call to the reader.

log_journal_entryA

Logs a trade, market thesis, or trading theorem to the local Trading Journal database. Includes atomic file writing & de-duplication protection.

get_ohlcvA

Fetches raw OHLCV (Open, High, Low, Close, Volume) candlestick bars for a symbol. Use when you need the price series itself — to eyeball recent action or do your own maths.

This is the cheapest of the three price tools and the only one that returns bars. For indicators and a reading of them use get_market_analysis; for whether the daily, hourly and 15-minute pictures agree use get_multi_timeframe.

get_options_chainA

Option chain around the money, with IV rank and the market-implied expected move at the top — the two numbers that tell you whether the board is cheap or dear and how far it is priced to travel.

Strikes are selected to bracket spot, not taken from one end of the ladder. For greeks and put/call skew as well, call get_options_analytics; to hunt unusual flow call get_unusual_options.

scan_watchlistA

Ranks a list of tickers by consensus score and market regime.

The ranking is the same fixed-weight heuristic get_market_analysis declines to lead with — it underperformed buy-and-hold in backtest — so read the table as the order in which to look at these names, not as a set of calls. Each row carries the measurements the score came from.

get_multi_timeframeA

Whether the daily, hourly and 15-minute pictures agree, for one symbol.

Runs the same indicator set on D, H1 and M15 and reports each timeframe's consensus score beside a weighted Confluence Score. The score answers one narrow question — do the timeframes point the same way — and is the same fixed-weight heuristic get_market_analysis declines to lead with: it underperformed buy-and-hold in backtest and is not a signal. Read it as a measure of agreement, not of direction.

For the bars themselves use get_ohlcv; for one timeframe in full detail, with every indicator's own reading, use get_market_analysis.

compare_symbolsA

Compares relative strength, price correlation, and return performance between two tickers.

get_journal_summaryA

Queries local Trading Journal DB for win rate, total trades, average confidence, and recent trade logs.

get_earningsA

Next earnings date, historical EPS estimates vs actuals, and — critically — whether the upcoming date is CONFIRMED or merely Yahoo's ESTIMATE.

Yahoo publishes an estimated report date as a window ("Oct 28 - Nov 3") and a set one as a single day. Both look identical once formatted, so an estimated date can read as fact and be wrong by a week. This tool says which it is.

Past quarters are confirmed against the SEC: an 8-K carrying Item 2.02 ("Results of Operations") is the filing a company makes when it actually releases a quarter, and its acceptance timestamp is authoritative to the second.

get_sector_heatmapA

Scans the 11 major S&P sector ETFs (Technology, Financials, Energy, Healthcare, Industrial, Consumer, Utilities, Real Estate, Materials) by momentum to identify sector rotation.

set_alertA

Sets a local price or technical indicator alert for a ticker (e.g. "RSI < 30" or "PRICE > 250").

get_unusual_optionsA

Screens one symbol's option chain for contracts trading unusually heavily.

Two threshold tests: volume above open interest (more contracts changed hands today than were outstanding) and implied volatility above 50%. Both describe the tape, not who is on the other side of it — the feed carries no identity, so nothing here establishes intent or direction.

For the chain itself with IV rank and the implied move use get_options_chain; for greeks, skew and the ATM straddle use get_options_analytics.

get_short_interestA

Fetches short interest metrics (Short % of Float, Days to Cover / Short Ratio, Shares Short) for squeeze or squeeze-fade thesis.

get_newsA

Fetches the most recent news headlines for a given stock using Yahoo Finance. Crucial for analyzing fundamental catalysts or identifying the source of technical momentum breakouts.

get_company_profileA

Everything worth knowing about a company, in one call. Start here for an open-ended question — and narrow it for a specific one.

Answers "tell me about X" without the caller needing to know which of the other tools to reach for: what the business is, what it filed with the SEC, what insiders and the market are doing, and where the stock trades. Sections are fetched concurrently, and each is labelled with how much weight its numbers carry — a figure taken from a filing is not the same kind of fact as one scraped from a third-party feed.

Ask for what you need. The default fetches eight sections; a narrow question does not need them. detail="brief" is roughly a third the size, and sections="business" (or any single one) is about a sixth — so "what sector is this?" costs a sixth of what "tell me about this company" does. Widen on a second call if the answer is not there; that is cheaper than fetching insider transactions and EDGAR filings for a question about a business summary.

get_volume_profileA

Volume-by-price for a symbol: point of control, value area, and the high and low volume nodes around the current price.

Answers "where did this market previously agree on value, and where did it refuse to trade" — the auction-theory reading that price and oscillators cannot give. High volume nodes are shelves the market accepted and tends to revisit; low volume nodes are thin prices it rejected, and price usually travels through them quickly, so they act as breakout levels.

get_options_analyticsA

Options analytics beyond a raw chain: implied-volatility rank and percentile against the past year of realised volatility, the ATM straddle's implied move, put/call skew, and Black-Scholes greeks for near-the-money strikes.

The most expensive of the three options tools. If a chain with IV rank and the implied move is enough, get_options_chain returns that alone; to screen for contracts trading unusually heavily use get_unusual_options.

get_company_financialsA

Headline financials taken straight from the company's filed XBRL on SEC EDGAR — revenue, net income, diluted EPS, assets, liabilities, cash, equity and shares outstanding. Every figure carries the form and filing date it came from.

Prefer this over get_company_profile when a number has to be right: this is the filing itself, not a third-party summary of it.

These are the tagged XBRL facts only. For the surrounding prose — MD&A, risk factors, the text of a named item — use read_filing; to see which filings exist at all, use get_edgar_filings.

get_insider_activityA

Parsed SEC Form 4 insider transactions — who traded, when, at what price, and crucially whether the sale was made under a Rule 10b5-1 plan.

That distinction is the whole point: a pre-scheduled 10b5-1 sale carries almost no information about an insider's view, while a discretionary open-market sale does. The tool also separates real decisions (codes P/S) from compensation mechanics — option exercises, grants, and shares withheld to pay tax on vesting — which are routinely and wrongly reported as "insiders sold $X".

read_filingA

Read a named section out of a company's latest filing, or search its text.

Filings are far too large to hand over whole — a Micron 10-K is ~610,000 tokens raw and ~97,000 after stripping markup — so this locates what you asked for and returns it under a character budget.

This reads inside one filing. To find out which filings exist, or to search across many companies' filing bodies, use get_edgar_filings; for the headline numbers as XBRL facts rather than prose, use get_company_financials.

get_institutional_holdingsA

Latest 13F-HR portfolio for an institutional manager — every reported position, largest first. Accepts a ticker (BRK-B) or a raw CIK (1067983).

Positions are merged across the manager rows a fund files separately: Berkshire reports Apple across 12 rows, and reading only the first understates the holding threefold.

get_data_sourcesA

Configuration and remaining quota for every external data source, plus how to raise the limits. Use this when a data tool fails or seems rate-limited.

validate_bls_keyA

Test a BLS registration key against the live API and report which tier it unlocks.

A mistyped key does not raise an error — it silently drops you to the 25/day unregistered limit, which only surfaces days later as an exhausted quota. Run this once after setting BLS_API_KEY.

get_economic_calendarA

Upcoming US macroeconomic events with their scheduled date, time and — where the release has already happened — the number that came out.

Three live sources, all free and keyless: the Bureau of Labor Statistics (CPI, core CPI, PPI, the employment situation/NFP, JOLTS), the Federal Reserve (FOMC rate decisions, flagged when they carry a Summary of Economic Projections), and the BEA (PCE — the Fed's target measure — plus GDP and the trade balance).

Each row carries a reading: the actual print for a release that has happened, or the PREVIOUS print for one that has not. There is no consensus/expectations feed here — street forecasts are a licensed product — so every comparison is against the prior reading and is labelled that way. Do not read a "prior" figure as a forecast for the release being waited on.

get_macro_dataA

Historical macroeconomic series from the BLS with month-over-month and year-over-year changes — the numbers behind the inflation and labour narrative.

get_edgar_filingsA

SEC EDGAR filings, as close to real time as a public feed allows — timestamps carry the second the SEC accepted the document.

Three modes, chosen by what you pass:

  • symbol set → that company's recent filings (earnings 8-Ks, 10-Q, 10-K, Form 4).

  • query set → full-text search across filing bodies, 2001-present.

  • neither → the live firehose of form_type filings from every registrant.

This lists and finds filings; it does not open them. To read a section out of one, use read_filing; for the headline numbers as XBRL facts, use get_company_financials.

get_updatesA

What has actually changed since a point in time: new SEC filings, macro releases that have printed, and outsized price moves.

Every other tool here answers "what is true now". Answering "what is new" without this means refetching everything and diffing by hand, which is expensive and easy to get wrong. This does the diff against a timestamp you supply.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 28 tools

Disambiguation4/5

Descriptions are unusually deliberate about scoping: the three options tools (chain / analytics / unusual), the three price tools (ohlcv / market_analysis / multi_timeframe) and the four filing tools (profile / financials / edgar_filings / read_filing) each explicitly say when to prefer a sibling. The only real overlap is get_company_profile, which bundles market data, insider activity and filings that the narrower tools also return — though this is documented as an intentional one-call aggregator.

Naming Consistency4/5

Everything is snake_case verb_noun, and the vast majority use a get_ prefix (get_ohlcv, get_earnings, get_macro_data). A handful of deviations (scan_watchlist, compare_symbols, log_journal_entry, set_alert, check_connection, validate_bls_key, read_filing) use the verb that actually describes the action, so the set still reads predictably rather than chaotically.

Tool Count3/5

At 28 tools this is on the heavy side and pushes past the comfortable range, but the surface spans genuinely separate domains — price/technicals, options, SEC filings, macro, insider/institutional flow, alerts and a local journal — so few tools feel gratuitous. Trimming the near-duplicate aggregators would get it into a tighter shape.

Completeness4/5

Coverage is broad and deep: quotes, technicals, options chain/greeks/flow, XBRL financials, filing text search, insider and 13F activity, earnings dates, short interest, volume profile, macro calendar and series, news, and a change-feed tool. The notable lifecycle gaps are around local state — set_alert exists with no list/clear counterpart, and the journal can log and summarise but not update, search or delete entries.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues