Skip to main content
Glama

research_os

Executes the full research pipeline to validate study flow, declarations, references, and locator quotes, then writes separate narrative and evidence artifacts for review.

Instructions

Run the full pipeline (bind, audit, score, separate, plan) and write narrative.jsonl and evidence.jsonl as distinct artifacts; also checks flow arithmetic (PRISMA for reviews, CONSORT/STROBE participant flow for trials and observational studies), declarations, references (recency, primary share, retractions) and locator quotes.

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": {
      "workspace": "<workspace>"
    },
    "name": "research_os"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idNo
recordsNo
locatorsNo
pdf_rootNo
ris_pathsNo
workspaceYes
paper_typeNo
plan_limitNo
source_pathNo
target_pathNo
depth_targetNo
min_anchoredNo
records_pathNo
thesis_stageNo
allow_em_dashNo
document_kindNo
fulltext_rootNo
records_pathsNo
thesis_profileNo
extraction_pathNo
journal_profileNo
manuscript_pathNo
research_designNo
research_sourceNo
locators_payloadNo
participant_flowNo
reference_policyNo
bibliography_pathNo
retraction_db_pathNo
required_declarationsNo
required_front_matterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.2.0
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties
      Added value: +{
      +  "allow_em_dash": {},
      +  "bibliography_path": {},
      +  "depth_target": {},
      +  "document_kind": {},
      +  "extraction_path": {},
      +  "fulltext_root": {},
      +  "journal_profile": {},
      +  "locators": {},
      +  "locators_payload": {},
      +  "manuscript_path": {},
      +  "min_anchored": {},
      +  "paper_type": {},
      +  "participant_flow": {},
      +  "pdf_root": {},
      +  "plan_limit": {},
      +  "records": {},
      +  "records_path": {},
      +  "records_paths": {},
      +  "reference_policy": {},
      +  "required_declarations": {},
      +  "required_front_matter": {},
      +  "research_design": {},
      +  "research_source": {},
      +  "retraction_db_path": {},
      +  "ris_paths": {},
      +  "run_id": {},
      +  "source_path": {},
      +  "target_path": {},
      +  "thesis_profile": {},
      +  "thesis_stage": {},
      +  "workspace": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / required
      Added value: +[
      +  "workspace"
      +]
  2. First observedv4.0.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the tool writes two distinct artifacts (narrative.jsonl, evidence.jsonl) and performs flow-arithmetic, declaration, reference, and locator-quote checks. It omits whether artifacts are overwritten, permission requirements, failure modes, and cost/latency of a full pipeline run.

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

Conciseness3/5

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

The main action is front-loaded, which is good, but the rest is a single dense run-on sentence with stacked parentheticals and semicolons. It is information-rich yet hard to parse, and splitting the artifact/check clauses would improve scanability without adding length.

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

Completeness2/5

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

For a 31-parameter orchestration tool with no annotations and no output schema, the description is far too thin. It does not explain artifact formats, how parameters interact, what happens on partial failure, or what a successful pipeline result looks like — leaving the agent unable to invoke it confidently beyond the required workspace argument.

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

Parameters2/5

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

Schema description coverage is 0% across 31 parameters, so the description must compensate. It references a few concepts (paper_type via PRISMA/CONSORT/STROBE, participant_flow, required_declarations, reference_policy, locators), but the majority of parameters — run_id, pdf_root, ris_paths, plan_limit, depth_target, min_anchored, thesis_profile, and others — receive no explanation in either the schema or the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Run the full pipeline') and enumerates the stages (bind, audit, score, separate, plan) plus the artifacts produced. It distinguishes itself from step-wise siblings by being the full-pipeline orchestrator, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is implied by 'full pipeline' — the agent can infer this is for end-to-end runs rather than individual stages like quality_score or writing_plan. However, there is no explicit when-to-use/when-not guidance, no prerequisites, and no mention of idempotency or re-run behavior.

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