Skip to main content
Glama

lms_package_build

Destructive

Build the LMS package for a licence and language and return a download link valid 7 days. The customer uploads the ZIP unchanged into their LMS (SCORM Cloud, Moodle, SuccessFactors …). format: scorm12 (default), scorm2004 (4th edition) or cmi5. mode dispatch (default): small wrapper loading our player (seats, lock and expiry stay under our control). mode offline: self-contained ZIP with videos, player, materials and knowledge test — only if the licence has offline_allowed; licensee, seats and end date are shown on the start page and in the manifest, but nothing is enforced any more. Superadmins only.

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": {
      "license_id": "<license_id>"
    },
    "name": "lms_package_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNodispatch (default) or offline (self-contained, needs offline_allowed)
formatNoLMS standard of the package. Default scorm12
languageNopackage language; default the licence's first language
license_idYeslicense_id from lms_license_list
offline_mediaNooffline only: all videos (default) or only the main video (smaller); materials always

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "LMS standard of the package. Default scorm12",
      +  "enum": [
      +    "scorm12",
      +    "scorm2004",
      +    "cmi5"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "dispatch (default) or offline (self-contained, needs offline_allowed)",
      +  "enum": [
      +    "dispatch",
      +    "offline"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / offline_media
      Added value: +{
      +  "description": "offline only: all videos (default) or only the main video (smaller); materials always",
      +  "enum": [
      +    "all",
      +    "main"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by explaining the operational consequence of each mode — dispatch preserves enforcement, offline ships a self-contained ZIP where 'nothing is enforced any more' — plus the 7-day link lifetime and the end-user upload step. It doesn't explain why destructiveHint is true (e.g. what is consumed or overwritten by a build), which is the one behavioral gap for a destructive-flagged tool.

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?

Front-loaded with the action and return value, then mode/format details, which is the right order for an agent. The long em-dash-aside sentence about offline mode is information-dense and slightly hard to parse but carries no filler.

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 supplies the return value (a 7-day download link) and the downstream consumer (uploading the ZIP to SCORM Cloud, Moodle, SuccessFactors). It does not address build duration, asynchrony, or failure modes, which leaves a small gap for a build-triggering operation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by adding cross-parameter semantics the schema cannot express, notably that offline mode is gated on the licence's offline_allowed flag. It does not mention offline_media, though the schema documents that parameter fully.

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 ('Build the LMS package for a licence and language') and immediately names the concrete outcome ('return a download link valid 7 days'). It also distinguishes itself from the licensing siblings (lms_license_list/create/update) by being the only step that produces a deliverable artifact.

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?

Explicitly separates the two modes and their conditions: dispatch is default and keeps seats/lock/expiry under our control, offline is 'only if the licence has offline_allowed'. It also states the access prerequisite ('Superadmins only'). It doesn't name a competing sibling tool, but the mode-selection guidance covers the real decision point.

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.