Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AEGIS_DEVICENoPyTorch device (cpu, cuda, mps).cpu
AEGIS_ENV_FILENoThe MCP server no longer loads ./.env (only AEGIS_ENV_FILE or ~/.aegis/.env).
AEGIS_INDEX_DIRNoPersistent FAISS + MinHash index directory../aegis_index
AEGIS_REPORT_DIRNoOutput directory for JSON/HTML reports../aegis_reports
AEGIS_MAX_FILE_MBNoMCP tools read only .pdf, .docx, .tex and .txt files up to 50 MB (AEGIS_MAX_FILE_MB).50
AEGIS_ALLOWED_ROOTSNoSet AEGIS_ALLOWED_ROOTS to confine every tool to specific folders (recommended when an agent drives AEGIS).
AEGIS_CITATION_EMAILNoEmail for Crossref polite-pool.aegis-check@example.com

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
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
aegis_analyze_paperA

Run the full AEGIS integrity check on a paper (PDF/DOCX/TEX/TXT/MD).

Covers n-gram and semantic plagiarism against the local corpus, AI-content
detection calibrated for non-native English writers, Crossref citation
verification, LLM watermark heuristics, stylometric ghostwriting
profiling, self-plagiarism, semantic coherence, venue verification,
equation checks and grammar checks. Results support human review; they
are not a finding of misconduct.

Args:
    file_path: Absolute path to the paper file.
    prior_works_dir: Optional folder of the author's own earlier papers
        (for the self-plagiarism check).
    skip_ai_detection: Skip the GPT-2 based AI detector (faster, no model download).
    skip_citations: Skip Crossref lookups (fully offline).
    check_guidelines: Comma-separated subset of IEEE,ACM,BCS,IET,ISACA,ELSEVIER,
        or "all". Empty skips the guideline section.
    html_report: Save a self-contained HTML report. Default True.
aegis_compare_papersA

Compare two papers directly for overlap or self-plagiarism.

Useful for a conference paper vs. its journal extension, or two versions
of the same manuscript. Needs no corpus.

Args:
    file1: Absolute path to the first paper.
    file2: Absolute path to the second paper.
aegis_check_citationsA

Verify a paper's references against Crossref (citations module only).

Flags hallucinated DOIs, author/year/title mismatches, predatory venues,
self-citation inflation and a high missing-DOI rate. Only reference
metadata is sent to Crossref; the paper text stays local.

Args:
    file_path: Absolute path to the paper file.
    html_report: Save a self-contained HTML report. Default True.
aegis_check_guidelinesA

Fast offline style pass: equations, grammar and per-publisher guidelines.

Runs no ML models and makes no network calls, so it finishes in seconds.
Each requested publisher is checked separately against its own guidance.

Args:
    file_path: Absolute path to the paper file (PDF/DOCX/TEX/TXT/MD).
    venues: Comma-separated subset of IEEE,ACM,BCS,IET,ISACA,ELSEVIER, or "all".
    html_report: Save a self-contained HTML report. Default True.
aegis_index_summaryA

List the papers in the local AEGIS comparison corpus.

aegis_index_addA

Add a paper to the local comparison corpus for future plagiarism checks.

Args:
    file_path: Absolute path to the paper file to index.
    label: Short label (e.g. 'Smith2025'). Defaults to the file name.
aegis_statusA

Show which AEGIS checks are ready, which are missing, and how to fix them.

Call this first if a check is skipped or reports "unavailable".

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 7 tools

Disambiguation4/5

The tools are mostly distinct: aegis_analyze_paper is clearly the full suite, while aegis_check_guidelines and aegis_check_citations are focused subsets. The only mild overlap is that the full analysis includes those checks, but the descriptions make the intended use cases (full vs. fast/offline) clear.

Naming Consistency4/5

All tools use the aegis_ prefix with snake_case, which is highly consistent. There are minor pattern deviations: most tools follow verb_noun (analyze_paper, check_guidelines), but index_add and index_summary group by resource first, and aegis_status is a bare noun.

Tool Count5/5

Seven tools is well-scoped for an integrity-checking server, with each tool covering a distinct workflow: full analysis, focused checks, comparison, corpus management, and diagnostics. No tool feels redundant or excessive.

Completeness4/5

The surface covers the core integrity workflow: full analysis, citations, guidelines, paper comparison, corpus indexing, listing, and status. A minor gap is corpus management: papers can be added and listed but not removed or cleared, which could become a limitation over time.

Maintenance

ActivityActive
ResponsivenessLimited data