Skip to main content
Glama

Материалы курса

lms_get_course_materials
Read-onlyIdempotent

Retrieve a SmartLMS course's materials by course ID, including files, assignments, tests, and forums, with each item's type, title, and link.

Instructions

Список элементов курса SmartLMS (файлы, задания, тесты, форумы и т.п.) по id курса (см. lms_list_courses). Возвращает тип, название и ссылку каждого элемента.

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": {
      "courseId": "<courseId>"
    },
    "name": "lms_get_course_materials"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYesid курса на edu.hse.ru (course/view.php?id=...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / courseId / maximum
      Added value: +9007199254740991
  2. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds value beyond that by stating the shape of the response (type, title, URL per element), anticipating what the agent will get back.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two short sentences: the resource scope and input source come first, the return contents second. Nothing is padded and nothing needed is missing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, annotated read tool with no output schema, the description covers what is listed, what identifies the course, and what each result contains. An agent has everything needed to call it correctly.

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% — the courseId parameter is already documented with its edu.hse.ru URL form. The description only restates that the id refers to a course and points at lms_list_courses, adding minimal semantics beyond the schema; baseline 3 is appropriate.

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 ('Список элементов курса SmartLMS') and enumerates what counts as an element (файлы, задания, тесты, форумы), which lets an agent distinguish it from lms_list_assignments and lms_list_courses. It also names the return payload (тип, название, ссылка).

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 tells the agent the input is a course id and points to lms_list_courses as the way to obtain one — a concrete prerequisite chain. It does not, however, say when to prefer this over lms_list_assignments for assignment-only needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.