Skip to main content
Glama

example-mcp-server-stdio

by yigitkonur

calculate

Perform basic arithmetic calculations by specifying two operands and an operation (add, subtract, multiply, divide). Includes an option to stream progress notifications for real-time updates.

Instructions

Perform a basic arithmetic calculation

Input Schema

NameRequiredDescriptionDefault
aYesFirst operand
bYesSecond operand
opYesOperation to perform
streamNoIf true, emit progress notifications

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "a": { "description": "First operand", "type": "number" }, "b": { "description": "Second operand", "type": "number" }, "op": { "description": "Operation to perform", "enum": [ "add", "subtract", "multiply", "divide" ], "type": "string" }, "stream": { "description": "If true, emit progress notifications", "type": "boolean" } }, "required": [ "a", "b", "op" ], "type": "object" }
Install Server

Other Tools from example-mcp-server-stdio

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yigitkonur/example-mcp-server-stdio'

If you have feedback or need assistance with the MCP directory API, please join our Discord server