better-investment-mcp
v0.0.8MCP server that gives AI agents Brazilian asset data (prices, dividends, fundamentals, filings, FII reports) through one read-only SQL tool.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_overview
Read-only. Describes the server and its usage notice. Call it first to see what the server does. It takes no input and returns a short text.
get_guide
Read-only. Returns the guide for one topic: how to write a query for query_sql, with examples. Use it before query_sql when the syntax is unclear. It returns text only.
| Parameter | Type | Description |
|---|---|---|
topic * | string | The guide to read. One of: sql, search, sources, analysis, fre, limits. |
query_sql
Read-only. Runs one SELECT over the server's tables and returns the rows. Every asset table in the query needs a WHERE filter on asset_id (market:asset_type:code), compared with = or IN and literal values; a query without them is refused with the filter to add. Output is limited to 1024 rows and 50000 characters, and a cut is reported. Returns an error when the query is refused or fails.
| Parameter | Type | Description |
|---|---|---|
sql * | string | One SELECT statement as plain text, at most 10000 characters. |
notify_load_finish
Sends one notice, with the final status of a background load, to the https callback_url given, when that load finishes. It is not read-only: it makes one POST to that address, with the status and the number of rows and no data. Use it with the loading id of a query that answered while the load was still running.
| Parameter | Type | Description |
|---|---|---|
callback_url * | string | An https address that receives one POST with the final status of the load. Only its host is shown back. |
loading_id * | string | The loading id that a query answered with while its load was still running. |