Skip to main content
Glama
shazaaly

MCP Boilerplate Server

by shazaaly

add

Sum two integers by entering values for 'a' and 'b'. This tool simplifies basic addition for users on the MCP Boilerplate Server.

Instructions

Add two numbers together

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • The handler function for the 'add' tool, decorated with @mcp.tool for registration, which adds two integers and returns their sum. The function signature defines the input schema (a: int, b: int) and output (int).
    @mcp.tool def add(a: int, b: int) -> int: """Add two numbers together""" return a + b

Other Tools

Related Tools

  • @Joseph19820124/joseph_mcp_server
  • @dynstat/mcp-demo
  • @wudongjie/example-mcp-server
  • @mikefey/mcp-server
  • @githubpradeep/calc-mcp71
  • @zhangzhefang-github/mcp-add-server

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