get_prices
Retrieve price history for any commodity by symbol and namespace, with optional date, currency, and pagination filters. Get compact tables or structured JSON for analysis.
Instructions
Get price history for a commodity.
Leads with a Showing X-Y of Z prices (date range) line, then
a compact aligned text table by default. Page with offset;
limit=0 returns the count only. Use verbose=true for the full
structured envelope (prices list, showing, total,
offset, count).
Args: commodity: Symbol of the commodity (e.g., "VTSAX"). namespace: Namespace of the commodity (e.g., "FUND"). start_date: Optional start date filter (YYYY-MM-DD). end_date: Optional end date filter (YYYY-MM-DD). currency: Optional currency filter (e.g., "USD"). limit: Page size (default 50, max 250). 0 = count only. verbose: If false (default), compact text output — optimized for reading and token efficiency. If true, structured JSON, for when you need machine-readable fields rather than a report. offset: 0-indexed first row to return (default 0).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"commodity": "<commodity>",
"namespace": "<namespace>"
},
"name": "get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| verbose | No | ||
| currency | No | ||
| end_date | No | ||
| commodity | Yes | ||
| namespace | Yes | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |