Skip to main content
Glama
xiaoyuchenhot

MCP Multi-Tool Server

multiply

Calculate the product of two numbers by multiplying them together. Use this tool to perform multiplication operations with specified numerical inputs.

Instructions

Multiply two numbers together. Args: a: The first number b: The second number Returns: The product of a and b

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • server.py:56-68 (handler)
    The 'multiply' tool handler function that multiplies two float inputs. Registered via @mcp.tool() decorator, with schema inferred from type annotations and docstring.
    @mcp.tool() def multiply(a: float, b: float) -> float: """ Multiply two numbers together. Args: a: The first number b: The second number Returns: The product of a and b """ return a * b

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/xiaoyuchenhot/MCP-example'

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