Skip to main content
Glama

lms_license_update

Destructive

Change a company LMS licence: seats, end date, languages, customer data; lock/unlock (locked stops every video at once, even running sessions); free seats of learners who left; rotate the token secret. Superadmins only; called by an agent, it is parked for approval.

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_license_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNointernal note
lockedNotrue = lock (no playback at all), false = unlock
languageNocourse language(s)
license_idYeslicense_id from lms_license_list
valid_untilNonew end: YYYY-MM-DD (end of day UTC) or ISO date-time
customer_refNoorder, invoice or contact reference
max_learnersNonew number of seats, 1-100000
customer_nameNocompany name of the customer
locked_reasonNointernal reason for the lock
offline_allowedNoallow (true) or forbid (false) self-contained offline packages; without our server there is no seat, lock or expiry control
release_student_idsNofree the seats of these LMS learner ids (matched by hash, never stored)
rotate_token_secretNotrue = new signing secret; open player links stop working, learners simply relaunch in the LMS
release_registration_idsNofree these seats (registration ids)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / offline_allowed
      Added value: +{
      +  "description": "allow (true) or forbid (false) self-contained offline packages; without our server there is no seat, lock or expiry control",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation: it explains that locking stops every video at once including sessions already in progress, that token rotation breaks existing open player links but learners just relaunch in the LMS, and that releasing seats matches learner ids by hash and never stores them. The approval-parking and superadmin constraints are non-obvious behavior an agent must know before invoking.

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 core action, then capability list, then the operational constraints last. It is a single long semicolon-chained sentence; dense but every clause carries distinct information, with only mild readability cost.

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 13-parameter, no-output-schema mutation tool flagged destructive, it covers the safety-critical surface (lock scope, token invalidation, irreversible seat release, approval parking) adequately. It stops short of noting that partial updates leave unmentioned fields untouched or what a parked/denied call returns, which would help an agent reason about retries on a non-idempotent tool.

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 already 100%, so the baseline is 3, but the description adds meaning the schema lacks: the blast radius of `locked` (kills running sessions, not just new playback) and the downstream effect of `rotate_token_secret`. It does not add anything for the low-risk fields like note or customer_ref, which is fine.

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?

Opens with a specific verb+resource ('Change a company LMS licence') and enumerates the mutable surface (seats, end date, languages, customer data, lock, seat release, token rotation). It reads clearly as the mutation counterpart to lms_license_create/lms_license_list, though it never names those siblings explicitly.

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?

States real preconditions for use: superadmin-only, and agent-originated calls are parked for approval, which tells the caller to expect a pending rather than applied result. It does not spell out when-not-to-use or which sibling to consult first (e.g., lms_license_list for ids), leaving a gap.

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.