Skip to main content
Glama

calc_expression

Evaluate mathematical expressions safely with support for functions like sqrt, sin, cos, and constants including PI. Specify decimal precision for accurate calculations.

Instructions

Evaluate math expression safely. Supports sqrt, sin, cos, PI, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesMath expression (e.g., 2+2, sqrt(16), sin(PI/2))
precisionNoDecimal precision (default: 10)

Other Tools

Latest Blog Posts

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/ShunsukeHayashi/miyabi-mcp-bundle'

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