We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/myuon/refactor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
math.py•266 B
def calculate_total(items):
"""Calculate the total of a list of numbers"""
return sum(items)
def calculate_average(items):
"""Calculate the average of a list of numbers"""
if not items:
return 0
return calculate_total(items) / len(items)