Get Sum Tool
get-sumAdds two numbers and returns their sum, enabling arithmetic or numeric input validation in MCP client tests.
Instructions
Returns the sum of two numbers
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"a": "<a>",
"b": "<b>"
},
"name": "get-sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First number | |
| b | Yes | Second number |