calculate
Perform mathematical operations like addition, subtraction, multiplication, and division using defined inputs for precise calculations on the MCP Server.
Instructions
Perform basic mathematical calculations
Input Schema
Name | Required | Description | Default |
---|---|---|---|
a | Yes | First number | |
b | Yes | Second number | |
operation | Yes | The mathematical operation to perform |
Input Schema (JSON Schema)
{
"properties": {
"a": {
"description": "First number",
"type": "number"
},
"b": {
"description": "Second number",
"type": "number"
},
"operation": {
"description": "The mathematical operation to perform",
"enum": [
"add",
"subtract",
"multiply",
"divide"
],
"type": "string"
}
},
"required": [
"operation",
"a",
"b"
],
"type": "object"
}