Skip to main content
Glama

get_learner_brief

Retrieve a learner brief for lesson prep: top hypotheses, needs-reverification flags, recent evaluations, and the latest teacher reflection, all in one read.

Instructions

开课前先调这个: 读回学生模型 (learner_hypotheses / post_lesson_evaluations / teacher_reflections), 不用自己扒表。输入 { pair_id?, limit? } (limit 默认 5, clamp [1,20]; pair_id 缺省用当前 active pair)。返回: top_confidence_hypotheses (在场假设按 confidence 降序取 top-limit) + needs_reverification (在场假设里 last_verified_at 最老/为空的前 2 条, 该复验了) + recent_evaluations (最近 3 条 PostLessonEvaluation 摘要, 含 agent_observation) + latest_reflection (最近一条 TeacherReflection 的 method/next_action) + confidence_facts (近三课把握度中性事实聚合: lesson_ids + total_count + overall_accuracy + by_level[{level,count,accuracy}], 纯数字词频——没有形容词、没有"她低估/高估自己"这类判词, 也没有百分比锚值; 没数据时为 null) + source_material (自带教材条款一行亮灯: 当前合约带 source_material 时给"教材:《书名》·档位", 档位语义/外延标记纪律见 skill workflow/lesson-prep 教材模式; null=当前合约没谈教材)。学生主权红线: allowed_for_teaching=false 的假设一律不吐 observation/domain/confidence 等内容, 只回 {id, allowed_for_teaching:false, redacted:true} —— 冻结的假设不该被这个读回口子悄悄泄回教学决策。Etag 契约: 返回体带 brief_etag (内容指纹, generated_at 不计入) —— 与上次同参数调用一致 ⇒ 学生模型没变, 可复用上次已读内容不必重读。pair_id 不存在时报错并附可用 pair 列表. 可选 lesson_id — 传了且这节课有挂锚反思(teacher_reflections.lesson_id 命中)时, latest_reflection 优先给这节课的那条; 没有挂锚数据时退回原有的 pair 级最新一条。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNodefault 5, clamp [1, 20]
pair_idNo
lesson_idNo可选——传了会优先按这节课过滤 latest_reflection(反思挂锚)。
Behavior5/5

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

No annotations are present, so the description carries the full burden—and it excels. It discloses default/clamping behavior for limit, active-pair fallback for pair_id, redaction of forbidden hypotheses, etag caching semantics, error behavior with available pairs, and lesson_id preference with fallback. It even details the semantics of confidence_facts (pure numeric, no adjectives/percentages).

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?

The description is long but extremely dense and well-structured with labeled return sections, a 'red line' redaction note, an etag contract, and fallback logic. Each sentence adds distinct information; there is no filler or repetition. The upfront '开课前先调这个' is a high-signal opening.

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?

There is no output schema, so the description fully compensates by enumerating every return field with precise semantics, including edge cases (null confidence_facts, redacted hypotheses, lesson_id no-match fallback), error behavior, and caching. For a 3-parameter tool with no annotations and no output schema, this description is complete and self-sufficient.

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 coverage is 67% (pair_id lacks description), but the description compensates fully by explaining pair_id's default (current active pair), limit's default and clamp, and lesson_id's filtering/fallback semantics. It adds behavioral meaning far beyond the schema, including which parameters are optional and their interaction with the return payload.

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 uses a specific verb-resource pairing ('读回学生模型'), states when to invoke ('开课前先调这个'), and enumerates exactly what is returned. It clearly distinguishes this from generic getters by scoping to learner_hypotheses / post_lesson_evaluations / teacher_reflections and explicitly says not to manually query tables.

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?

Explicitly states '开课前先调这个' as the primary usage context and instructs the agent to avoid manual table reads ('不用自己扒表'). It also gives conditional guidance for optional parameters (like lesson_id fallback behavior). It does not name alternative sibling tools for exclusion, but the context is strong enough to guide selection.

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