Skip to main content
Glama
Flagwill

COURSE_SJTU_MCP

by Flagwill

jcourse_set_course_notification

Idempotent

Set a course's notification level to normal, followed, or ignored. Requires explicit confirmation for remote writes.

Instructions

设置课程通知级别:0 正常、1 关注、2 忽略。修改远端状态,需 confirm=true。

Input Schema

NameRequiredDescriptionDefault
levelYes
confirmNo仅在用户已明确授权此次远端写入后设为 true
course_idYes平台对象 ID,正整数

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false and openWorld=true. The description adds the useful context that this mutates remote state and demands an explicit confirm flag, which goes beyond the annotation set and matches the confirm parameter's stated authorization intent. No contradiction with annotations.

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?

A single compact sentence with the action and level mapping first, then the write/confirm caveat. Nothing redundant and nothing that could be trimmed without losing information.

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?

For a 3-parameter mutation with an output schema and rich annotations, the description supplies the enum semantics and the write-safety requirement. Minor residual gaps (auth prerequisites, behavior on invalid course_id) are acceptable given the schema and annotations already cover safety and return shape.

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?

Schema coverage is 67%, and the description closes the biggest gap by assigning human-readable meaning to the bare numeric enum values (0/1/2), which the schema only lists as integers. It also flags confirm's role, though it doesn't restate course_id's positive-integer constraint.

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?

States a specific verb (设置) and resource (课程通知级别) and enumerates the three levels with their meanings (0 正常 / 1 关注 / 2 忽略). An agent can immediately tell this is the per-course notification-level mutation, distinct from the read-only siblings like jcourse_list_ignored_courses.

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 states the prerequisite that a remote write occurs and confirm=true is required, which is actionable. However, it gives no guidance on when to prefer this over alternatives, no exclusions, and no mention of what happens if confirm is omitted.

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