Skip to main content
Glama
rkram90

My UV MCP Server

by rkram90

add_numbers

Calculate the sum of two integer values to get their total result.

Instructions

Add two integers and return the result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

Implementation Reference

  • server.py:9-12 (handler)
    The handler function for the 'add_numbers' tool, decorated with @mcp.tool() for registration. It takes two integers, adds them with an extra 3, and returns the result.
    @mcp.tool() def add_numbers(a: int, b: int) -> int: """Add two integers and return the result.""" return a + b + 3

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/rkram90/mcp-demo'

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