Skip to main content
Glama

live_snapshot_write

Flush a rolling checkpoint during live teaching, capturing learner progress and direction so subsequent sessions resume without replaying all moves.

Instructions

在 Live Teaching session 中段 flush 一个 rolling checkpoint. 建议每 3 轮写一次. compact 后用 live_snapshot_get_latest 拿回来, 不用重读全部 moves.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
after_turn_nYes当前已完成的 move seq
weak_signalsNo观察到的薄弱点 / 待跟进的概念缺口
idempotency_keyNo可选。幂等键 (建议 uuid) —— 同一 key 重放此调用返回首次结果, 不重复写入. 网络重试/断线重连时带上同一个 key, 而不是猜"上次到底写没写".
rolling_summaryYes到目前为止 learner 学到了什么
current_directionYes现在 agent 在朝什么方向推
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It states that this is a checkpoint write and that it enables later retrieval without re-reading moves, but it does not disclose overwrite behavior, session state requirements, or failure semantics. The idempotency behavior is only in the parameter schema, not the main description.

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 compact and well-structured: purpose, frequency, retrieval, and benefit each get a short sentence. No fluff, and every sentence earns its place.

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?

The description provides sufficient context for selecting and invoking the tool: it explains purpose, usage frequency, and how to retrieve the snapshot. It does not explain return values, but no output schema exists, and for a write operation this is less critical. Overall, it is quite complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is high (83%), so the schema already documents most parameters. The tool description adds the 'every 3 turns' hint for after_turn_n, but overall contributes little beyond schema, matching the baseline for high coverage.

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 a specific verb and resource: 'flush a rolling checkpoint' in a Live Teaching session. It distinguishes this tool from its retrieval sibling by explicitly referencing live_snapshot_get_latest, making the purpose unambiguous.

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 provides clear usage context: recommended every 3 turns ('建议每 3 轮写一次') and indicates retrieval via live_snapshot_get_latest after compaction, contrasting with re-reading all moves. It lacks explicit when-not-to-use scenarios, but the guidance is strong.

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