Skip to main content
Glama
vipankumar87

MCP Multi-Tool Server

by vipankumar87

power

Calculate exponential values by raising a base number to a specified power for mathematical computations and data analysis.

Instructions

Raise a number to a power.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYes
exponentYes

Implementation Reference

  • server.py:95-98 (handler)
    The handler function for the 'power' MCP tool. It is decorated with @mcp.tool() which registers it, and implements raising the base to the exponent power using the ** operator. The input schema is inferred from type annotations: base (float), exponent (float) returning float.
    @mcp.tool()
    def power(base: float, exponent: float) -> float:
        """Raise a number to a power."""
        return base ** exponent

Tool Definition Quality

Score is being calculated. Check back soon.

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/vipankumar87/MCP-Example'

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