Skip to main content
Glama

创建LMS非课堂活动

classin_create_activity_noclass

Create non-class activities (assignments, quizzes, recorded lessons, etc.) under an LMS unit. Provide course ID, unit ID, activity type, and teacher UID to return the new activity ID.

Instructions

在LMS单元下创建非课堂活动(作业/测验/录播课/学习资料/讨论/答题卡/打卡)。

参数:

  • courseId: 课程ID

  • unitId: 所属单元ID

  • activityType: 活动类型 (2=作业, 3=测验, 4=录播课, 5=学习资料, 6=讨论, 7=答题卡, 8=打卡)

  • name: 活动名称

  • teacherUid: 活动教师UID

  • startTime: 开始时间戳(秒,可选)

  • endTime: 结束时间戳(秒,可选)

返回:

  • 成功返回活动ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already indicate readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the description is not required to restate those. The description adds the return behavior (returns activity ID on success) and the optional timestamps, but it does not disclose potential side effects, such as duplicate creation on repeated calls, beyond what annotations imply. No contradiction.

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?

The description is well-structured: a one-sentence purpose followed by a structured parameter list and a return-value note. Every line is informative and necessary, with no redundancy or fluff.

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?

The description gives a complete picture for creating an activity: purpose, parameters with types and optional markers, and the return value. It is sufficient for an agent to select and invoke the tool, though it doesn't explicitly list which parameters are required (implied by optional markers) or error conditions, which would be nice but not essential.

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

Parameters5/5

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

The input schema has zero parameters, so the description is the sole source of parameter information. It lists all 7 parameters with clear descriptions and explicit enum values for activityType, and marks startTime/endTime as optional. This fully compensates for the empty schema.

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?

The description clearly states the tool creates non-classroom activities (homework, quiz, recorded course, etc.) under an LMS unit, using a specific verb '创建' and resource '非课堂活动'. It distinguishes from sibling 'classin_create_classroom_activity' by explicitly mentioning '非课堂' (non-classroom) and the LMS unit context.

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

Usage Guidelines3/5

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

The description implies usage context ('在LMS单元下创建非课堂活动') and the list of activity types gives some idea of when to use it. However, it does not explicitly state when to prefer this over alternatives like classin_create_classroom_activity, nor does it mention any exclusions or conditions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuanlang12/classin-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server