Skip to main content
Glama

record_learner_hypothesis

Record evidence-backed hypotheses about learner understanding, then reinforce, revise, or retire them to keep teaching insights current.

Instructions

写一条 LearnerHypothesis (3 课之后才允许首次写, agent 自己 enforce). 若 domain 命中学习者的观察禁区登记簿, 直接不写入 (不报错, 返回说明). 禁令 (Confidence 主权立法): 关于学习者 confidence 水平/校准好坏的推断——"她的把握度偏低" "她高估/低估自己" 这类判词——不得作为 hypothesis 记录。那是当次反思(reflect_on_teaching)才配装的东西, 不是可教状态, 不许经这个工具进 learner_hypotheses/学生画像的前馈通道。 生命周期扩展 (同一支笔的续写面): 带 hypothesis_id + action 时不再创建, 而是对既有假设做 reinforce(证据续期: last_evidence_at 推到当下, 可附 evidence_event_ids 追加)/revise(新文本超越: 旧行转 expired 留痕, 新行承接在场状态与证据账, 回执给 superseded_hypothesis_id)/retire(老师判旧转 expired, 与学习者 reject 分属两支)。主权层级: confirmed/rejected/frozen 是学习者判决——rejected/frozen 三动作全拒, confirmed 只许 reinforce。没有证据喂养的假设在简报里会读作 stale (纯提示, 不自动退役)——有证据就 reinforce, 被推翻就 revise/retire, 别让账本长灰。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoreinforce=证据续期 revise=新文本超越(旧行留痕) retire=老师判旧。与 hypothesis_id 成对出现; 不带则走创建路径。
domainNo创建路径必填; 带 action 时忽略 (沿用原行 domain)。
confidenceNo0..1。创建路径必填; revise 可选 (缺省沿用旧行); reinforce/retire 忽略。
observationNo创建路径与 action=revise 必填 (revise 的新文本); reinforce/retire 不需要。
hypothesis_idNo生命周期动作的目标假设 id——与 action 成对出现, 单给报错。
idempotency_keyNo可选。幂等键 (建议 uuid) —— 同一 key 重放此调用返回首次结果, 不重复写入. 网络重试/断线重连时带上同一个 key, 而不是猜"上次到底写没写".
evidence_event_idsNo创建时初始证据; reinforce/revise 时追加进原行证据账 (去重)。
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so richly: forbidden-domain writes silently return an explanation without error, rejected/frozen/confirmed sovereignty rules are spelled out, revise leaves expired traces, and stale hypotheses are only hinted at without auto-retirement. This goes far beyond minimal mutation disclosure.

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 dense and front-loaded with the core purpose, and every sentence carries necessary policy or behavioral information. However, it is a single long unbroken paragraph mixing creation rules, prohibitions, lifecycle semantics, and sovereignty; bullet or section structure would improve scanability. Only a minor structural deduction.

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?

Without an output schema or annotations, the description still covers purpose, creation timing, prohibited domains, lifecycle behavior, sovereignty rules, stale status handling, and even the no-write response behavior. It provides enough context for an agent to select and correctly invoke the tool in complex scenarios.

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?

Despite 100% schema coverage, the description adds substantial meaning beyond the schema: pairing hypothesis_id with action switches to lifecycle mode, giving hypothesis_id alone errors, domain triggers a forbidden-registry check, evidence_event_ids append to the existing evidence ledger, and action-specific parameter requirements are clarified.

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 opens with '写一条 LearnerHypothesis' (write a LearnerHypothesis), specifying the exact verb and resource, then immediately describes lifecycle variants (create/reinforce/revise/retire). It explicitly distinguishes itself from reflect_on_teaching by stating that confidence-level judgments belong to that tool, not this one.

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?

It gives explicit when-to-use rules ('3 课之后才允许首次写'), when-not-to-use rules (domain hits forbidden registry, confidence judgments), and names the alternative tool (reflect_on_teaching). It also provides decision guidance for lifecycle actions: '有证据就 reinforce, 被推翻就 revise/retire'.

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/sf-shenfeng/learn-shell'

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