get_analysis
Retrieve structured prediction market analysis results including probability estimates, risk assessments, and trading recommendations to support informed decision-making.
Instructions
Retrieve the full structured analysis result for a completed analysis.
Includes probability estimate, edge assessment, scenarios, key factors, risks, and trading recommendation.
Args: analysis_id: Analysis identifier for a completed analysis.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes |
Implementation Reference
- src/rekko_mcp/server.py:228-238 (handler)The get_analysis tool handler function, decorated with @mcp.tool(), which fetches analysis data from the Rekko API.
@mcp.tool() async def get_analysis(analysis_id: str) -> str: """Retrieve the full structured analysis result for a completed analysis. Includes probability estimate, edge assessment, scenarios, key factors, risks, and trading recommendation. Args: analysis_id: Analysis identifier for a completed analysis. """ return await _request("GET", f"/v1/insights/{analysis_id}")