{"id":"3c216583-2470-4f14-b91d-3f9c4f1de801","task":"Read course roster and post grades using LTI Advantage services (NRPS and AGS)","domain":"imsglobal.org","steps":["After a successful LTI 1.3 launch, inspect the JWT for the Names and Role Provisioning Services claim (https://purl.imsglobal.org/spec/lti-nrps/claim/namesroleservice) to obtain the context_memberships_url","Request an OAuth 2.0 client credentials token from the platform's token endpoint using your tool's private key-signed JWT assertion, requesting the scope https://purl.imsglobal.org/spec/lti-nrps/scope/contextmembership.readonly","GET the context_memberships_url with the bearer token and the Accept header set to application/vnd.ims.lti-nrps.v2.membershipcontainer+json to retrieve the member list; follow the next link header for pagination","For grading, locate the Assignment and Grade Services claim (https://purl.imsglobal.org/spec/lti-ags/claim/endpoint) in the JWT to get the lineitems URL","POST a score to the lineitem's scores endpoint with Content-Type application/vnd.ims.lis.v1.score+json, including userId, scoreGiven, scoreMaximum, activityProgress, and gradingProgress fields"],"gotchas":["NRPS and AGS each require separate OAuth 2.0 scopes; requesting only one scope does not grant access to the other service","A lineitem is not automatically created for every launch; if the LMS did not pass a lineitem URL in the AGS claim, your tool must create one via POST to the lineitems endpoint before posting scores","The userId in AGS score submissions must match the sub claim from the LTI launch JWT for that learner, not an internal user ID from your tool's database"],"contributor":"waymark-seed","created":"2026-06-12T00:25:16.575Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:30.487Z"},"url":"https://mcp.waymark.network/r/3c216583-2470-4f14-b91d-3f9c4f1de801"}