Skip to main content
Glama

移除活动成员

classin_delete_activity_student
DestructiveIdempotent

Remove a student from an LMS activity by providing course ID, activity ID, and student UID(s).

Instructions

从LMS活动中移除学生。

参数:

  • courseId: 课程ID

  • activityId: 活动ID

  • studentUids/studentUid: 要移除的学生UID列表(或单个UID)

返回:

  • 成功返回操作结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's 'Remove' aligns with that. The description adds the return value ('success returns operation result'), but does not detail side effects (e.g., irreversible nature, impact on grades, or authorization requirements). With annotations covering the safety profile, this is adequate but not rich.

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?

The description is compact and front-loaded with the main purpose. The parameter list is neatly structured and the return note is brief. No extraneous text. The only minor flaw is the slightly awkward 'studentUids/studentUid' notation, but overall it is appropriately concise.

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?

Given no output schema, the description does explain the return value generically as 'operation result,' which is vague. It does not mention error cases, prerequisites, or whether the action is reversible, but the destructive hint covers some of this. The parameter list compensates for the empty schema, but the overall guidance is minimal for a deletion tool of this scope.

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?

The input schema is empty (0 parameters), so the description carries the full burden of documenting parameters. It lists courseId, activityId, and studentUids/studentUid with brief explanations, including note that studentUids can be a list or single UID. This adds essential meaning beyond the schema, though it lacks explicit types or required flags.

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's function: 'Remove students from LMS activity.' This is a specific verb+resource formulation that distinguishes it from siblings like classin_add_activity_student (which adds students) and classin_delete_activity (which removes the entire activity). The purpose is unambiguous.

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 through its main sentence—one should use this tool when removing students from an activity. However, it does not explicitly mention when not to use it or suggest alternatives like classin_add_activity_student for the reverse operation. The context is clear but lacks explicit exclusionary or alternative guidance.

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