Skip to main content
Glama

读取课程其他模块

lexue_read_course_section
Read-onlyIdempotent

Reads visible text from a New Lexue course section—such as content, exams, discussions, grades, or analytics—for a given course ID and section type.

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>",
      "section": "<section>"
    },
    "name": "lexue_read_course_section"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description's only behavioral addition is the qualifier 'visible text' (可见文字), which usefully implies the result is rendered/human-visible content rather than raw structured data, but it says nothing about truncation, volume, or failure modes for restricted sections like analytics or grades.

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?

A single front-loaded sentence with the verb first and the option list as the payload; nothing is padding. The long enumeration is justified because it doubles as the enum glossary, though it could be trimmed slightly.

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?

With only two parameters, rich annotations, and no output schema, the description is close to sufficient for correct invocation. However, for a tool spanning nine heterogeneous sections it never hints that returns differ wildly by section or that some sections may be empty or permission-gated.

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 only 50% — `courseId` is documented in the schema, but the `section` enum values are bare keys (content, rollCall, analytics, ...). The description compensates by glossing each option in Chinese, which is real added meaning an agent could not get from the schema alone. It still does not clarify what each section returns or whether any are privileged.

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 description states a specific verb (读取, read) and enumerates the exact resources it covers — chapters, exams, discussions, questionnaires, question bank, roll call, groups, grades, analytics — which maps one-to-one onto the `section` enum. An agent can tell this is a read-only section fetcher, though it never contrasts itself with sibling readers such as lexue_get_activity or lexue_get_course.

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 or when-not-to-use guidance and no named alternative. The agent must infer that this tool is for bulk section text versus the per-object getters in the sibling list, and nothing states what to do if a section is unavailable or which sections require extra permissions.

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