Skip to main content
Glama

Enroll a user in an ILT session

axislms_enroll_user_in_ilt_session

WRITE: enroll a user in a session of an ILT program (takes a seat; check seats_remaining with axislms_list_ilt_sessions first). POST /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

A4.1/5.0
Behavior4/5

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

The annotations already disclose readOnly=false, idempotent=false, and destructive=false, so safety is covered; the description earns credit for adding that the call "takes a seat" and for naming the capacity check. It remains silent about failure modes, such as behavior when the session is full or the user is already enrolled.

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?

A single compact sentence front-loads the write classification, then the action, then the prerequisite, then the endpoint, so the important detail appears first. Every clause contributes, though the endpoint string is partly redundant.

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?

For a three-parameter mutation with annotations covering the safety profile and no output schema, the description covers the core action and a practical precondition. Missing details about the return value and conflict handling are minor but not negligible.

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 carry parameter meaning; it names program_id, session_id, and user_id only through the endpoint path, without stating what each identifier refers to. Because the names are largely self-explanatory, this baseline-level coverage is just adequate.

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 definition opens with a specific verb ("enroll") and resource ("a user in a session of an ILT program"), and the "ILT" qualifier separates it from sibling enroll tools for courses and learning paths. It also shows the endpoint shape, which reinforces the operation's exact direction.

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 supplies a concrete prerequisite, telling the caller to "check seats_remaining with axislms_list_ilt_sessions first", and names that sibling tool directly. However, it never states when not to use this tool, such as using the unenroll sibling to reverse an enrollment.

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.