Skip to main content
Glama
shazaaly

MCP Boilerplate Server

by shazaaly

multiply

Multiply two integers to calculate their product. This tool performs basic multiplication operations for mathematical calculations.

Instructions

Multiply two numbers together

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • The handler function for the 'multiply' tool. It takes two integers 'a' and 'b', multiplies them, and returns the result. Registered via the @mcp.tool decorator, which also defines the input schema based on type hints.
    @mcp.tool def multiply(a: int, b: int) -> int: """Multiply two numbers together""" 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/shazaaly/mcp-boilerplate'

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