Skip to main content
Glama

multiply

Calculate the product of two integers to perform multiplication operations in mathematical workflows.

Instructions

Multiply two numbers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • main.py:19-22 (handler)
    The handler function for the 'multiply' tool, decorated with @mcp.tool for registration, implements multiplication of two integers with type hints defining the input/output schema.
    @mcp.tool def multiply(a: int, b: int) -> int: """Multiply two numbers""" return a * b

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/Joseph19820124/joseph_mcp_server'

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