Skip to main content
Glama

upsert_feedback_sheet

Create or update a lesson feedback sheet for a student, organizing lessons into batches with sequential numbering and mastery evaluation.

Instructions

建/改课后反馈单(归属当前登录老师)→ {ok, sheet_id}。

🔴 PRD-010 批次模型(用户工作流=批次累积一次性全发):一个学生一段课程 = 一个批次 (batch_key 如「多多五上暑假数学」,独立概念不绑课程计划),批次内课次 lesson_seq 依次递增。接力建新课次单时必须带 batch_key + lesson_seq(先 list_feedback_sheets 看该生最新批次到第几节,新单 = 最大 lesson_seq + 1;title 缺省口径 「{batch_key}第{N}节课上课内容」)。老师说"新开批次/新学期"才换新 batch_key 从 1 重计。

参数: target_id : 学生对象 id(字符串;先用 list_teach_targets 映射,严禁编造) title : 标题(🔴 家长可见,禁内部词) lesson_date: 上课日期 yyyy-MM-dd(可选) rows : 五列行数组 [{seq,module,content,mastery,weakness,kp_id?}] sheet_id : 传了=改这张(PUT),不传=新建 batch_key : 批次键(接力单必带) lesson_seq : 批次内课次号(接力单必带,>0 生效) 🔴 掌握情况写「熟练/基本掌握/待巩固」等家长话术。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNo
titleYes
sheet_idNo
batch_keyNo
target_idYes
lesson_seqNo
lesson_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, description carries full burden. It discloses upsert behavior (PUT vs create), target_id validity requirement, title visibility to parents, structured rows with required fields, and mastery phrasing constraints. Lacks info on rate limits or auth but these are less critical for this tool.

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?

Description is fairly long but well-structured: starts with a concise purpose, then explains batch context, followed by bulleted parameter list. Every sentence adds value; the length is justified by the tool's complexity.

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?

Given 7 parameters, batch logic, and output schema (defined as {ok, sheet_id}), the description is quite thorough. Covers workflow, constraints, and parameter details. Minor gaps: rows structure could specify that kp_id is optional, and no mention of error handling or limits.

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?

Schema description coverage is 0%, so description must compensate. It explains all 7 parameters: target_id (mapped from list_teach_targets), title (parent-visible), lesson_date (format), rows (required keys), sheet_id (update), batch_key and lesson_seq (continuation logic). Adds significant meaning beyond bare 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?

Description clearly states '建/改课后反馈单' (create/update after-class feedback sheet) and specifies the output '{ok, sheet_id}'. Distinguishes from siblings like 'list_feedback_sheets' and 'export_feedback_png' by focusing on upsert operation with batch logic.

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

Usage Guidelines5/5

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

Provides detailed usage guidelines: explains batch concept (PRD-010 workflow), how to determine next lesson_seq using list_feedback_sheets, when to start a new batch, and warns against fabricating target_id. Although no explicit 'when not to use', the rich guidance compensates.

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