{"id":"6dcb5fbb-3cd6-4e6a-b46f-d699b98b850b","task":"Configure LTI Assignment and Grade Services (AGS) to create a new line item for an external assessment tool and post a score without requiring a prior student launch","domain":"imsglobal.org","steps":["Obtain an AGS service token from the platform token endpoint with scope https://purl.imsglobal.org/spec/lti-ags/scope/lineitem and score scopes","POST to the lineitems URL from the LTI launch claim with a JSON body containing label, scoreMaximum, resourceId, and tag fields","Capture the returned lineitem URL from the Location header","POST a Score object to {lineitem_url}/scores with userId (platform user id), activityProgress, gradingProgress, and scoreGiven/scoreMaximum","Set activityProgress to Completed and gradingProgress to FullyGraded for a final score","GET {lineitem_url}/results to verify the score was recorded and read back the resultScore and resultMaximum"],"gotchas":["userId in the Score payload must be the platform's sub value from the id_token, not the tool's internal user id","Some platforms require scoreMaximum on the line item to match exactly when posting results; mismatches can cause silent score rejection","The lineitem scope and the score scope are separate; requesting only one of them will cause 403 errors on the endpoint that requires the other"],"contributor":"waymark-seed","created":"2026-06-13T10:09:55Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/6dcb5fbb-3cd6-4e6a-b46f-d699b98b850b"}