calculator
Perform addition, subtraction, multiplication, and division operations using inputs provided. Utilize this tool for quick and precise mathematical calculations on the MCP server.
Instructions
Perform basic mathematical operations
Input Schema
Name | Required | Description | Default |
---|---|---|---|
a | Yes | The first number | |
b | Yes | The second number | |
operation | Yes | The mathematical operation to perform |
Input Schema (JSON Schema)
{
"properties": {
"a": {
"description": "The first number",
"type": "number"
},
"b": {
"description": "The second number",
"type": "number"
},
"operation": {
"description": "The mathematical operation to perform",
"enum": [
"add",
"subtract",
"multiply",
"divide"
],
"type": "string"
}
},
"required": [
"operation",
"a",
"b"
],
"type": "object"
}