Skip to main content
Glama
Smart Quota Orchestrator

Smart Quota Orchestrator

by ElNeMeR70

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
sqo_code_searchA

Instant SQLite FTS5 BM25 code & symbol chunk search. Returns top-K relevant functions/classes with exact file:Lstart-Lend coordinates in <250 tokens (90%+ savings vs grep + full reads).

sqo_smart_outlineA

Extract compact AST/symbol signatures and Lstart-Lend line ranges from a large source file (saves 85-96% tokens vs reading full file), or extract one specific symbol body.

sqo_context_packB

Compile a multi-file directory or workspace into a strict token budget using full code for focus files and AST skeletons for supporting files.

sqo_blast_radiusA

Trace transitive reverse-import dependents (who imports X) and return ONLY affected downstream files and minimal unit tests to run.

sqo_pinpoint_errorA

Parse any multi-file crash stack trace (Python, Node/TS, Dart/Flutter, Go, Rust, PHP) and extract the exact +-10 line source window around every local workspace frame in 1 call.

sqo_code_hotspotsB

Sync incremental mtime-cached SQLite code graph (<10ms warm) and return top Cyclomatic Complexity x Import Fan-In bug hotspots plus unreferenced orphan modules.

sqo_api_routesB

Extract complete Backend & UI Route table across Next.js, Express/Fastify, NestJS, FastAPI/Flask, Laravel, Go, and Flutter in <200 tokens.

sqo_memory_vaultB

Persistent cross-session SQLite FTS5 architectural memory bank (auto-injected at SessionStart!). Store ('remember') or BM25-query ('recall' / 'list') project facts.

sqo_dependency_slicesC

Parse import dependency graphs into Stage-0 shared contracts and Stage-1 collision-free parallel worker slices (optionally emitting an Antigravity run_workflow script).

sqo_budgeted_diffB

Compress working-tree git diff into a strict token ceiling, automatically stripping lockfiles, sourcemaps, and generated bundles.

sqo_secret_scrubA

Audit workspace source files for hardcoded secrets (outputs safe masked fingerprints only) or redact secrets from text.

sqo_cache_auditB

Audit hooks, MCP tools, and rules for LLM Prompt KV-Cache prefix stability (ensuring 75%-90% prompt cache hit discounts).

sqo_quota_poolsA

Analyze live model quota JSON into shared vs. independent reserve pools, reset countdowns, and safe %/hour burn rates.

sqo_benchmarkA

Run live empirical token-compression benchmarks on a workspace and return measured Before-vs-After savings.

sqo_roi_ledgerB

Query the live SQLite Token & Dollar ($USD) ROI Ledger showing cumulative tokens saved by the autonomous hook shield and MCP compression engines.

sqo_media_budgetB

Estimate multimodal vision & PDF input token costs (PNG, JPEG, WebP, GIF, PDF) across Gemini, Claude, and OpenAI and flag oversized 4K screenshots.

sqo_init_presetB

Auto-detect workspace framework (Flutter, Next.js, Laravel, Python/FastAPI, Node/TS, Go, Rust) and bootstrap IDE MCP configs, framework ignore shields, starter memories & Git pre-commit guard.

sqo_context_healthC

Measure quadratic session Context-Rot risk (0-100) on the active conversation transcript and emit a ready-to-paste <350-token Zero-Loss Handoff Snapshot.

sqo_compress_promptA

Deterministically compress verbose raw text, repetitive JSON arrays, and noisy log pastes by 55%-85% while scrubbing accidental API keys/secrets.

sqo_repo_badgeC

Generate a verified Smart Quota OS SVG shield badge (sqo-badge.svg) displaying the repository's empirical token reduction % and prompt-tax grade.

sqo_hive_mindB

Cross-Project Federated Brain (~/.sqo/hive_mind.db): promote architectural wisdom/gotchas across repos, recall stack-specific lessons (flutter, nextjs, laravel, python), or inject global lessons into a new project.

sqo_schema_distillB

Universal 6-Stack Database & GraphQL Schema Distiller: compresses 30k-90k tokens of SQL DDL, Prisma, Laravel migrations, Flutter Drift/Sqflite, SQLAlchemy, or GraphQL schemas into a <350-token Entity-Relationship DSL + Mermaid diagram.

sqo_shadow_checkB

Speculative <12ms Pre-Flight Syntax, Balanced Delimiter, Broken Relative Import & Merge-Conflict Guard across Python, JSON, TS/JS, Dart, PHP, Go, and Rust BEFORE running expensive builds/tests.

sqo_checkpointB

Zero-Git-Conflict Session Time-Machine: create instant zlib-compressed source snapshots, diff live edits against a checkpoint, or surgically roll back files without touching Git history.

sqo_ci_shieldB

Generate .github/workflows/sqo-shield.yml GitHub Actions Pull Request Shield to enforce zero secret leaks, pre-flight syntax checks, KV-cache stability, and vision media budgets on every PR.

sqo_verify_depsA

Anti-Hallucination Dependency & Phantom Import Verifier: cross-checks source imports across Python, JS/TS, and Dart/Flutter against package.json, pubspec.yaml, pyproject.toml, and requirements.txt to catch hallucinated/undeclared packages before build!

sqo_i18n_auditA

Universal Localization / i18n Drift & Placeholder Auditor: checks Flutter .arb and locales/*.json bundles for missing translation keys and {var} placeholder mismatches in <200 tokens (-97% vs reading raw locale files).

sqo_memo_cacheB

SHA-256 Content-Hash Invalidated Semantic Memoization Cache: stores/retrieves expensive subsystem analyses in 2ms (100% token savings) and auto-invalidates when any bound source file changes on disk.

sqo_api_contractsA

Spec-Driven Backend-to-Frontend API Contract & OpenAPI 3.1 Extractor: distills HTTP endpoints and path parameters into a <350-token Contract Table + OpenAPI 3.1 JSON so mobile/frontend agents never need to read backend controllers.

sqo_swarm_planB

Autonomous Multi-Agent Swarm Brief & Model-Routing Planner: partitions any goal into Stage-0 Shared Contracts (Frontier model) + collision-free Stage-1 Parallel Workers (Fast model, -82% quota burn) with ready-to-send prompts.

sqo_cloud_hubC

Global Smart Quota Community Hub (https://sqo.elnemer-ai.com/api/presets.php): list, pull, or publish battle-tested Golden AI Rules & Gotchas for Flutter, Next.js, Laravel, Python, Rust & Go.

sqo_edit_symbolB

Serena-Class Surgical Symbol-Level AST Mutator (v10.0): edits exact functions, classes, or Class.method symbols by name (-85% Output Tokens!) with automatic Time-Machine backup and <8ms syntax auto-rollback.

sqo_find_callersB

Fast Cross-Repo Symbol Call-Site Locator (v10.0): finds all call sites and definitions of a function or method before changing its signature.

sqo_spec_engineC

Spec-Kit + Taskmaster Autonomous Spec-Driven DAG Engine (v10.0): manages .sqo/specs.db atomic task graphs with file-ownership locks, <220-token next task briefs, and mandatory verification command gates.

sqo_memory_graphC

Claude-Mem + Graphiti Auto-Captured Temporal Knowledge Graph (v10.0): queries .sqo/memory_graph.db co-edit & bugfix relationships per file or exports Mermaid architecture memory diagrams.

sqo_verify_workB

Executable Andrej Karpathy + Superpowers Diff Gatekeeper (v10.0): audits git diffs for TODO/placeholder laziness, silent public symbol deletions, out-of-scope file creep, and bloat, returning a 0-100 Surgical Discipline Score.

sqo_sdk_radarB

Context7-Class Live Version-Pinned SDK Idioms & Deprecation Radar (v10.0): reads installed package versions (package.json, pubspec.yaml, pyproject.toml) and detects deprecated 2023/2024 API hallucinations with modern fixes.

sqo_worktree_sandboxB

Superpowers Isolated Experiment Sandbox (v10.0): creates zero-risk Git worktree / snapshot sandboxes under .sqo/sandboxes/<name>, diffs changes, promotes verified files, or cleans up cleanly.

sqo_security_auditB

OWASP Top-10 & Agentic SAST Vulnerability Scanner (v11.0 Hypernova): scans Python, TS/JS, PHP/Laravel, Dart & Go for SQL Injection (CWE-89), Command Injection (CWE-78), XSS (CWE-79), Eval/Pickle RCE (CWE-95), Weak Crypto & CORS bugs in <15ms!

sqo_perf_auditB

Database N+1 Query, Sequential Async Waterfall & Flutter UI-Jank Profiler (v11.0 Hypernova): catches N+1 DB/HTTP calls inside loops, unbatched sequential awaits, undisposed Flutter controllers, and jsonDecode in build().

sqo_gen_testsB

Zero-Token Deterministic Unit & Edge-Case Test Synthesizer (v11.0 Hypernova): parses Python, TS/JS, or Dart source files and generates ready-to-run Red-Green TDD test harnesses (saving ~3,000 Output Tokens per module!).

sqo_ui_auditC

Bilingual Arabic RTL, WCAG Accessibility & Flutter RenderFlex Overflow Auditor (v11.0 Hypernova): catches hardcoded physical left/right directions, missing image alt labels, and unwrapped Text inside Flutter Row().

sqo_drift_guardB

Environment Variable & Config Drift Detector (v11.0 Hypernova): cross-checks all process.env, os.getenv, env(), and String.fromEnvironment references in code against .env.example to prevent production boot crashes.

sqo_finops_guardC

Cloud & AI API Bill-Shock Preventer (v12.0 Quantum): detects infinite React useEffect Firestore/API read loops, recursive Cloud Function self-triggers, LLM calls inside loops, and uncapped/unrated AI endpoints before $5,000+ overnight bills!

sqo_git_forensicsB

Git Evolutionary Forensics — Invisible Co-Change Twins & Bug-Magnet Miner (v12.0 Quantum): mines git log commit co-occurrence matrices to reveal un-imported files that always change together (>=55% coupled) + historical bug-magnet files.

sqo_repo_dnaB

Single-Shot <420-Token Repository Genome Synthesizer (v12.0 Quantum): compresses an entire unfamiliar codebase (stacks, entrypoints, top 5 gravity modules, DB ER genome, HTTP routes, env keys) into 1 ultra-dense strand (-99.2% vs Repomix dumps!).

sqo_council_reviewC

4-Persona Adversarial Engineering Council (v12.0 Quantum): audits code from 4 senior seats (Exploit Hunter TOCTOU race conditions, 3 AM SRE missing HTTP timeouts & swallowed exceptions, UX Critic, Karpathy Minimalist) with 0 extra LLM token cost!

sqo_prompt_xrayC

Prompt Token X-Ray & Sniper Brief Auto-Enricher (v12.0 Quantum): upgrades vague Arabic/English prompts into <160-token laser-pinned briefs with exact file:Lstart-Lend BM25 coordinates, saving ~28,000 blind exploration tokens!

sqo_autopilotC

1-Command Autonomous Mission Compiler (v13.0 Zenith): orchestrates Repo-DNA + Bilingual Prompt X-Ray BM25 Pinning + Git Forensics Twin Warnings + Pinned SDK Idioms in <45ms into a single <650-token Master Mission Packet!

sqo_pr_reviewB

8-Gate Pre-PR & Pre-Deploy Autonomous Scorecard (v13.0 Zenith): runs OWASP SAST + Cloud FinOps + 4-Seat Council + N+1 Perf + Arabic RTL + Phantom Deps + Env Drift + Secret DLP in <65ms and outputs a GitHub PR Review Markdown Table (0–100 Grade A+).

sqo_arch_diagramB

Zero-Token Live Mermaid Architecture, Route & ER Diagrammer (v13.0 Zenith): inspects real imports, HTTP/UI routes, and DB schemas in <25ms to emit 3 GitHub-ready Mermaid diagrams (flowchart LR, flowchart TD, erDiagram).

sqo_compile_rulesB

Bespoke Repo-Aware CLAUDE.md / AGENTS.md / .cursorrules Compiler (v13.0 Zenith): inspects your exact repo stack, build/test scripts, core modules & SDK versions in <25ms (0 LLM tokens!) and compiles custom AI constitution files.

sqo_dead_codeB

Orphan Module & AI Dead-Code Hunter (v13.0 Zenith): cross-checks all source files against inbound imports and framework entrypoints to find unreferenced orphan files bloating context tokens.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.8/5.0

Scored across 53 tools

Disambiguation2/5

The set has many overlapping clusters: sqo_pr_review, sqo_security_audit, sqo_council_review, and sqo_verify_work all perform diff/code audits; sqo_memory_vault, sqo_hive_mind, sqo_memory_graph, and sqo_memo_cache all store/retrieve memory; sqo_context_pack, sqo_repo_dna, sqo_compress_prompt, and sqo_prompt_xray all compress or package context. Some tools are genuinely distinct, but the boundaries between several categories are unclear enough that an agent could easily choose the wrong audit, memory, or compression tool.

Naming Consistency4/5

Every tool uses the same sqo_ snake_case prefix, which makes the set easy to recognize and scan. However, the suffix pattern mixes noun phrases (sqo_dead_code, sqo_memory_vault, sqo_blast_radius) with verb-led names (sqo_compile_rules, sqo_verify_deps, sqo_edit_symbol), so it is mostly consistent rather than perfectly verb_noun throughout.

Tool Count1/5

With 53 tools, the surface is far beyond a well-scoped MCP set and is likely to overwhelm tool selection. Many tools are near-duplicates or subsumed by orchestrator tools like sqo_pr_review and sqo_autopilot, so the count is an extreme mismatch for the server's purpose.

Completeness4/5

The surface broadly covers repo analysis, context compression, auditing, memory, planning, quota tracking, test generation, and symbol editing, so most workflows in the stated domain have a tool. There are minor gaps around general whole-file read/write/list operations and direct build/test execution, but agents can work around these with the symbol-editing and analysis tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues