Skip to main content
Glama

修改学校设置

classin_edit_school_settings
Idempotent

Adjust school global settings to control whether teachers can create courses and invite students.

Instructions

修改机构/学校的全局设置。

参数:

  • allowTeacherCreateCourse: 是否允许老师创建课程 (0/1)

  • allowTeacherInviteStudent: 是否允许老师邀请学生 (0/1)

返回:

  • 成功返回操作结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNo输出格式: 'markdown' 人类可读格式 或 'json' 机器可读格式markdown
allowTeacherCreateCourseNo是否允许老师创建课程: 0=不允许, 1=允许
allowTeacherInviteStudentNo是否允许老师邀请学生: 0=不允许, 1=允许
Behavior3/5

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

Annotations already mark this as a non-read-only, idempotent, non-destructive operation. The description adds only that success returns an operation result, which is generic and adds minimal context beyond the annotations. No contradiction exists, but no additional behavioral nuance (e.g., side effects, permissions) is disclosed.

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 purpose. However, the parameter list duplicates schema information and the return line is vague, which slightly reduces value. Overall, it remains efficient and readable.

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?

The tool is relatively simple, but without an output schema, the vague return statement ('成功返回操作结果') leaves result structure unclear. The description also doesn't explicitly explain that changes apply globally, though '全局设置' hints at it. The description is adequate but leaves gaps about return values and scope.

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

Parameters3/5

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

The input schema provides 100% coverage with descriptions for all three parameters, including response_format. The description redundantly lists the two setting parameters but omits response_format, adding no new information beyond the schema. Since schema coverage is high, the correct baseline is 3.

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 clearly states '修改机构/学校的全局设置' (modify institution/school global settings), specifying a concrete verb and resource. It lists the two settable parameters, which distinguishes it from per-teacher or per-student edit tools like classin_edit_teacher. However, it doesn't explicitly contrast with alternative tools, so it falls short of the highest score.

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 for school-wide global settings but provides no explicit guidance on when to use this versus other edit tools (e.g., classin_edit_teacher, classin_edit_course). There are no exclusions or alternative suggestions, so it only meets the 'implied usage' bar.

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