calculate
Safely evaluate mathematical expressions using the 'calculate' tool on the Example MCP Server. Input your expression to receive the computed result instantly.
Instructions
Evaluate a mathematical expression safely.
Args: expression: A mathematical expression to evaluate (e.g., "2 + 2", "10 * 5")
Returns: The result of the calculation as a string
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expression | Yes |
Input Schema (JSON Schema)
{
"properties": {
"expression": {
"title": "Expression",
"type": "string"
}
},
"required": [
"expression"
],
"type": "object"
}