studydiff
v0.2.0Explain why two scientific papers disagree, every claim grounded in a verbatim source quote.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
compare_studies Compare two studies and explain why they disagree
Explain WHY two scientific papers reach different conclusions. Extracts each study design (species, model, intervention, assay, dose, timing, endpoint, sample size, statistic, finding, limitations), verifies every extracted value against the source text with deterministic grounding, then ranks the design differences that most plausibly drive the disagreement (primary driver / also differs / ruled out) and suggests what evidence would resolve it. Every claim is traced to a verbatim quote; unsupported fields are returned as "not reported" rather than guessed. Never picks a winner. Each paper is…
| Parameter | Type | Description |
|---|---|---|
paperA * | object | First study – {id} (PMID/DOI) or {citation, text} |
paperB * | object | Second study – {id} (PMID/DOI) or {citation, text} |
question | string | The question under comparison, e.g. "Is the Treg lineage stable in vivo?" |
compare_example Run a cached worked example
Run one of StudyDiff's built-in worked examples – real, famous contradictions with verbatim abstracts. Runs fully offline against cached papers: no API key and no network needed, so it is the quickest way to see the grounded output. Options: "mouse-inflammation" (Seok 2013 vs Takao 2015 – same datasets, opposite conclusions), "resveratrol-sirt1" (Howitz 2003 vs Beher 2009 – an assay artifact), "treg-stability" (Zhou 2009 vs Rubtsov 2010 – stable vs unstable Treg lineage, driven by the fate-mapping method).
| Parameter | Type | Description |
|---|---|---|
example * | string | Which built-in example to run |
list_examples List the built-in worked examples
List StudyDiff's cached worked examples (real published contradictions) that can be run with compare_example without an API key.