Skip to main content
Glama

aegis_analyze_paper

Idempotent

Analyze a paper for plagiarism, AI-generated text, citation errors, and guideline violations, producing a review-ready HTML report for human verification.

Instructions

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: Make no Crossref/OpenAlex lookups at all: skips citation
        verification and also keeps the publisher duplicate-title search
        offline, so neither reference metadata nor the paper's own title
        is sent anywhere. (First-run model downloads are separate; use
        skip_ai_detection or run `aegis doctor --warm-up` beforehand.)
    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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_path": "<file_path>"
    },
    "name": "aegis_analyze_paper"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes
html_reportNo
skip_citationsNo
prior_works_dirNo
check_guidelinesNo
skip_ai_detectionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.3.2

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses important behavior: the citation check can send reference metadata and the paper title to Crossref/OpenAlex unless skipped, skip_ai_detection avoids a GPT-2 model download, and html_report saves a self-contained report. These are meaningful operational and privacy details not captured by the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, the coverage list is dense but relevant, and the parameter documentation is organized under a clear Args section. There is little obvious filler; the length is justified by the tool's complexity and the zero schema coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex six-parameter analysis tool, the description covers purpose, sub-checks, privacy and network implications, model-download behavior, and every parameter. An output schema exists, so the description does not need to explain return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so well. It documents all six parameters, including absolute path requirements, the purpose of prior_works_dir, the network side effects of skip_citations, allowed values for check_guidelines, and the default behavior of html_report.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with a specific verb and resource: 'Run the full AEGIS integrity check on a paper,' then enumerates the checks covered. The word 'full' distinguishes it from narrower sibling tools such as aegis_check_citations and aegis_check_guidelines.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this is the comprehensive analysis tool and explains that results support human review rather than a misconduct finding. However, it does not explicitly say when to choose this over sibling tools like aegis_check_citations, aegis_check_guidelines, or aegis_compare_papers.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.