Skip to main content
Glama

calc.eval

Evaluate mathematical expressions with precision up to 64 decimal places using this tool. Ideal for quick calculations without external API calls.

Instructions

Evaluate math expression (no external calls).

Input Schema

NameRequiredDescriptionDefault
exprYes
precisionNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "expr": { "type": "string" }, "precision": { "maximum": 64, "minimum": 0, "type": "integer" } }, "required": [ "expr" ], "type": "object" }
Install Server

Other Tools from TOOL4LM

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/khanhs-234/tool4lm'

If you have feedback or need assistance with the MCP directory API, please join our Discord server