ROBINS-I V2 MCP
v0.1.0ROBINS-I V2 (not V1): risk of bias in one result of a non-randomized cohort study
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_spec
Return the encoded ROBINS-I V2 specification: 13 preliminaries, 40 signalling questions across 6 domains (domain 1 in two variants), the response vocabularies, the evidence policy, and the algorithm fingerprint. OPTIONAL in the assessment flow — introspection only. assess_result already carries the rubric for the domain in hand, so calling both duplicates the payload. detail='compact' (default) gives question ids, own-words labels, response options and evidence modes; detail='full' adds every intent and assessor note. The descriptions are this implementation…
| Parameter | Type | Description |
|---|---|---|
detail | string | |
spec_version | string |
parse_document
PRIMARY entry point: parse a study report into a bundle with character-offset, source-tagged section spans. Every quote you later cite is resolved against THIS text, and every claim of absence is searched in it. PASS `citation=`: the full bibliographic reference in APA style. It appears on the rendered assessment so the study being judged is unambiguous. `document` is EITHER the raw text OR a file path — but the path must be readable on the SERVER host. If your files live on your own filesystem, paste the TEXT instead, or use parse_pmcid for an open-access PMCID…
| Parameter | Type | Description |
|---|---|---|
document * | string | |
citation | string | |
manuscript_id | string | |
supplement_status | string | |
supplements |
parse_pmcid
CONVENIENCE entry point: retrieve an open-access article from Europe PMC by PMCID and parse it, main text plus PMC-hosted supplements, merged into one source-tagged bundle. Use it when you have no file in hand, or to auto-fetch an open-access paper's supplement; for a manuscript you were given, use parse_document. supplement_status is 'retrieved' when a supplement was obtained, else 'not_retrieved' — a supplement may still exist on the publisher site, so absence of retrieval is never proof of absence. Raises if no open-access full text is available. An APA-st…
| Parameter | Type | Description |
|---|---|---|
pmcid * | string | |
citation | string | |
include_supplements | boolean |
set_prespecified_confounders
Supply P1 — the confounding factors this REVIEW judges important for the intervention-outcome relationship, listed before any study is assessed. THIS IS BLOCKING. Domain 1 will not be scored without it. Question 1.1 asks whether all IMPORTANT confounding factors were controlled for, and 'important' is defined by this list, not by the paper's covariate table. Substituting the paper's own list would let the study grade its own confounding control, which is exactly the judgement ROBINS-I asks the reviewer to make independently. 'Important' means adjustment would be…
| Parameter | Type | Description |
|---|---|---|
confounders * | array | |
ratified_by | string | |
rationale | string | |
review_id | string |
specify_result
Name the ONE numerical result being assessed, and settle C4. Required before any domain can be scored. ROBINS-I assesses a single effect estimate, not a paper. A study reporting three outcomes across two analyses yields six assessments; give each its own `result_id` and run them separately. `accounts_for_deviations` IS C4, and it is the highest-leverage input here: it swaps domain 1's entire question set and algorithm, so it cannot be deferred until domain 1 is reached. 'no_itt' — the analysis does NOT account for switches between the compared…
| Parameter | Type | Description |
|---|---|---|
accounts_for_deviations * | string | |
outcome * | string | |
result_assessed * | string | |
result_id * | string | |
text_sha256 * | string | |
b1 | string | |
b2 | string | |
b3 | string | |
citation | string | |
document | string | |
information_sources | ||
model | string | |
result_location | string | |
review_id | string | |
target_trial |
assess_result
Return the assessment scaffold for ONE domain: the questions actually in play, their own-words intent, the response vocabulary each accepts, what evidence each answer must carry, and the cue searches already run against this bundle with their hits. THE SCAFFOLD IS PER DOMAIN BY DESIGN. Most signalling questions are unreachable on any given path — 24 of 41 were never reached on the reference assessment — and which of domain 1's two question sets exists at all is decided by C4. There is no flat 41-question rubric to fetch, and asking for one would mean answer…
| Parameter | Type | Description |
|---|---|---|
result_id * | string | |
domain | integer |
submit_answers
Submit one domain's signalling-question answers and get back the COMPUTED domain judgement, or (domain=0) finalize the assessment. Each element of `answers` is one question: `question`, `response`, `evidence_mode`, `rationale`, plus the evidence that mode requires — `quotes` for manuscript_positive, `search_cue` or `search_terms` for manuscript_absent, `prior_ref` for reviewer_prior. Answer only the questions the algorithm reaches; omit the rest rather than answering NA. `support` is your narrative for the domain as a whole and appears in the report. Three t…
| Parameter | Type | Description |
|---|---|---|
domain * | integer | |
result_id * | string | |
answers | ||
direction_of_bias | string | |
overall_direction_of_bias | string | |
overall_escalate | boolean | |
overall_override | string | |
overall_override_justification | string | |
override_judgement | string | |
override_justification | string | |
render | boolean | |
support | string |
render_report
Re-render a finalized assessment as a self-contained HTML page — the meta panel, the six-domain summary strip, the per-domain judgement with its algorithm trail and the evidence behind every answer, styled to the Black Swan Causal Labs identity and carrying the provenance stamp. Returns the HTML in `html` (display it inline or publish it as an artifact) and the same bytes base64-encoded in `content_base64` (decode and save as .html). This is a pure re-render of the artifact submit_answers already stamped — nothing is re-scored. The assessment must have been fin…
| Parameter | Type | Description |
|---|---|---|
result_id * | string | |
title | string |
export_robvis
Combine assessment RECORDS from any number of runs into a CSV for **robvis** (McGuinness & Higgins), the standard tool for Cochrane-style risk-of-bias figures. A review of 200 studies is 200 separate runs — each assessment costs a session, and nothing in this server survives between them. So pass `records`: the `record` object each submit_answers(domain=0) returns. They are small, flat and JSON-native, so a whole review's worth fits in one context, and they carry their own provenance so every row stays traceable to a document and an algorithm fingerprint. Omi…
| Parameter | Type | Description |
|---|---|---|
labels | ||
layout | string | |
records | ||
result_ids | ||
review_id | string | |
weights |