Skip to main content
Glama

verify_references

Check reference lists against DOI and Scopus records to flag fake, mistyped, or mismatched citations; confirm DOIs or parse .md, .txt, .docx, and .pdf files.

Instructions

Anti-hallucination check of a reference list, by plain lookup (no AI judgement). With path (.md, .txt, .docx or .pdf): finds the References section, and for each entry looks its DOI up (Elsevier, OpenAlex) and compares the title, first author, year and journal written there with the real record. Entries without a DOI are searched in Scopus by their quoted title. With dois: just confirms each DOI exists and returns its real metadata. Status per reference: OK, MISMATCH (correct values given), NOT_FOUND (likely fake or mistyped), NO_DOI, LOOKUP_FAILED. Free: never fetches full text.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "verify_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
doisNo
pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it names the upstream sources (Elsevier, OpenAlex, Scopus), discloses that it never fetches full text ("Free"), explains the comparison fields (title, first author, year, journal), and enumerates all failure statuses including NOT_FOUND and LOOKUP_FAILED. Gaps remain around permissions, rate limits, and the behavior when both inputs are supplied.

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

Conciseness4/5

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

Front-loads the one-line purpose, then branches by mode, then lists status codes — a logical order with no filler. Sentences are dense and the status enumeration is necessarily terse, though the mode paragraphs could be split for faster scanning.

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?

There is no output schema, so the description correctly takes on the return contract by enumerating every status value (OK, MISMATCH, NOT_FOUND, NO_DOI, LOOKUP_FAILED) and noting that MISMATCH returns corrected values. Combined with the two-mode explanation, an agent has enough to call it and interpret results.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: `path` is documented with its accepted extensions (.md, .txt, .docx, .pdf) and its referent (the References section), while `dois` is documented with its reduced semantics (existence check plus real metadata return). It omits path format expectations (relative vs absolute) and mutual exclusivity of the two parameters.

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?

States a specific verb and resource ("anti-hallucination check of a reference list") plus the mechanism ("plain lookup (no AI judgement)"), which separates it cleanly from sibling checks such as check_quotes or search_scopus that involve different operations.

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

Usage Guidelines4/5

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

Explicitly defines two operating modes — supply a `path` to scan a document's References section, or supply `dois` to just confirm existence and return metadata — so an agent knows which parameter to reach for. It does not name a sibling alternative or state when to prefer another tool, and it is silent on what happens if neither or both parameters are provided.

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