Skip to main content
Glama

label_question

Assign DNA tags (difficulty, knowledge anchor, solution skeleton, variation base) to imported questions, enabling structured classification and generating variants. Requires prior ingestion.

Instructions

给一道已入库的题写 DNA 打标(难度 + 知识点锚 + 解法骨架 + 变式底料),归当前登录 teacher。

前置:题已 ingest_question 入库(有题干/答案/解析/配图)。Claude 先读题(多模态)+本章 KG 上下文判好,再调本工具落库。 参数(必填 = question_id, difficult;其余按题打满 / 基础题留空): question_id : biz_question.id difficult : ★难度 1基础/2中等/3较难/4压轴(按「难度评级」rubric 判档,非 LLM 自评) dim1_kp_id : 知识点锚叶子 id(同版本精确锚,如浙教七上根 100 下的叶子;不跨版本近似,对不上就留空+need_anchor_review=1) anchor_confidence: 锚定置信 0-1 need_anchor_review: 锚存疑待人审 1/0 dim5_structure: 图形/情境结构指纹 solution_skeleton: 解法骨架(步骤序列,【】标最难步)—— 撑变式①数值②结构算子 assessment_type: 考察类型 hard_points : 难点[](受控词表 biz_anno_ERROR:概念混淆/计算失误/审题偏差/隐含遗漏/分类不全/表达不规范/思路缺失) breakthrough_points: 突破点[](★1/★2 送分/常规题可空) tags : 检索标签 3-6(召回用) scenario : 场景(仅应用题;受控词表 biz_anno_SCENE:纯数学/现实生活/科学跨学科/数学文化) dna_type : DNA 类型 parametric_slots / modeling_frame / conditions / variation_profile: 变式底料(母题打满,普通题可简,应用题才有 modeling_frame) 返回: {ok, question_id, ai_id, difficult, dim1_kp_id};异常 → {ok:false, reason}。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
dna_typeNo
scenarioNo
difficultYes
conditionsNo
dim1_kp_idNo
hard_pointsNo
question_idYes
dim5_structureNo
modeling_frameNo
assessment_typeNo
parametric_slotsNo
anchor_confidenceNo
solution_skeletonNo
variation_profileNo
need_anchor_reviewNo
breakthrough_pointsNo

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, the description carries full burden. It describes that the tool updates the question's DNA labeling, lists parameters with constraints, and specifies the return format including error handling. It does not explicitly mention side effects or permissions, but overall provides good behavioral detail.

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 lengthy but well-structured with clear sections: purpose, prerequisite, parameter list, and return values. It front-loads the main purpose and uses a bullet-like format for parameters. Some information could be consolidated, but it remains clear and scannable.

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 complexity (17 parameters, 2 required) and no annotations, the description covers all necessary aspects: prerequisites, detailed parameter meanings, return values, and error handling. It is fully sufficient for an agent to select and invoke the tool correctly.

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 the description must compensate. It does so thoroughly, explaining each parameter's role, constraints (e.g., difficult rubric, controlled vocabularies for hard_points and scenario), and how to fill them. This adds significant 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's purpose: to write DNA labeling (difficulty, knowledge anchor, solution skeleton, variant base material) for an already ingested question. It uses specific verbs and resources, and distinguishes itself from siblings like ingest_question by explicitly requiring prior ingestion.

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?

The description explicitly states the prerequisite (question must be ingested via ingest_question) and suggests that Claude should read the question and KG context before calling the tool. It does not explicitly name alternatives or when not to use, but the context provides sufficient 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/RuntimeAll/teacher-mcp'

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