financial_ratio_analysis
Compute key financial ratios from raw metrics and compare against industry benchmarks to assess company performance.
Instructions
Compute common financial ratios from raw financial metric inputs and compare them to benchmarks.
Args: financial_data: Dict of raw metric values keyed by component name. Valid keys: current_assets, current_liabilities, inventory, total_debt, total_equity, net_income, total_assets, revenue, gross_profit, operating_income, ebitda, interest_expense. E.g. {"current_assets": 500000, "current_liabilities": 250000}. industry_benchmarks: Optional dict of benchmark ratio values to compare against, e.g. {"current_ratio": 2.0, "roe": 0.15}.
Returns: dict: Computed ratios and optional benchmark comparisons.
Notes: - This function is pure math and does not touch files.
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": {
"financial_data": "<financial_data>"
},
"name": "financial_ratio_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| financial_data | Yes | ||
| industry_benchmarks | No |