Skip to main content
Glama

MCP Math Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
add

Add two numbers a + b

sqrt

Calculate the square root of a number (rounded to two decimals)

subtract

Subtract b from a (a - b)

square

Calculate the square of a number

multiply

Multiply two numbers a * b

gcm

Calculate the greatest common measure (GCD) of two numbers

lcm

Calculate the least common multiple of two numbers

divide

Divide a by b (a / b)

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/codewithmsunke/MCPMathTools'

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