Skip to main content
Glama

archive_target

Archive a teaching target to soft-delete it, removing from scheduling while preserving history, and cancel its future sessions. Unarchive to restore the target without recovering canceled sessions.

Instructions

归档 / 取消归档教学对象(学生·班级的「软删除」)→ :9090。 返回 {ok, id, archived, cancelled_sessions?}。

🔴 归档 = 本系统的「删学生」:对象移出排课选择器、历史保留(非硬删)。 归档会联动取消该对象未来未上的场次,cancelled_sessions 返回联动取消的场次数。 取消归档(archived=False)只解归档标记、不恢复已取消场次(复课需重新排课)。 参数: target_id : 对象 id(字符串雪花号) archived : True=归档(软删,默认)| False=取消归档(复用)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archivedNo
target_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: archiving is a soft delete that removes from scheduling picker but retains history, archives cancel future sessions, and unarchiving does not restore cancelled sessions. The return format is also given.

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 well-structured with bullet points and bold text, but it is slightly verbose. It effectively communicates key points without redundancy.

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

Completeness5/5

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

Given the output schema exists and the description covers all main aspects (soft delete, cancellation side effect, unarchive limitations), it is complete for a simple two-parameter tool.

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?

Though schema coverage is 0%, the description explains target_id as a snowflake string ID and archived boolean with default True and meanings for True/False, adding value beyond the 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 archives/unarchives teaching targets (students/classes) as a soft delete, with a distinct purpose from siblings like create_teach_target or list_teach_targets.

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

Usage Guidelines4/5

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

It explains when to archive (to soft delete) and the side effects (cancels future sessions, unarchiving does not restore). However, it doesn't explicitly contrast with alternative tools like hard delete or other target management operations.

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/RuntimeAll/teacher-mcp'

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