Skip to main content
Glama
kelseyee

Calculator MCP

by kelseyee

sqrt

Calculate the square root of a number using the Calculator MCP server. Input a numeric value to receive precise results instantly.

Instructions

计算平方根

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYes

Implementation Reference

  • The 'sqrt' tool handler. Decorated with @mcp.tool() to register it. Takes a float 'number' and returns its square root using math.sqrt.
    @mcp.tool() def sqrt(number: float) -> float: """计算平方根""" return math.sqrt(number)

Other Tools

Related 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