calculate
Perform arithmetic operations like addition, subtraction, multiplication, and division using specified numerical inputs. Part of the MCP Server Boilerplate for standardized context in LLM applications.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
a | Yes | ||
b | Yes | ||
operation | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"a": {
"type": "number"
},
"b": {
"type": "number"
},
"operation": {
"enum": [
"add",
"subtract",
"multiply",
"divide"
],
"type": "string"
}
},
"required": [
"operation",
"a",
"b"
],
"type": "object"
}