financial_trend_anomaly
[Deterministic forensic accounting analysis. Pure calculation, read-only, side-effect free]. Evaluates multi-period financial statements across 2+ fiscal years: CAGR revenue and EBITDA growth, profitability margins (ROE, ROI, ROS, EBITDA margin), Beneish M-Score for earnings manipulation detection, and Benford Law first-digit distribution tests against sector ATECO/NACE benchmarks. Usage: Use this tool to detect aggressive revenue recognition, accounting anomalies, or fraudulent manipulation in historical financial statements. Do NOT use for bankruptcy prediction (use 'corporate_default_predictor') or intrinsic enterprise valuation (use 'dcf_wacc_valuation'). Returns: JSON object with { beneishMScore: number, earningsManipulationRisk: 'LOW' | 'MEDIUM' | 'HIGH', benfordAnomalyDetected: boolean, cagrRevenue: number, marginTrends: object, forensicFlags: string[] }.
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": {
"periods": "<periods>"
},
"name": "financial_trend_anomaly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periods | Yes | At least 2 chronological balance sheet periods for trend analysis | |
| atecoNaceCode | No | Sector ATECO/NACE code (e.g. J.62.01, C.25) for industry benchmarks |