Skip to main content
Glama
kelseyee

Calculator MCP

by kelseyee

multiply

Multiply two numbers to calculate their product. Use this tool for basic arithmetic multiplication operations in calculations.

Instructions

执行浮点数乘法运算

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • The multiply tool implementation: a handler function decorated with @mcp.tool() that multiplies two float inputs and returns the result. The type hints and docstring define the input/output schema.
    @mcp.tool() def multiply(a: float, b: float) -> float: """执行浮点数乘法运算""" return a * b
Install Server

Other Tools

Latest Blog Posts

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/kelseyee/mcp_calculator'

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