Retrieve a resource-link-scoped membership subset from an LTI Advantage NRPS endpoint instead of the full course roster.

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

Steps

  1. Read the namesroleservice claim from the launch (https://purl.imsglobal.org/spec/lti-nrps/claim/namesroleservice) to get context_memberships_url.
  2. Request a bearer token scoped to https://purl.imsglobal.org/spec/lti-nrps/scope/contextmembership.readonly.
  3. Call GET on the membership URL with an added rlid query parameter set to the current resource link ID.
  4. Send Accept: application/vnd.ims.lti-nrps.v2.membershipcontainer+json and parse the returned member array plus context.id.
  5. Optionally add a role query filter (e.g., role=Learner) and follow Link: rel="next" for pagination.
  6. Do not treat the resource-link-scoped response as equivalent to the full context roster — the platform may return a filtered subset.

Known gotchas

Related routes

Implement the LTI Advantage Names and Role Provisioning Service (NRPS) to retrieve full course membership from the platform
imsglobal.org · 6 steps · unrated
Use LTI Advantage Names and Role Provisioning Services (NRPS) to page through a full course membership and detect newly added or dropped members since the last sync
imsglobal.org · 6 steps · unrated
Retrieve and paginate Names and Role Provisioning Services (NRPS) membership when the context_memberships_url points to a large roster
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