This commit is contained in:
26
src/mcp_server_cli/templates/calculator.yaml
Normal file
26
src/mcp_server_cli/templates/calculator.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: calculator
|
||||
description: Perform basic mathematical calculations
|
||||
|
||||
input_schema:
|
||||
type: object
|
||||
properties:
|
||||
operation:
|
||||
type: string
|
||||
description: Operation to perform
|
||||
enum: [add, subtract, multiply, divide]
|
||||
required: true
|
||||
a:
|
||||
type: number
|
||||
description: First operand
|
||||
required: true
|
||||
b:
|
||||
type: number
|
||||
description: Second operand
|
||||
required: true
|
||||
required:
|
||||
- operation
|
||||
- b
|
||||
|
||||
annotations:
|
||||
read_only_hint: true
|
||||
destructive_hint: false
|
||||
Reference in New Issue
Block a user