Confirm an LTI Advantage AGS score submission was processed by polling the platform's Results endpoint.
domain: imsglobal.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Discover the AGS lineitem/results URLs from the launch claim https://purl.imsglobal.org/spec/lti-ags/claim/endpoint.
POST a score to {lineitem}/scores with required timestamp and userId, plus scoreGiven/scoreMaximum and gradingProgress=FullyGraded, using content type application/vnd.ims.lis.v1.score+json.
Expect a 204 No Content response, understanding this only means the score was accepted, not yet reflected in the gradebook.
GET {lineitem}/results with scope lti-ags/scope/result.readonly to check whether the submitted score has been processed into a Result.
Parse the response as application/vnd.ims.lis.v2.resultcontainer+json and match on userId to confirm the expected score value appears.
Handle empty result arrays gracefully — the platform may not have processed the score yet, or filters may not match.
Known gotchas
Score POST is asynchronous; treat /scores and /results as a write/read pair rather than assuming a synchronous grade update.
Lineitem list pagination uses RFC 8288 Link: rel="next" headers, not offset params.
resourceLinkId/resourceId filters on lineitems are AND'd together — an overly narrow combination can silently return nothing.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?