Skip to main content
Glama

LearnWorlds MCP by usefulapi

Get course analytics

learnworlds_get_course_analytics
Read-only

Course-level analytics: students, learning units, average score and success rate, total study time, average time to finish, social interactions and certificates issued. LearnWorlds: GET /v2/courses/{id}/analytics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYesThe course id — the course slug, e.g. "my-first-course".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the underlying endpoint (GET /v2/courses/{id}/analytics), which is mildly useful, but says nothing about freshness of the metrics, whether they are scoped to a time window, or cost/latency for large courses. Adequate but thin on behavior beyond the annotation.

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?

One tight sentence listing metrics up front followed by the API route reference; nothing is padded. The endpoint citation is slightly redundant for an agent that will never call the REST API directly, keeping it just short of a 5.

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 output schema, the description correctly carries the burden of describing returns by enumerating the eight metric families. It is nearly complete for a one-parameter read tool, though it leaves open whether the metrics cover all time or a selectable period.

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

Parameters3/5

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

There is a single required parameter with 100% schema description coverage, and the schema already explains that course_id is the slug. The description adds no parameter detail at all, so the baseline 3 applies — the schema carries the full burden and does so adequately.

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

Purpose5/5

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

States a specific verb (get) and resource (course analytics) and enumerates exactly what is measured: students, learning units, average score, success rate, study time, time to finish, social interactions, certificates. This cleanly separates it from adjacent siblings such as learnworlds_get_course_grades (per-student grades) and learnworlds_get_user_course_progress (single-user progress).

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the course-wide aggregate view, but the description never says when to pick it over learnworlds_get_course_grades or learnworlds_get_course_contents, nor does it set any exclusions. No prerequisites or context are given.

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.