Reference

MCP tools

24 tools expose both atomic datasets and higher-level research workflows. Only the watchlist tools change the watchlist; get_watchlist_briefing advances its last-seen cursor when since is omitted, report_data_issue files a report, and every other tool is read-only. Each tool has an example call, which the server also sends in the tool's input schema. The full description, with selection guidance for agents, is in the server's tools/list.

get_quotes

Get quotes · read-only

Return the latest closing quotes for named B3 stocks, ETFs, BDRs, or FIIs. Quotes are the close of the last B3 session (session_date), never intraday prices. Results include quote_source, price, change_percent (in percent: 1.27 means +1.27%), volume, and avg_volume_30d. For name or sector use list_stocks. Use this for the last price or daily move of specific tickers. Do not use it for historical bars, a market-wide scan, or a full FII overview; use get_historical_prices, get_bulk_quotes, or get_fii_summary. Index levels (IBOV, ^BVSP) are not covered: asset_class_not_covered; use BOVA11 as a proxy. Pass up to 100 uppercase tickers and check the returned missing array. Example: {"symbols":"PETR4,VALE3"}.

symbols (string)
Comma-separated B3 tickers, e.g. 'PETR4,VALE3,ITUB4'. Up to 100 per call.
fields (string, optional)
Optional comma-separated extra columns, e.g. 'name,avg_volume_30d,market_cap'. The core quote fields (symbol, price, open, high, low, close, previous_close, change, change_percent, volume, quote_source, session_date, is_delayed, updated_at) are always returned. Leave empty to get every field.
Example call
{
  "name": "get_quotes",
  "arguments": {
    "symbols": "PETR4,VALE3"
  }
}

get_fundamentals

Get fundamentals · read-only

Get fundamental ratios and financial metrics for a Brazilian stock. Use this for valuation ratios or a named ticker's annual, quarterly, or trailing-twelve-month trend; set period and limit to match the question. Do not use it for raw DRE, balance-sheet, or cash-flow rows (use get_financial_statements), or for individual payouts (use get_dividends).

symbol (string)
Single B3 ticker, e.g. 'VALE3'.
period (string, optional)
'annual' (default, fiscal year), 'quarterly' (one discrete quarter; flow ratios annualized ×4) or 'ttm' (last twelve months). Default: "annual".
limit (integer, optional)
Number of periods to return (1–20). Default 4. Default: 4.
Example call
{
  "name": "get_fundamentals",
  "arguments": {
    "symbol": "VALE3",
    "period": "quarterly",
    "limit": 8
  }
}

get_dividends

Get dividends and JCP · read-only

Get dividend and JCP (Juros sobre Capital Próprio) events for a B3 stock or FII. Use this for a named ticker's individual payouts; set event_type and start_date/end_date for the requested type and window, then follow cursor if more events remain. Do not use it for a single closing price (get_quotes) or a combined FII quote, P/VP, and income overview (get_fii_summary).

symbol (string)
Single B3 ticker, e.g. 'ITUB4'.
event_type (string, optional)
Filter by type: 'dividend', 'jcp', 'return_of_capital', 'bonus', 'other'. Leave empty to get all event types.
limit (integer, optional)
Number of events per page (1–200). Default 50. A page never splits one com_date's events, so it can hold a few more. Default: 50.
start_date (string, optional)
Earliest com_date (data com) to include, YYYY-MM-DD. E.g. the date 12 months ago for a trailing-year sum.
end_date (string, optional)
Latest com_date (data com) to include, YYYY-MM-DD.
cursor (string, optional)
Pagination: pass the previous response's meta.next_cursor to get older events.
Example call
{
  "name": "get_dividends",
  "arguments": {
    "symbol": "ITUB4",
    "event_type": "jcp",
    "limit": 12
  }
}

get_historical_prices

Get historical prices · read-only

Get historical OHLCV (Open/High/Low/Close/Volume) price data for a B3 stock or FII. Use this for a named ticker's price bars; choose interval, date window, adjust, and limit for the requested analysis. Do not use it for the latest closing snapshot (get_quotes) or a ranked market-wide page (get_bulk_quotes). Index levels (IBOV, ^BVSP) are not covered: asset_class_not_covered; use BOVA11 as a proxy.

symbol (string)
Single B3 ticker, e.g. 'PETR4'.
interval (string, optional)
Bar interval: '1d' (daily, default), '1w' (weekly), '1mo' (monthly). Default: "1d".
limit (integer, optional)
Number of bars to return (1–500). Default 252 (~1 trading year). For more, follow meta.next_cursor. Default: 252.
start_date (string, optional)
Start date in YYYY-MM-DD format. Optional — defaults to 2 years ago.
end_date (string, optional)
End date in YYYY-MM-DD format. Optional — defaults to today.
adjust (string, optional)
'split' (default): back-adjusted for splits and bonus shares — price return. 'total_return': also reinvests dividends, JCP and returns of capital on their ex-date — use for total return and backtests of a buy-and-hold holder. 'raw': as traded. 'split' and 'total_return' start 2018-01-01; for earlier bars use 'raw'. Default: "split".
cursor (string, optional)
Pagination: pass the previous response's meta.next_cursor to get the older bars.
Example call
{
  "name": "get_historical_prices",
  "arguments": {
    "symbol": "PETR4",
    "interval": "1mo",
    "limit": 12,
    "adjust": "total_return"
  }
}

list_stocks

List stocks · read-only

List available B3 tickers with metadata. Use this to discover tickers by name or sector; filter with name, asset_class, or sector and page with limit/offset. Do not use this for prices (get_quotes), fundamental screens (screen_stocks), or company filings (get_filings).

asset_class (string, optional)
Filter by asset class: 'stock', 'fii' (real estate fund), 'fiagro', 'unknown_fund', 'bdr', 'etf', 'index'. Leave empty for all. The 'fii' filter returns only BDI-confirmed real-estate funds; unfiltered rows expose provisional legacy labels via asset_class_source.
sector (string, optional)
Filter by sector, subsector or segment (partial, accent-insensitive match), e.g. 'Financeiro', 'Bancos', 'Energia Elétrica', 'Saúde'. For FIIs it matches CVM's segment: 'Logística' (also 'galpões'), 'Shoppings', 'Escritórios' (also 'lajes'), 'Residencial', 'Hospital', 'Hotel', 'Varejo', 'Educacional', 'Multicategoria'. If nothing matches, meta.warnings lists the valid sectors and FII segments. Results are per ticker; use each row's CNPJ to count distinct issuers and keep rows with missing CNPJ separate.
name (string, optional)
Filter by company name (partial match), e.g. 'Petrobras', 'Itaú', 'Vale'.
limit (integer, optional)
Max results to return (1–500). Default 100. Page with offset while meta.has_more is true. Default: 100.
offset (integer, optional)
Pagination offset. Default 0. Default: 0.
Example call
{
  "name": "list_stocks",
  "arguments": {
    "asset_class": "fii",
    "name": "Kinea"
  }
}

get_financial_statements

Get financial statements · read-only

Get financial statements (income, balance sheet, or cash flow) for a B3 stock. Use this for a named company's reported statement rows; choose statement, period, and limit to match the question. Do not use raw quarterly flows to compute annualized ratios; get_fundamentals supplies those ratios.

symbol (string)
Single B3 ticker, e.g. 'PETR4'.
statement (string, optional)
Statement type: 'income' (DRE), 'balance' (Balanço Patrimonial) or 'cashflow' (DFC). Default: "income".
period (string, optional)
Reporting period: 'annual' (default) or 'quarterly'. Default: "annual".
limit (integer, optional)
Number of periods to return (1–20). Default 8. Default: 8.
Example call
{
  "name": "get_financial_statements",
  "arguments": {
    "symbol": "PETR4",
    "statement": "balance",
    "period": "quarterly",
    "limit": 4
  }
}

screen_stocks

Screen stocks · read-only

Screen B3 stocks and funds by fundamental criteria — server-side filtering. Use this when the user gives filters but not a fixed ticker list; set asset_class, threshold fields, sort_by, and limit to bound the result. Do not use it to compare 2–5 named tickers (compare_stocks) or discover an issuer's ticker by name (list_stocks).

asset_class (string, optional)
Filter by asset class: 'stock', 'fii' (real estate fund), 'fiagro' or 'unknown_fund' (screenable); 'bdr', 'etf' and 'index' have no fundamentals and return nothing (meta.warnings says so).
sector (string, optional)
Filter by sector, subsector or segment (partial, accent-insensitive match), e.g. 'Financeiro', 'Bancos', 'Energia Elétrica', 'Saúde'. For FIIs it matches CVM's segment: 'Logística' (also 'galpões'), 'Shoppings', 'Escritórios' (also 'lajes'), 'Residencial', 'Hospital', 'Hotel', 'Varejo', 'Educacional', 'Multicategoria'. If nothing matches, meta.warnings lists the valid sectors and FII segments.
min_pe (number, optional)
Minimum P/E ratio (P/L).
max_pe (number, optional)
Maximum P/E ratio (P/L).
min_pb (number, optional)
Minimum P/B ratio (P/VP).
max_pb (number, optional)
Maximum P/B ratio (P/VP).
min_ev_ebitda (number, optional)
Minimum EV/EBITDA. Use 0 to exclude negative and null multiples when ranking positive valuations.
max_ev_ebitda (number, optional)
Maximum EV/EBITDA.
min_roe (number, optional)
Minimum ROE as decimal (0.15 = 15%).
max_roe (number, optional)
Maximum ROE as decimal.
min_roa (number, optional)
Minimum ROA as decimal.
max_roa (number, optional)
Maximum ROA as decimal.
min_net_margin (number, optional)
Minimum net margin as decimal.
max_net_margin (number, optional)
Maximum net margin as decimal.
min_dy (number, optional)
Minimum dividend yield as decimal (0.06 = 6%).
max_dy (number, optional)
Maximum dividend yield as decimal.
min_market_cap (integer, optional)
Minimum market cap in BRL.
max_market_cap (integer, optional)
Maximum market cap in BRL.
min_net_debt_ebitda (number, optional)
Minimum net debt / EBITDA (dívida líquida/EBITDA). Negative means net cash.
max_net_debt_ebitda (number, optional)
Maximum net debt / EBITDA, e.g. 2 for at most two years of EBITDA.
sort_by (string, optional)
Sort field: pe_ratio, pb_ratio, roe, roa, ev_ebitda, dividend_yield, net_margin, gross_margin, market_cap, eps, net_debt_ebitda, symbol. Default: market_cap. Default: "market_cap".
sort_order (string, optional)
'asc' or 'desc'. Default: desc. EV/EBITDA ascending includes negative values unless min_ev_ebitda=0 is supplied. Default: "desc".
limit (integer, optional)
Max results to return (1–200). Default 50. Default: 50.
Example call
{
  "name": "screen_stocks",
  "arguments": {
    "asset_class": "stock",
    "min_roe": 0.15,
    "max_pe": 10,
    "sort_by": "roe",
    "limit": 10
  }
}

get_macro_rates

Get macro rates · read-only

Get the latest Brazilian macro interest rates and inflation indicators. Use this for current Selic, CDI, or IPCA values; it takes no parameters. Do not use it for a historical indicator series (get_macro_indicator) or the latest USD/BRL PTAX (get_macro_currency).

Example call
{
  "name": "get_macro_rates",
  "arguments": {}
}

get_macro_currency

Get PTAX exchange rate · read-only

Get the latest USD/BRL exchange rate (PTAX — official Banco Central rate). Use this for the most recently published PTAX buy/sell rates; it takes no parameters. Do not use it for historical PTAX observations (get_macro_indicator) or a B3-listed asset's price (get_quotes).

Example call
{
  "name": "get_macro_currency",
  "arguments": {}
}

get_macro_indicator

Get macro indicator series · read-only

Get the historical time series of a Brazilian macro indicator. Use this when the user asks how a named series changed over time; pass series_id and bound the window with start_date/end_date or limit. Do not use it for a latest-only macro snapshot (get_macro_rates) or latest-only USD/BRL PTAX (get_macro_currency).

series_id (string)
Macro series: 'selic_target' (Copom target, % a.a.; get_macro_rates calls it selic) | 'selic' (effective overnight rate, % a.d.) | 'cdi' | 'tr' | 'tbf' | 'poupanca' | 'ipca' | 'ipca_12m' | 'ipca_15' | 'igpm' | 'igpdi' | 'pib_qoq' | 'ibc_br' | 'ibc_br_nsa' | 'intl_reserves', or PTAX '{ccy}_brl_buy' / '{ccy}_brl_sell' for ccy in usd, eur, gbp, jpy, chf, dkk, nok, sek, aud, cad.
start_date (string, optional)
Start date YYYY-MM-DD. Optional — defaults to full history window.
end_date (string, optional)
End date YYYY-MM-DD. Optional.
limit (integer, optional)
Max observations to return (1–2000). Default 500. Default: 500.
Example call
{
  "name": "get_macro_indicator",
  "arguments": {
    "series_id": "ipca_12m",
    "limit": 24
  }
}

get_tesouro_direto

Get Tesouro Direto bonds · read-only

Get Tesouro Direto government bond rates and prices (STN, daily since 2004). Use this for a bond's current published rate or dated history; pass bond_type with maturity for one bond, or indexer/date for a daily slice. Do not use it for Selic/CDI benchmarks (get_macro_rates) or B3 equities (get_quotes).

bond_type (string, optional)
Bond name for one bond's history, as the bonds listing returns it: 'Tesouro Selic' | 'Tesouro Prefixado' | 'Tesouro Prefixado com Juros Semestrais' | 'Tesouro IPCA+' | 'Tesouro IPCA+ com Juros Semestrais' | 'Tesouro IGPM+ com Juros Semestrais' | 'Tesouro Educa+' | 'Tesouro Renda+ Aposentadoria Extra'. Needs maturity. Omit both to list every bond on a date.
maturity (string, optional)
Maturity YYYY-MM-DD, with bond_type.
date (string, optional)
Listing date YYYY-MM-DD (without bond_type). Default: the newest; a weekend or holiday returns the newest date before it.
indexer (string, optional)
Listing filter (without bond_type): 'selic' | 'prefixado' | 'ipca' | 'igpm'.
start_date (string, optional)
History start YYYY-MM-DD (with bond_type).
end_date (string, optional)
History end YYYY-MM-DD (with bond_type).
limit (integer, optional)
Max history rows (1–1000). Default 250. Default: 250.
Example call
{
  "name": "get_tesouro_direto",
  "arguments": {
    "indexer": "ipca"
  }
}

get_corporate_actions

Get corporate actions · read-only

Get corporate actions for a B3 stock or FII: splits (desdobramentos), reverse splits (grupamentos), bonus issues (bonificações), ticker renames, and rights offerings (subscrições). Splits and bonuses come from B3 listed-issuer events, with CVM FRE filings for pre-2024 history and cited manual entries B3 omits. Use this for a named ticker's share-count changes, rights offerings or rename lineage; pass symbol. Do not use it for cash payouts (get_dividends) or a historical adjusted-price series (get_historical_prices).

symbol (string)
Single B3 ticker, e.g. 'MGLU3'.
Example call
{
  "name": "get_corporate_actions",
  "arguments": {
    "symbol": "MGLU3"
  }
}

get_bulk_quotes

Get market-wide quotes · read-only

Get a bounded page of delayed B3 closing quotes, ranked across the available universe.

latest_session_only (boolean, optional)
Use only the newest available B3 closing session. Default: true.
sort_by (string, optional)
Rank by signed daily percentage change or ticker. Default: "change_percent".
sort_order (string, optional)
Ascending or descending ranking. Default: "desc".
limit (integer, optional)
Page size (1–100); default 10 to fit agent context. Default: 10.
offset (integer, optional)
Zero-based offset into the ranked result. Default: 0.
Example call
{
  "name": "get_bulk_quotes",
  "arguments": {
    "sort_by": "change_percent",
    "sort_order": "desc",
    "limit": 10
  }
}

compare_stocks

Compare stocks · read-only

Compare fundamental metrics side-by-side for 2–5 B3 tickers. Use this for a fixed list of named tickers; pass symbols and period. Do not use it to find candidates by filters (screen_stocks) or to inspect one company's raw filing rows (get_financial_statements).

symbols (string)
Comma-separated B3 tickers to compare, e.g. 'VALE3,PETR4,CSNA3'. 2–5 tickers.
period (string, optional)
Reporting period for fundamentals: 'annual' (default), 'quarterly', or 'ttm'. Default: "annual".
Example call
{
  "name": "compare_stocks",
  "arguments": {
    "symbols": "ITUB4,BBDC4,BBAS3",
    "period": "ttm"
  }
}

get_fii_summary

Get FII summary · read-only

Get a complete summary for a Brazilian FII (Fundo de Investimento Imobiliário). FIIs and Fiagros only: a stock, ETF or BDR gets asset_class_not_covered. Use this when a named FII needs quote, P/VP, distributions, portfolio or vacancy (vacância) together; pass its symbol. Do not use it for a single FII closing price (get_quotes), individual payout filtering (get_dividends), or a market-wide FII screen (screen_stocks). Check missing before reporting a composite value.

symbol (string)
FII ticker, e.g. 'HGLG11', 'MXRF11', 'XPML11', 'KNRI11'.
Example call
{
  "name": "get_fii_summary",
  "arguments": {
    "symbol": "HGLG11"
  }
}

get_filings

Get CVM filings · read-only

Get official CVM filings (disclosures) for a B3 company. Use this for documents from a named issuer; pass symbol and narrow with category, since, and limit when specified. Do not use it for a market-wide results calendar (get_results_calendar) or numeric statement rows (get_financial_statements).

symbol (string)
Single B3 ticker, e.g. 'PETR4'.
category (string, optional)
Filter by category: 'fato_relevante' (material facts), 'comunicado' (market communications), 'aviso_acionistas' (shareholder notices), 'resultado' (earnings/results deliveries), 'calendario' (corporate-event calendar), 'proventos' (the company's dividend reports, since 2025), 'valores_negociados' (monthly forms of securities held and traded by controllers, directors and board; the positions are in the document), 'assembleia' (shareholder meetings: notices, proposals, ballots, minutes), 'reuniao_administracao' (board and committee minutes, e.g. dividend/JCP approvals), 'partes_relacionadas' (related-party transactions), 'acordo_acionistas' (shareholder agreements), 'oferta_publica' (public offerings), 'opa' (tender offers), 'insolvencia' (recovery, bankruptcy, liquidation). Leave empty for all categories.
since (string, optional)
Only filings on/after this date (YYYY-MM-DD). Optional.
limit (integer, optional)
Number of filings to return (1–200). Default 50. Default: 50.
cursor (string, optional)
Pagination cursor: pass meta.next_cursor from the previous response to continue.
Example call
{
  "name": "get_filings",
  "arguments": {
    "symbol": "VALE3",
    "category": "fato_relevante",
    "limit": 5
  }
}

get_results_calendar

Get results calendar · read-only

Get the earnings/results calendar for B3 (market-wide, or one company's with symbol), sourced from CVM filings. Use this to find recent results deliveries across issuers, or one company's with symbol; bound the window with since/until and limit. Do not use it for one company's filing history (get_filings) or its reported financial values (get_financial_statements).

since (string, optional)
Only deliveries on/after this date (YYYY-MM-DD). Optional.
until (string, optional)
Only deliveries on/before this date (YYYY-MM-DD). Optional.
limit (integer, optional)
Number of entries to return (1–200). Default 100. Default: 100.
symbol (string, optional)
Only this company's deliveries, e.g. 'PETR4'. Companies only: a fund, ETF or BDR gets NOT_A_COMPANY.
Example call
{
  "name": "get_results_calendar",
  "arguments": {
    "limit": 20
  }
}

get_watchlist

Get watchlist · read-only

Get the caller's saved B3 watchlist (the tickers they track for briefings). Use this when the user asks which tickers are saved; it takes no parameters. Do not use it to discover the full B3 universe (list_stocks) or to fetch prices for specified symbols (get_quotes).

Example call
{
  "name": "get_watchlist",
  "arguments": {}
}

set_watchlist

Replace watchlist · changes the watchlist

Replace the caller's entire watchlist with the given tickers (at most 200). Needs the connector's OAuth write scope (hosted mcp.bolsix.io): a read-only connection gets 403 forbidden; tell the user to reconnect and grant write access. Local stdio keys are not affected.

symbols (string)
Comma-separated B3 tickers, e.g. 'PETR4,VALE3,WEGE3'. Replaces the whole watchlist.
Example call
{
  "name": "set_watchlist",
  "arguments": {
    "symbols": "PETR4,VALE3,ITUB4"
  }
}

add_to_watchlist

Add to watchlist · changes the watchlist

Add one or more tickers to the caller's watchlist (keeps existing names). A watchlist holds at most 200 tickers; an add that would pass that is refused whole (error_code WATCHLIST_FULL, nothing added): tell the user and offer remove_from_watchlist. Needs the connector's OAuth write scope (hosted mcp.bolsix.io): a read-only connection gets 403 forbidden; tell the user to reconnect and grant write access. Local stdio keys are not affected.

symbols (string)
Comma-separated B3 tickers to add, e.g. 'WEGE3,RADL3'.
Example call
{
  "name": "add_to_watchlist",
  "arguments": {
    "symbols": "WEGE3"
  }
}

remove_from_watchlist

Remove from watchlist · changes the watchlist

Remove one or more tickers from the caller's watchlist. Needs the connector's OAuth write scope (hosted mcp.bolsix.io): a read-only connection gets 403 forbidden; tell the user to reconnect and grant write access. Local stdio keys are not affected.

symbols (string)
Comma-separated B3 tickers to remove, e.g. 'PETR4'.
Example call
{
  "name": "remove_from_watchlist",
  "arguments": {
    "symbols": "PETR4"
  }
}

get_watchlist_briefing

Get watchlist briefing · advances the briefing cursor

Generate a server-computed earnings/news briefing over the caller's watchlist.

since (string, optional)
Only surface changes on/after this date (YYYY-MM-DD). If omitted, uses your last-seen cursor (defaults to 90 days back) and advances it — i.e. 'what's new since I last checked'.
filings_per_ticker (integer, optional)
Max filings shown per ticker, highest-signal first (1–50). Default 8. Default: 8.
Example call
{
  "name": "get_watchlist_briefing",
  "arguments": {
    "filings_per_ticker": 3
  }
}

get_usage

Get usage · read-only

Get today's and this month's Bolsix API usage for the connected account: requests made, the daily and monthly limits, how many remain, any extra requests held, and when each quota resets (00:00 UTC; the 1st for the month). A plan with no daily cap reports a null daily limit. Use this for quota or reset-time questions; it takes no parameters. Do not use it for market data or to infer whether a ticker exists.

Example call
{
  "name": "get_usage",
  "arguments": {}
}

report_data_issue

Report a data issue · files a report

Report a Bolsix value that looks wrong, missing or stale, or docs that disagree with a response. Every report is triaged alongside Bolsix's automated data-quality checks.

kind (string)
wrong_value, missing_data, stale_data, docs_mismatch or other.
message (string)
What looks wrong, in a sentence or two (up to 2000 characters).
symbol (string, optional)
B3 ticker concerned, e.g. 'PETR4'.
field (string, optional)
Response field concerned, e.g. 'dividend_yield'.
endpoint (string, optional)
API path the value came from, e.g. '/v1/stocks/fundamentals'.
expected (string, optional)
The value you expected and where it comes from.
request_id (string, optional)
request_id from an error response, if there was one.
Example call
{
  "name": "report_data_issue",
  "arguments": {
    "kind": "stale_data",
    "message": "HGLG11's latest distribution is from three months ago; the fund pays monthly.",
    "symbol": "HGLG11",
    "endpoint": "/v1/stocks/dividends"
  }
}