Skip to main content
Glama

lms_license_create

Destructive

Create a company licence for our self-study video courses in a customer's own LMS (SCORM 1.2 dispatch package). A seat is taken the first time a new LMS learner starts; seats are freed only by an admin. Superadmins only; called by an agent, it is parked for approval. Afterwards build the ZIP with lms_package_build.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "customer_name": "<customer_name>",
      "product": "<product>",
      "max_learners": "<max_learners>",
      "valid_until": "<valid_until>"
    },
    "name": "lms_license_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNooptional internal note
productYescourse: user | user_online | developer | consultant | fach (business system, needs fachsystem)
languageNocourse language(s); one ZIP per language. Default de
fachsystemNobusiness system key from src/config/fachsysteme.ts, only for product fach (e.g. bookaize)
valid_untilYesend of the licence: YYYY-MM-DD (end of day UTC) or ISO date-time
customer_refNooptional order, invoice or contact reference
max_learnersYesnumber of seats (learners), 1-100000
customer_nameYescompany name of the customer
offline_allowedNoallow self-contained offline packages (videos inside the ZIP, no seat/lock control). Default false
customer_tenant_idNooptional DelegAIze tenant id of the customer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / offline_allowed
      Added value: +{
      +  "description": "allow self-contained offline packages (videos inside the ZIP, no seat/lock control). Default false",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description adds substantial context the agent would otherwise have to guess: seat consumption happens on first learner start, seats are released only by an admin, and the call is gated behind superadmin rights and an approval queue. That directly explains the destructive/non-idempotent profile rather than contradicting it.

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?

Three sentences, roughly 55 words, front-loaded with the verb and resource, then prerequisites, then the follow-up tool. Each sentence carries distinct information, with only minor looseness in the first-person phrasing ('our self-study video courses').

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 ten-parameter mutation with no output schema, the definition covers the essential unknowns: permissions, approval behavior, seat lifecycle and the required next step. It does not say what is returned (licence id, dispatch key, package reference) or what happens if the customer or tenant does not exist, which keeps it from being fully complete.

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 coverage is 100%, so every parameter, including max_learners, offline_allowed and fachsystem, is already documented in the schema. The description adds a little meaning to max_learners via the seat-allocation rules, but says nothing about language, offline_allowed, or the fach/fachsystem pairing, so it does not go beyond the schema baseline.

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 and resource ('Create a company licence') plus the delivery format ('SCORM 1.2 dispatch package'), which distinguishes it from lms_license_list and lms_license_update. It also names the follow-up sibling, lms_package_build, so the agent can place the tool in a workflow without opening any schema.

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?

Gives clear preconditions ('Superadmins only'; agent calls are 'parked for approval') and an explicit next step ('Afterwards build the ZIP with lms_package_build'). It stops short of stating when to prefer lms_license_update over creating a new licence, so the exclusion side 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.