Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost address for SSE transport0.0.0.0
PORTNoPort number for SSE transport8000
TRANSPORTNoTransport mode: stdio or ssestdio

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
meeting_summary Meeting Summary prompt that loads a Markdown template and fills placeholders. Placeholders supported in the template: - {{ meeting_date }} - {{ meeting_title }} - {{ transcript }}

Resources

Contextual data attached and managed by the client

NameDescription
get_typescript_sdk_documentation Get the TypeScript SDK MCP documentation. Returns the full content of the TypeScript SDK MCP markdown documentation file.

Tools

Functions exposed to the LLM to take actions

NameDescription
add
Add two numbers together. Args: a: The first number b: The second number Returns: The sum of a and b
subtract
Subtract the second number from the first number. Args: a: The first number (minuend) b: The second number (subtrahend) Returns: The difference of a and b (a - b)
multiply
Multiply two numbers together. Args: a: The first number b: The second number Returns: The product of a and b
divide
Divide the first number by the second number. Args: a: The dividend (number to be divided) b: The divisor (number to divide by) Returns: The quotient of a divided by b (a / b) Raises: ValueError: If b is zero (division by zero)
power
Raise a number to a power. Args: base: The base number exponent: The exponent (power to raise the base to) Returns: The result of base raised to the power of exponent (base^exponent)
square_root
Calculate the square root of a number. Args: number: The number to find the square root of Returns: The square root of the number Raises: ValueError: If number is negative
factorial
Calculate the factorial of a non-negative integer. The factorial of n (written as n!) is the product of all positive integers less than or equal to n. For example: 5! = 5 × 4 × 3 × 2 × 1 = 120 Args: n: A non-negative integer Returns: The factorial of n Raises: ValueError: If n is negative
calculate_percentage
Calculate what percentage one number is of another number. Args: part: The part (the number you want to find the percentage of) whole: The whole (the total or reference number) Returns: The percentage as a number (e.g., 25.0 means 25%) Raises: ValueError: If whole is zero

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/xiaoyuchenhot/MCP-example'

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