There are some things you shouldn't give to an LLM - calculation is one of them.
Today I tried to build an MCP Tool so that my agents can complete calculations reliably. The input is an array {x,y,z...} and the output is the sum, mean, median and standard deviation.
Let me know if something like this is useful to you? If so I'll try to write some simple docs and make it available. And if it's not useful, let me know why? How are you solving this problem?
(I used Leapter for this because that's the tool I'm testing right now!)