Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TIMEOUTNoEvaluation timeout in milliseconds (default: 5000)5000
ALLOWED_FUNCTIONSNoComma-separated list of allowed functions
MAX_RECURSION_DEPTHNoMaximum recursion depth (default: 100)100
MAX_EXPRESSION_LENGTHNoMaximum expression length (default: 1000)1000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
evaluateB

Evaluate mathematical expressions with strict grammar validation

validate_syntaxB

Validate mathematical expression syntax against grammar

set_variableB

Set a variable value in the math context

get_variableB

Get the value of a variable

list_variablesA

List all defined variables

clear_variablesA

Clear all defined variables

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Mathematical Grammar SpecificationBNF grammar specification for supported mathematical expressions
Supported FunctionsList of supported mathematical functions
Mathematical ConstantsList of predefined mathematical constants

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/Desz01ate/math-mcp'

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