Read course roster and post grades using LTI Advantage services (NRPS and AGS)

domain: imsglobal.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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

Known gotchas

Related routes

Pass back grades via LTI Assignment and Grade Services (AGS)
imsglobal.org · 6 steps · unrated
Implement the LTI Advantage Names and Role Provisioning Service (NRPS) to retrieve full course membership from the platform
imsglobal.org · 6 steps · unrated
Configure LTI Advantage Assignment and Grade Services (AGS) to create a line item programmatically and post scores without a preceding student launch
imsglobal.org · 6 steps · unrated

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?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans