Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CITEGUARD_CACHENoLocal SQLite cache directory. Defaults to the system user cache directory.
CITEGUARD_MAILTONoYour real contact email for OpenAlex/Crossref polite pool. If not set, mailto is not sent.
CITEGUARD_SOURCESNoComma-separated list of sources to query. Supports openalex, crossref, arxiv, semantic_scholar/s2. Unknown source names cause a configuration error.openalex,crossref,arxiv
CITEGUARD_NLI_MODELNoNLI model for deep support mode; configure a multilingual model for non-English claims.
CITEGUARD_OA_FULLTEXTNoSet to '1' to automatically fetch open-access (OA) full text for full-text support judgment. Only OA addresses, never bypass paywalls.0
CITEGUARD_DOI_REGISTRYNoSet to '0' to disable the DOI registry (Handle system) fallback lookup for Chinese papers.1
CITEGUARD_HTTP_TIMEOUTNoTimeout in seconds for live scholarly API calls.10
CITEGUARD_SOURCE_BUDGETNoTotal time budget in seconds for multi-source queries.8
CITEGUARD_RERANKER_MODELNoReranker model for deep support mode; configure a multilingual model for non-English claims.
SEMANTIC_SCHOLAR_API_KEYNoOptional API key to improve Semantic Scholar access.
CITEGUARD_REMOTE_EVIDENCENoSet to '1' to additionally fetch landing page abstract snippets.0
CITEGUARD_FIXTURE_CITATIONSNoJSON/JSONL citation fixture for deterministic offline runs.

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
citeguard_status_toolA

Return MCP configuration and dependency status.

Call this first when setting up CiteGuard or diagnosing surprising results. By default it does not contact OpenAlex/Crossref/arXiv/Semantic Scholar and does not load model weights. Set check_sources=true to run a lightweight per-source live probe using health_query.

verify_citation_toolA

Verify ONE citation against live scholarly sources (OpenAlex/Crossref/arXiv).

Provide either a free-text citation in raw_text, or structured fields (title, authors, year, doi, arxiv_id, venue). Returns a verdict (verified | metadata_mismatch | not_found | ambiguous), the canonical record, per-field diffs, a suggested corrected citation when confident, and which sources were checked. A not_found verdict means "could not be verified", not a definitive proof of fabrication. Evidence and full-text inputs belong to the claim-support tools, not to existence/metadata verification.

audit_citations_toolA

Verify MANY citations at once.

citations is a list of objects, each with any of: raw_text, title, authors, year, venue, doi, arxiv_id. Returns a per-citation report plus summary, risk_ranking, and review_summary. Agents should branch on review_summary.triage_plan, compact risk_reason, and suggested_fix.kind / suggested_fix.requires_user_confirmation instead of parsing prose. Set review_summary.suggested_fix_summary.auto_apply_allowed=false means batch repairs must be proposed to the user, not silently applied. Set high_risk_only=true to return only high-risk result rows while preserving full-batch review_summary counts and filtered.returned_indexes / filtered.omitted_indexes for original-input traceability.

check_claim_support_toolA

Judge whether a cited paper SUPPORTS a claim sentence (abstract-level).

Resolves the paper (existence), then assesses support with a reranker+NLI ensemble. Verdicts: supported | weakly_supported | insufficient_evidence | contradicted. insufficient_evidence means the abstract does not address the claim - NOT that the paper is unsupportive. Agents may pass lawful caller-provided full_text excerpts or full_text_file paths; those are tagged as evidence_scope=full_text, and CiteGuard will not fetch gated full text. Deep models are downloaded on first use; without them the engine falls back to "heuristic" (no supported/contradicted verdicts) and says so. Set CITEGUARD_RERANKER_MODEL / CITEGUARD_NLI_MODEL to use multilingual models for non-English claims.

check_claim_support_set_toolA

Judge whether a SET of cited papers supports one claim sentence.

citations is a list of citation objects accepted by verify_citation_tool. Citation objects may include lawful caller-provided full_text excerpts or full_text_file paths; those are tagged as evidence_scope=full_text, and CiteGuard will not fetch gated full text. The result aggregates per-citation support checks and exposes support_mode_details with the policy no_unstated_multi_hop_or_full_text_support. A supported aggregate requires at least one resolved citation to strongly support the claim; contradictions are surfaced as high-risk.

search_counterevidence_toolA

Search for scholarly records that may contain counter-evidence.

This tool returns review candidates only. It does not prove contradiction and does not change a support verdict; run claim-support checks on any promising candidate before editing text or replacing citations.

audit_claim_support_toolA

Judge MANY claim-citation support pairs at once.

items is a list of objects with a required claim plus any citation fields accepted by verify_citation_tool: raw_text, title, authors, year, venue, doi, arxiv_id, full_text, full_text_file, and optional per-item lang. An item may alternatively provide citations, a non-empty list of citation objects, to assess whether a claim is supported by the cited set. Returns a per-item support report plus summary, risk_ranking, and review_summary. Agents should branch on review_summary.triage_plan, compact risk_reason, and suggested_fix.kind / suggested_fix.requires_user_confirmation instead of parsing support prose or silently editing citations. review_summary.suggested_fix_summary.auto_apply_allowed=false means batch repairs must be proposed to the user, not silently applied. Items may include lawful caller-provided full_text excerpts or full_text_file paths; those are tagged as evidence_scope=full_text, and CiteGuard will not fetch gated full text. Set high_risk_only=true to return only high-risk rows while preserving full-batch review_summary counts and filtered.returned_indexes / filtered.omitted_indexes for original-input traceability.

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

Disambiguation3/5

The suite clearly separates status, citation verification, claim-support checking, and counterevidence search, but check_claim_support_set_tool overlaps heavily with audit_claim_support_tool, which can also assess a claim against multiple citations. Agents may struggle to choose between these set-level support tools despite their long descriptions.

Naming Consistency3/5

Names follow a rough verb_noun_tool pattern, but there are notable inconsistencies: citeguard_status_tool breaks the verb-first pattern, and singular/plural forms vary (verify_citation vs audit_citations, check_claim_support vs audit_claim_support). The names are readable but not perfectly uniform.

Tool Count5/5

Seven tools is well-scoped for a citation-integrity server: single and batch variants, existence verification, claim-support assessment, counterevidence discovery, and a status/diagnostic tool. Each tool earns its place without excessive overlap at the count level.

Completeness4/5

The surface covers the core domain well: verify, audit, claim-support check, counterevidence search, and diagnostics. Minor gaps exist—such as no dedicated full-text retrieval or direct correction-application tool—but suggested fixes and user-confirmation flows are described, so agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessSlow