Skip to main content
Glama

Remove a user from a learning path

axislms_unenroll_user_from_learningpath
Destructive

WRITE: remove a user from a learning path they are enrolled in. DELETE /learningpaths/enrollments/{learningpath_id}/users/{user_id}/.

Input Schema

NameRequiredDescriptionDefault
user_idYes
learningpath_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false; the description mostly restates this with 'WRITE' and the DELETE endpoint. It usefully clarifies that only the learning-path enrollment is removed rather than the user, but says nothing about whether progress is lost, what permissions are required, or whether the removal is reversible. With annotations carrying the safety profile, this is adequate but thin.

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

Conciseness5/5

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

Two compact sentences, front-loaded with the operation and followed by the endpoint. No filler; every element is relevant.

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

Completeness3/5

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

The tool is a simple two-ID destructive write with no output schema, and annotations cover safety hints. Still, for a destructive operation the description omits side effects such as enrollment/progress data loss and permission requirements, so it is not fully complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only places learningpath_id and user_id in an endpoint template, adding no source, format, or constraint information beyond the property names already present in the schema.

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?

The description states a specific verb ('remove') and resource ('a user from a learning path'), and includes the exact DELETE endpoint. It clearly distinguishes itself from the sibling enroll_user_in_learningpath by the direction of the operation.

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?

The phrase 'they are enrolled in' implies a precondition, but the description gives no explicit when-to-use guidance, no when-not-to-use guidance, and does not name alternatives such as unenroll_user_from_course or unenroll_user_from_ilt_session. Usage is only implied.

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.