excel_calculate_financial_ratio
Calculate financial ratios such as current, quick, debt-to-equity, return-on-equity, and profit margin from specified numerator and denominator ranges in an Excel worksheet.
Instructions
Calculate financial ratios
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"ratioType": "<ratioType>",
"numeratorRange": "<numeratorRange>",
"denominatorRange": "<denominatorRange>"
},
"name": "excel_calculate_financial_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Workbook name | |
| ratioType | Yes | Ratio type | |
| worksheet | Yes | Worksheet name | |
| numeratorRange | Yes | Numerator range | |
| denominatorRange | Yes | Denominator range |