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

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a distinct purpose: evaluate computes, validate_syntax checks syntax, and variable tools manage context state. No two tools overlap in a confusing way.

Naming Consistency3/5

Variable tools follow a clear verb_noun pattern (set_variable, get_variable, list_variables, clear_variables), but evaluate and validate_syntax are single verbs without a noun, mixing conventions. Still readable but not fully consistent.

Tool Count5/5

Six tools is well-scoped for a math expression server, covering evaluation, validation, and variable management without excess or deficiency.

Completeness4/5

Core features are covered: evaluate, validate, and variable CRUD. A minor gap is lack of single-variable deletion (only clear all), but set_variable can overwrite, so agents can work around it.