Skip to main content
Glama

LearnWorlds MCP Server and API by Cotlet

Enroll users in LearnWorlds

learnworlds_enroll_users
Read-onlyIdempotent

Enroll users in the user's own LearnWorlds account from ChatGPT, Claude or any AI agent. Returns how to do it in LearnWorlds step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's LearnWorlds Cloud Browser. LearnWorlds's official API: LearnWorlds has a REST API (v2) for courses, users, bundles, subscriptions, promotions, payments and certifications, but it comes with the Learning Center plan and higher, and you need your own code to use it (checked 5 Nov 2026).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "learnworlds_enroll_users"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false; the description reinforces this with 'opens nothing by itself' and specifies the shape of the return value (screens, buttons, fields). It resolves the apparent tension between the name 'enroll_users' and a read-only hint by explicitly saying it performs no action. Missing only peripheral detail such as behavior when the account is not connected.

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

Conciseness3/5

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

The core purpose is front-loaded, but the trailing API paragraph is long and partly tangential, and phrases like 'from ChatGPT, Claude or any AI agent' and the oddly future-dated '(checked 5 Nov 2026)' add bulk without helping an agent decide or call. The sentences are dense multi-clause constructions where two short ones would read better.

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

Completeness4/5

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

With no parameters and no output schema, the description carries the burden well: it says what comes back (step-by-step screens, buttons, fields) and what to do next. It is nearly complete; the only gap is preconditions such as whether the LearnWorlds account must already be connected.

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 tool takes zero parameters, so there is no parameter semantics to explain and the baseline is 4. The description does not need to compensate for any schema gap here.

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 names a specific verb and resource (enroll users in LearnWorlds) and immediately clarifies the actual mechanism: it returns step-by-step instructions rather than performing the enrollment. That distinction is what separates it from a true mutation tool. It does not explicitly contrast itself with siblings like learnworlds_unenroll_users, so it stops short of a 5.

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?

It gives a clear usage path: call this to get the steps, then execute them with the cotlet_browser_* tools in the LearnWorlds Cloud Browser. It also explains why the direct API route is unavailable (Learning Center plan and higher, requires own code), which justifies the browser path. It never states when this tool should not be used, so it is clear context rather than full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources