Skip to main content
Glama

check_quotes

Verify exact quotes in a Markdown draft against cited papers by matching text to abstracts, ScienceDirect full text, or local PDFs, flagging fabricated or paraphrased evidence.

Instructions

Anti-hallucination check of quotes, by exact text matching (no AI judgement). Reads a Markdown draft or verifier report, takes every "double-quoted" text in a table column named quote or evidence, maps the row citation [n] to a DOI via the Sources table or reference list, and checks the quote really appears in that paper: its abstract, its cached ScienceDirect full text or its local PDF. Ignores case, spacing, punctuation and line-break hyphens. Status per quote: FOUND, NOT_FOUND (fabricated or paraphrased), SOURCE_UNAVAILABLE, NO_SOURCE, TOO_SHORT, NOT_A_QUOTE. Free: never downloads anything.

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": {
      "path": "<path>"
    },
    "name": "check_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations, yet it discloses matching tolerances, source resolution order, status semantics, and a read-only/no-download guarantee; only write/side-effect and malformed-input behavior are unstated.

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-loaded and every clause is substantive; the long sentence chain is dense but readable, with the status list doing most of the structural work.

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

Completeness4/5

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

Without an output schema or annotations, the status list and pipeline description substitute for return-value documentation; the concrete return surface and error handling remain undefined.

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?

The lone 'path' param has 0% schema coverage, but the description specifies what the file must be and its required table/citation structure; path-format expectations are missing.

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?

Specific verb and resource — exact-text-match anti-hallucination check of quotes — with the method stated ('no AI judgement'), which separates it from verification siblings.

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?

Clear scenario (Markdown draft or verifier report) and a 'never downloads anything' cue that distinguishes it from download-style siblings, but no explicit when-not or named alternative.

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