Skip to main content
Glama

Remove a user from an ILT session

axislms_unenroll_user_from_ilt_session
Destructive

WRITE: remove a user from a session of an ILT program. DELETE /ilt/enrollments/{program_id}/{session_id}/{user_id}/.

Input Schema

NameRequiredDescriptionDefault
user_idYes
program_idYes
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description's 'WRITE:' label and DELETE verb add the HTTP method detail, but it does not disclose downstream effects such as what happens to attendance records, whether the removal is reversible, or whether it errors when no enrollment exists. With annotations carrying the safety burden, 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.

Conciseness4/5

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

Two short sentences, front-loaded with the operation type and verb, with zero filler. The endpoint string is partially redundant with the annotations' destructive/write signals but still earns its place by encoding parameter order.

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?

There is no output schema, so the description should cover outcomes and failure modes for a destructive, non-idempotent write — it does not. An agent knows what the call does and which IDs to supply, but not what success returns, whether retries are safe (idempotentHint=false implies not), or what preconditions exist.

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?

Schema description coverage is 0%, so the description must compensate. The URL template 'DELETE /ilt/enrollments/{program_id}/{session_id}/{user_id}/' does map each of the three required parameters to a path segment and implies they are positive integer IDs, which is genuine added meaning. However it says nothing about ID provenance (e.g., where to obtain session_id) or error behavior for bad IDs.

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?

States a specific verb ('remove') and resource ('a user from a session of an ILT program'), which cleanly separates it from the sibling unenroll_user_from_course and unenroll_user_from_learningpath by naming the ILT session scope. The REST endpoint reinforces the exact resource path. It stops short of an explicit 'this is not the course/learning-path unenroll' statement, so it is clear but not maximally differentiated.

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

Usage Guidelines2/5

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

No guidance on when to use this versus axislms_unenroll_user_from_course, axislms_unenroll_user_from_learningpath, or axislms_remove_usergroup_member. Nothing says whether the user must currently be enrolled, whether prerequisites/approvals matter, or what happens on a non-enrolled user.

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.