Skip to main content
Glama

ToGMAL MCP Server

DEMO_README.mdโ€ข2.23 kB
# ๐Ÿง  ToGMAL Prompt Difficulty Analyzer Real-time LLM capability boundary detection using vector similarity search. ## ๐ŸŽฏ What This Does This system analyzes any prompt and tells you: 1. **How difficult it is** for current LLMs (based on real benchmark data) 2. **Why it's difficult** (shows similar benchmark questions) 3. **What to do about it** (actionable recommendations) ## ๐Ÿ”ฅ Key Innovation Instead of clustering by domain (all math together), we cluster by **difficulty** - what's actually hard for LLMs regardless of domain. ## ๐Ÿ“Š Real Data - **14,042 MMLU questions** with real success rates from top models - **<50ms query time** for real-time analysis - **Production ready** vector database ## ๐Ÿš€ Demo Links - **Local**: http://127.0.0.1:7860 - **Public**: https://99b38fc2e31da2f83d.gradio.live ## ๐Ÿงช Example Results ### Hard Questions (Low Success Rates) ``` Prompt: "Statement 1 | Every field is also a ring..." Risk: HIGH (23.9% success) Recommendation: Multi-step reasoning with verification Prompt: "Find all zeros of polynomial xยณ + 2x + 2 in Zโ‚‡" Risk: MODERATE (43.8% success) Recommendation: Use chain-of-thought prompting ``` ### Easy Questions (High Success Rates) ``` Prompt: "What is 2 + 2?" Risk: MINIMAL (100% success) Recommendation: Standard LLM response adequate Prompt: "What is the capital of France?" Risk: MINIMAL (100% success) Recommendation: Standard LLM response adequate ``` ## ๐Ÿ› ๏ธ Technical Details ### Architecture ``` User Prompt โ†’ Embedding Model โ†’ Vector DB โ†’ K Nearest Questions โ†’ Weighted Score ``` ### Components 1. **Sentence Transformers** (all-MiniLM-L6-v2) for embeddings 2. **ChromaDB** for vector storage 3. **Real MMLU data** with success rates from top models 4. **Gradio** for web interface ## ๐Ÿ“ˆ Next Steps 1. Add more benchmark datasets (GPQA, MATH) 2. Fetch real per-question results from multiple top models 3. Integrate with ToGMAL MCP server for Claude Desktop 4. Deploy to HuggingFace Spaces for permanent hosting ## ๐Ÿš€ Quick Start ```bash # Install dependencies uv pip install -r requirements.txt uv pip install gradio # Run the demo python demo_app.py ``` Visit http://127.0.0.1:7860 to use the web interface.

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/HeTalksInMaths/togmal-mcp'

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