get_investments_summary
Retrieve a summary of your investment portfolio including total value, asset allocation among stocks/bonds/cash, top five holdings, and year-to-date percentage gain.
Instructions
Roll-up of investment portfolio: total value, asset allocation (stocks/bonds/cash), top 5 holdings, % YTD gain. The 'how are my investments doing?' answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- tuskledger_mcp/server.py:301-302 (handler)Dispatch branch for get_investments_summary — calls client.investments_summary()
if name == "get_investments_summary": return client.investments_summary() - tuskledger_mcp/server.py:196-204 (schema)Tool registration: defines name, description, and input schema (no arguments needed)
Tool( name="get_investments_summary", description=( "Roll-up of investment portfolio: total value, asset allocation " "(stocks/bonds/cash), top 5 holdings, % YTD gain. The 'how are " "my investments doing?' answer." ), inputSchema={"type": "object", "properties": {}, "additionalProperties": False}, ), - tuskledger_mcp/client.py:162-163 (helper)HTTP client method that sends GET request to /api/investments/summary and returns the JSON response dict
def investments_summary(self) -> dict: return self._request("GET", "/api/investments/summary") - tuskledger_mcp/server.py:196-204 (registration)Tool is registered in the TOOLS list on the MCP server
Tool( name="get_investments_summary", description=( "Roll-up of investment portfolio: total value, asset allocation " "(stocks/bonds/cash), top 5 holdings, % YTD gain. The 'how are " "my investments doing?' answer." ), inputSchema={"type": "object", "properties": {}, "additionalProperties": False}, ),