Skip to content
Docs menu

Tool reference · Team onboarding

New in 14.6.0

onboarding_submit

Grades a quiz attempt: choice questions automatically, open answers by the server LLM if configured, otherwise queued for the department head.

team server /mcp
Caution. Each call uses an attempt (default limit 3). Refused while an attempt awaits review, after the module is passed, or when no attempts are left.

When to use

  • The employee has answered every question of the quiz.

Parameters

NameTypeDefaultDescription
module_idrequired string — (pattern ^[a-zA-Z0-9_-]{1,64}$)
answersrequired { question_id, choices, text }[] — —

Example

Arguments

{
  "module_id": "mod_deploy",
  "answers": [
    {
      "question_id": "q_deploy_days",
      "choices": [
        1
      ]
    },
    {
      "question_id": "q_billing",
      "text": "Billing is high-risk, so a second reviewer catches mistakes."
    }
  ]
}

Result shape

{
  "attempt_id": 17,
  "module_id": "mod_deploy",
  "status": "pending_review",
  "score": 1,
  "max_score": 3,
  "percent": 33,
  "pass_threshold": 0.8,
  "passed": null,
  "attempts_used": 1,
  "attempts_left": 2,
  "answers_revealed": false,
  "results": [
    {
      "question_id": "q_deploy_days",
      "status": "graded",
      "earned": 1,
      "points": 1,
      "grader": "auto",
      "comment": "",
      "correct": true
    },
    {
      "question_id": "q_billing",
      "status": "pending",
      "earned": 0,
      "points": 2,
      "grader": null,
      "comment": "",
      "correct": null
    }
  ]
}

Choice answers are zero-based option indexes. Correct options and rubrics appear only after a pass or on the last attempt.

Values are illustrative; the keys follow the server's handler. MCP clients receive the result as JSON text content.

Server description

The description the server sends to your agent in tools/list, captured from the v14.7.0 source:

Submit the employee's own quiz answers (choices are zero-based option indexes, open answers as text). Returns score, pass/fail and review status.

Found a mistake? Open an issue on GitHub.

Search