Skip to main content
Glama

修改课程基本设置

lexue_update_course
Destructive

Update a specified course's basic settings, including name, dates, credits, type, subject, and description, then reopen the settings page to verify the changes.

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>",
      "changes": "<changes>"
    },
    "name": "lexue_update_course"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already carry the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false), so the description carries a lighter burden. It adds one useful behavioral cue: after a write, the caller should reopen the settings page and verify the result, which matters because there is no output schema. It does not say which changes are irreversible, what permissions are required, or what happens to settings that are omitted from the request.

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 purpose front-loaded and a verification clause appended; there is no filler. It is arguably too terse for the questions it leaves open, but that is a completeness problem, not a verbosity problem.

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

Completeness2/5

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

This is a destructive mutation tool that takes a nested object of eight optional fields and has no output schema, so it needs more explanation than two clauses provide. What the tool does on partial updates, what it affects beyond the settings named, and how to verify success are largely left to inference.

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

Parameters2/5

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

Schema description coverage is 50%: courseId, startsOn, and endsOn are documented in the schema, while the other five nested fields of the changes object have no descriptions. The key semantic question for a nested partial-update object — whether omitted fields are left unchanged or cleared — is not addressed anywhere, and the description does not compensate for that gap.

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 names a specific verb-resource pair: '修改指定课程的基本设置' (modify the specified course's basic settings). That is clearly distinct from lexue_create_course or lexue_get_course, but the description never explicitly names a sibling to differentiate itself from.

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?

No guidance is given on when to use this tool instead of close alternatives such as lexue_create_course or the assignment-update tool, and no prerequisites are stated. The only procedural remark ('重新打开设置页核对') is a post-call verification step, not usage guidance.

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