Skip to main content
Glama
performance.py725 B
"""Performance monitoring tool for Mnemex.""" from typing import Any from ..context import mcp from ..performance import get_performance_stats, reset_metrics @mcp.tool() def get_performance_metrics() -> dict[str, Any]: """ Get current performance metrics and statistics. Returns: Dictionary containing performance statistics for various operations. """ return get_performance_stats() @mcp.tool() def reset_performance_metrics() -> dict[str, Any]: """ Reset all performance metrics and return confirmation. Returns: Dictionary confirming metrics have been reset. """ reset_metrics() return {"success": True, "message": "Performance metrics have been reset"}

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/prefrontalsys/mnemex'

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