Skip to main content
Glama
math_utils.erl261 B
-module(math_utils). -export([add/2, multiply/2, factorial/1]). %% Add two numbers add(X, Y) -> X + Y. %% Multiply two numbers multiply(X, Y) -> X * Y. %% Calculate factorial factorial(0) -> 1; factorial(N) when N > 0 -> N * factorial(N - 1).

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/ryota-murakami/serena'

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