Skip to main content
Glama

multiply

Calculate the product of two integers efficiently with this MCP server tool. Input values 'a' and 'b' to perform multiplication, ideal for integration with Claude Desktop, Cursor, and Claude Code IDEs.

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. It multiplies two integer inputs and returns the result. Registered via the @mcp.tool decorator, with type hints and docstring providing the schema.
    @mcp.tool def multiply(a: int, b: int) -> int: """Multiply two numbers""" return a * b

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

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