Skip to main content
Glama

reset_user_progress

Reset a user's progress on a specific course or selected learning activities. Provide user ID, course ID, and optional unit IDs to clear progress records in your LearnWorlds school.

Instructions

๐ŸŸก WRITE ยท creates data ยท POST /v2/users/{id}/courses/{cid}/reset

Resets the user's progress on a course or learning activity level.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload โ€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a ๐ŸŸข read tool that the target exists and the record is not already there. Related Update user progress tools: mark_as_complete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUser Id or email (encoded string)
cidYesCourse title Id
bodyNoRequest body (application/json).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description goes far beyond the annotations, explaining non-idempotency in concrete terms ('a repeated call can duplicate the effect'), server-side auth injection, throttling under the 30-per-10s cap, retries on 429/5xx, and the exact error-payload semantics for non-2xx replies. This is rich, actionable behavioral context that annotations alone do not provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with labeled sections (Behavior, Parameters, Returns, Use when) and front-loaded with the WRITE status and endpoint. It is somewhat verbose but every section earns its place. There is a small redundancy between 'creates data' in the header and 'creates a record or triggers an action' in the Behavior section.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating, non-idempotent tool with no output schema, the description covers essentially everything needed: endpoint, HTTP method, auth, rate limiting, retry behavior, return format, error codes, preconditions, and a related sibling. No critical information for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already covers all three parameters (100% coverage), so the baseline is 3. The description adds important value by clarifying that the full JSON payload goes in the single body argument, is forwarded verbatim, and that while the spec marks body optional, this endpoint actually expects one. It doesn't expand on id/cid beyond their schema descriptions, which is acceptable given the coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Resets the user's progress on a course or learning activity level,' which matches the tool name and endpoint. The action is unambiguous even without sibling comparison. A minor flaw is the 'Use when: only when the user asked to create this' phrase, which uses 'create' instead of 'reset' and slightly muddies the intended trigger.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides an explicit 'Use when' section: invoke only on explicit user request, verify existence with a ๐ŸŸข read tool first, and names mark_as_complete as the related progress-update tool. This gives a clear decision path, though it could be stronger by explicitly stating 'use mark_as_complete for completion requests' instead of just calling it 'related.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohneben/Learnworlds-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server