Skip to main content
Glama

multiply

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

Instructions

Multiply two numbers together.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • server.py:83-86 (handler)
    The handler function for the 'multiply' tool, decorated with @mcp.tool() for registration. It takes two floats, multiplies them, and returns the result.
    @mcp.tool() def multiply(a: float, b: float) -> float: """Multiply two numbers together.""" 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/vipankumar87/MCP-Example'

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