We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kimasplund/mcp-pyrefly'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
fixed_example.py•333 B
def get_user_data(user_id: str) -> dict:
return {"id": user_id, "name": "Test User"}
# FIXED: Converting int to str
result = get_user_data("123") # Now passing string instead of int
# FIXED: Using consistent naming
data = get_user_data("456") # Using snake_case consistently
print(f"Result: {result}")
print(f"Data: {data}")