calculator
Perform basic arithmetic operations (addition, subtraction, multiplication, division) on two numbers using this TypeScript MCP Server Boilerplate tool.
Instructions
두 개의 숫자와 연산자를 입력받아 사칙연산을 수행하고 결과를 반환합니다.
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": {
"number1": "<number1>",
"number2": "<number2>",
"operator": "<operator>"
},
"name": "calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number1 | Yes | 첫 번째 숫자 | |
| number2 | Yes | 두 번째 숫자 | |
| operator | Yes | 연산자 (+, -, *, /) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 계산 결과 |