calculate
Solve mathematical expressions using Python and NumPy syntax directly within the Finance Tools MCP. Process calculations like sin, sqrt, mean, and more for precise results.
Instructions
Calculate the result of a mathematical expression. Support python math syntax and numpy. > calculate("2 * 3 + 4") {'result': 10} > calculate("sin(pi/2)") {'result': 1.0} > calculate("sqrt(16)") {'result': 4.0} > calculate("np.mean([1, 2, 3])") {'result': 2.0}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expression | Yes |