Skip to main content
Glama

读取课程基本设置

lexue_get_course
Read-onlyIdempotent

Fetch basic settings and course type for a specified course using its course ID, so you can understand the course setup before viewing or managing its content.

Instructions

读取指定课程的基本设置及课程类型。

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": "lexue_get_course"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYes新乐学课程编号,例如 lexue_list_courses 返回的 courseId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already establish that this is a safe, idempotent, non-destructive read operation, so the bar for the description is lower. The description adds only that the response covers basic settings and the course type; it says nothing about behavior on an invalid or inaccessible courseId, permissions, or result shape. It is acceptable given the annotations but adds modest value.

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?

One short sentence with the resource front-loaded and no wasted wording. Because the sentence is short, it borders on under-specification rather than verbosity; this is a minor issue.

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

Completeness3/5

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

For a single-parameter read tool with full schema coverage, complete annotations, and no output schema, the definition is minimally adequate. It names the returned content at a high level, but an output schema is absent, so the description could say more about what the returned settings include; it does not.

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% and the single parameter courseId is fully documented, including its pattern and the pointer to lexue_list_courses as its source. The description adds no meaning about courseId beyond what the schema provides, so the baseline 3 applies.

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?

The Chinese description gives a specific verb+resource pair: 读取 (read) 指定课程的 基本设置及课程类型 (a specified course's basic settings and course type). This clearly distinguishes it from the write-oriented siblings lexue_update_course and lexue_create_course, though it never names those siblings — hence a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no prerequisites, and no mention of the alternatives for retrieving course information (for example lexue_list_courses for inventory versus this tool for a single course's detail). The only hint of usage is the phrase 指定课程, and the fact that courseId can be obtained from lexue_list_courses is documented only in the schema, not in the description.

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