Skip to main content
Glama
kelseyee

Calculator MCP

by kelseyee

add

Perform floating-point addition operations with ease using this tool. Input two numbers to quickly calculate their sum, enabling precise arithmetic computations for your needs.

Instructions

执行浮点数加法运算

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • The handler function for the 'add' tool, decorated with @mcp.tool() to register it. It takes two floats and returns their sum.
    @mcp.tool() def add(a: float, b: float) -> float: """执行浮点数加法运算""" return a + b

Other Tools

Related Tools

  • @GonTwVn/GonMCPtool
  • @parameshwaran1/mcpserverexample
  • @liaotaodcx8/toolkittest
  • @riteshbangal/BuildMcpServer
  • @bahfahh/mcptest
  • @wrtnlabs/calculator-mcp

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