Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ROBINS_MCP_PAPERSNoThe directory containing the papers (PDF/docx) to be assessed. If not set, the server looks in a `papers/` subdirectory of the current working directory.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_specA

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's own wording, NOT the published signalling-question text, which is not redistributable. The published question IDs are what make the output interoperable.

parse_documentA

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. A path-looking string the server cannot find raises rather than being ingested as its own text.

PASS THE SUPPLEMENT WHEN YOU HAVE IT. supplements is a list of server-readable paths merged as supplementary material. This matters more for ROBINS-I than for a reporting audit: the target-trial specification that settles C1-C4, and the analysis detail domains 1 and 4 turn on, routinely live only in the appendix. Without it those questions read NI when the answer was merely in a file nobody passed. supplement_status defaults to 'user_provided' when supplements are given; pass 'none_exists' to assert the article has none.

Returns the section map, the text hash that keys later calls, and a cue survey — hit counts for the 15 evidence patterns, so you can see before reading where each domain's evidence lives and which absences already look real.

parse_pmcidA

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-style citation is built from the article's JATS metadata; pass citation= to override it.

set_prespecified_confoundersA

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 expected to change the estimate meaningfully; factors with only very weak associations are excluded.

You MAY propose a list from domain knowledge or a DAG — that is useful and is what this parameter is for — but a proposed list is not a ratified one. Leave ratified_by empty unless a human in this conversation has actually reviewed and accepted the list; the assessment then carries P1 in its ratification queue and is explicitly not final until they do. Do not sign it off on their behalf.

Scoped by review_id because P1 belongs to the review, not to one study: the same list applies to every result assessed under it.

specify_resultA

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 strategies or other protocol deviations. It targets the effect of assignment. Domain 1 variant A (baseline confounding only). 'yes_pp' — the analysis DOES account for them, by censoring, follow-up partitioning, or a g-method. It targets the effect of sustained receipt. Domain 1 variant B (baseline AND time-varying confounding). Judge this on what the ANALYSIS DOES, not on the label the authors give their estimand. A paper whose protocol table says 'observational analogue of the per-protocol effect' but which never censors at deviation is 'no_itt'. Getting this wrong means answering five questions that do not apply.

result_assessed is A1: the estimate with its precision. outcome is A3. result_location (A2) is where it appears and why it was chosen. target_trial is C1-C3 as a dict of labelled strings — eligible participants, intervention strategy, comparator strategy, and any note on the estimand. information_sources is D1: what you actually read. An NI answer is only defensible relative to what was searched.

b1/b2/b3 are the section B screening answers (Y/PY/PN/N). b1: was any attempt made to control confounding in this result? b2 (asked only if b1 is PN/N): is the potential for confounding great enough that an unadjusted result should not be considered further? b3: is the outcome measurement method unsuitable for the outcome it is meant to capture? Y/PY on b2 or b3 sends the result straight to critical and no domain is scored.

assess_resultA

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 answering questions the algorithm discards.

domain=0 (default) returns the overview: the preliminaries, what is settled, which domains are done, and which are outstanding. domain=1..6 returns that domain's scaffold. Domain 1 is refused until P1 is set.

Work a domain at a time: read the cues to find where the evidence is, answer only the questions the algorithm reaches, then submit_answers. You do not state a judgement — the server computes it from your answers.

submit_answersA

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 things are enforced here, and all three are the point of the tool: every quote is resolved to character offsets in the ingested bundle and an unresolvable one is REJECTED with the nearest text found; every claim of absence is backed by a search THE SERVER runs, so it is reproducible; and the judgement is computed by the published algorithm from your answers, never asserted by you. If the traversal reaches a question you did not answer, the call returns status='incomplete' naming it — supply it and call again.

override_judgement sets the domain judgement against the algorithm and REQUIRES override_justification. Overrides cannot hide: the report shows both values and the override enters the ratification queue.

domain=0 finalizes: it computes the overall judgement (worst of the six domains by default), assembles the stamped assessment and returns the rendered report inline. overall_escalate applies the tool's permitted escalation — several moderates to serious, or several seriouses to critical — and requires a justification. The returned report is THE ARTIFACT OF RECORD: present that, not a table of your own, and repeat its ratification queue if it is non-empty, because an assessment with unratified items is not final.

render_reportA

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 finalized this session; the cache does not survive a server restart.

export_robvisA

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. Omit records to use only what was assessed in THIS session (convenient, but session-scoped).

READ THE RETURNED losses BEFORE PUBLISHING THE FIGURE. It reports records that are not yet ratified, mixed C4 variants, equal weighting, and records built under differing algorithm transcriptions — each of which would make the figure claim more than the assessments support.

This is not a column dump, because robvis's ROBINS-I template is ROBINS-I V1 and V2 is not drop-in compatible:

  • V1 has SEVEN domains and orders selection of participants BEFORE classification of interventions. V2 has six and swaps that pair. Writing V2's columns out in order loses no data and raises no error — it just prints your classification judgement under the heading "Bias due to selection of participants". layout='robins_i' (the default) places each V2 judgement into its correct V1 SLOT and marks the dropped deviations domain NA. Upload it with tool='ROBINS-I'.

  • layout='generic' writes six columns headed with V2's own domain names, for tool='Generic'. The headings are then right, but robvis relabels the judgements into ROB1's vocabulary — Moderate becomes "Some concerns", Serious becomes "High". Prefer 'robins_i'.

Neither layout can carry 'Low, except for concerns about uncontrolled confounding': robvis reduces every cell to its first initial over a five-fill palette, so it collapses to Low whatever string is written. Say so in the figure caption.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Black-Swan-Causal-Labs/robins-i-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server