Skip to main content
Glama

MCP Server Boilerplate

by cds-id

calculate

Perform arithmetic operations (add, subtract, multiply, divide) on two numbers using predefined input rules within the MCP Server Boilerplate framework.

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
operationYes

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" }
Install Server

Other Tools from MCP Server Boilerplate

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/cds-id/mcp-server-boilerplate'

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