Skip to content
OpenTrain AIOpenTrain AIOpenTrain AIDocs

Ask OpenTrain

Answers from the documentation, with sources.

What would you like to do with OpenTrain?

AI answers can be mistaken. Check the linked sources. Don’t include private account information.

Open app

DEVELOPER DOCUMENTATION

MCP: Reviewer Feedback and Task Checklists

Local and hosted MCP tools for private reviewer reports, access grants, adaptive checklist authoring, exact previews, and submission review.

OpenTrain MCP 0.14.0 exposes the complete Reviewer Feedback and adaptive Task Checklist employer workflows in both the local stdio server and the hosted OpenTrain MCP endpoint.

Every tool returns a compact text block plus machine-readable structuredContent with apiBaseUrl and the exact API result. API failures return isError: true and preserve the HTTP status, code, request ID, and structured details.

ToolPurpose
opentrain_job_feedback_settingsRead the per-job switch even while it is off.
opentrain_job_feedback_set_enabledEnable or disable the feature with explicit confirmation and an idempotency key.
opentrain_job_feedback_listFilter and page employer-private reports with authoritative status counts.
opentrain_job_feedback_getRead one report and its oldest-first append-only event history.
opentrain_job_feedback_summaryRead authoritative total, unresolved, status, per-person, and unlinked aggregates.
opentrain_job_feedback_rosterDiscover canonical subject people and every contract they held.
opentrain_job_feedback_submitSubmit one employer-authored report about a canonical subject.
opentrain_job_feedback_triageChange lifecycle status with the exact updatedAtIso concurrency token.
opentrain_job_feedback_link_subjectLink a legacy unlinked report to one canonical subject, once.
opentrain_job_feedback_access_listList active-contract reviewer candidates and grant state.
opentrain_job_feedback_access_setGrant or revoke one reviewer.
opentrain_job_feedback_access_bulkGrant or revoke up to 200 reviewers transactionally.

Start with settings, then enable and configure reviewer access. Use roster for the canonical subjectUserId and optional subjectContractId before submitting employer feedback. A suggested action is only a recommendation; it never performs a warning, retraining assignment, or offboarding automatically.

Every feedback mutation takes an explicit idempotencyKey. triage also requires the report’s latest updatedAtIso; refresh with get after a 409 rather than blind-retrying.

ToolPurpose
opentrain_job_checklists_capabilitiesRead live operations, schema limits, and optional job state.
opentrain_job_checklists_listList ordered definitions and the per-job enabled state.
opentrain_job_checklists_getRead one employer builder draft, versions, validation issues, and publish impact.
opentrain_job_checklists_createCreate one complete draft atomically.
opentrain_job_checklists_manageUpdate the draft with CAS, retire it, or restore it.
opentrain_job_checklists_validateValidate an inline local bundle or a stored draft/published tree without writing.
opentrain_job_checklists_resolveResolve sample raw answers, branches, repeated blocks, validity, and progress without storing.
opentrain_job_checklists_previewMint a browser URL bound to an exact draft or immutable published revision.
opentrain_job_checklists_publishPublish an immutable version with draft/live revision guards and explicit confirmation.
opentrain_job_checklists_reorderReorder the complete definition set using a compare-and-set precondition.
opentrain_job_checklists_versionsList immutable versions or read one exact version.
opentrain_job_checklists_submissionsList filtered submission rows or read one version-pinned result.
opentrain_job_checklists_set_enabledEnable worker visibility, or disable it with explicit confirmation.

Checklist authoring works while the job feature is off. Follow this order:

  1. Call capabilities and list.
  2. Validate the complete proposed title, required mode, and typed tree inline.
  3. Create a complete draft, or get and CAS-update an existing draft.
  4. Resolve representative answers for every branch and repeat count.
  5. Mint and open an exact-revision preview URL in an authenticated browser.
  6. Publish with the expected draft revision, expected live version, and confirmPublish: true.
  7. Re-read the canonical definition and inspect the applied impact and sweep counts.
  8. Enable the job only after every published definition is ready.

opentrain_job_checklists_preview never silently resolves an unspecified draft revision. Choose one source mode:

  • draft with expectedDraftVersion
  • published with versionNumber
  • published-latest, which resolves once and reports the immutable version it bound

The returned previewUrl contains a short-lived capability in its fragment. Open the URL directly; the page exchanges the capability in a request body and strips the fragment from browser history. The response also reports the exact content hash and expiration time.

Checklist submission detail includes the submitted version’s title, tree, required mode, and active valid answers. Hidden, orphaned, and stale answer paths appear only as inactive audit metadata; their raw values and hashes are not returned.

Reviewer Feedback has a stronger boundary: only the employer side can call its tools. The reported AI trainer never receives the report, author, severity, suggested action, notes, event history, or aggregate counts through MCP.