Tool Reference
atoms_record_test_result
Record a pass/fail/blocked result for a test case
Record an execution result for a test case. Each call appends a new entry to the test execution history : previous results are preserved, building a complete test run timeline.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string (UUID) | Yes | The project containing the test case |
item_id | string | Yes | The test case ID, e.g. "TC-012". Must be a test-case item |
result | string | Yes | Execution outcome: passed, failed, blocked, or not-run |
note | string | No | Freeform note about the run (max 1000 characters) |
Example Response
{
"status": "success",
"data": {
"item_id": "TC-012",
"result": "passed",
"run_at": "2025-12-20T09:15:00Z",
"run_by": "mcp_claude",
"note": "Verified in sprint 12 regression suite",
"message": "Test result recorded for TC-012"
}
}Notes
- This tool modifies data (
readOnlyHint: false,destructiveHint: false). - The server validates that
item_idexists and is of typetest-case. Passing a requirement or note ID returns an error. - Results are appended to the
test_resultsshadow table. The latest result also becomes thelatest_resultreturned byatoms_get_item. - Each recorded result is logged to
change_historyfor full audit traceability. - Use
atoms_get_itemto retrieve the complete test execution history for a given test case.