Skip to main content
Glama

memory_replay

Replay the append-only event stream to a chosen Unix timestamp and return a read-only state snapshot plus event count, so you can verify that recorded history can be recomputed.

Instructions

按时刻回放事件流得到状态快照(只读):at_ts 为 Unix 秒(0 表示现在), 返回重放后的状态与事件计数,可验证「留痕可复算」。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_replay"
  }
}

Input Schema

NameRequiredDescriptionDefault
at_tsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior4/5

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

No annotations exist, so the description must carry the behavioral burden, and it does disclose the key safety fact "只读" (read-only) plus what the operation yields (replayed state and event count). It omits permissions, performance concerns for replaying large streams, and determinism guarantees, so it is good but not complete for a zero-annotation 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?

A single compact sentence with the core action front-loaded, followed by param semantics and the verification rationale. No wasted words, though the closing "留痕可复算" phrase is somewhat abstract flavor rather than concrete instruction.

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?

For a one-parameter read-only tool with an output schema, this covers purpose, the param's meaning, and its read-only nature. The main remaining gap is lack of differentiation from memory_snapshot, and return-value details are correctly left to the output schema.

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

Parameters4/5

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

Schema coverage is 0%, yet the description fully documents the single parameter: at_ts is Unix seconds with "0 表示现在" explaining the special default value that the schema merely declares. That compensates well for the empty schema, though it adds no bounds or format examples beyond the default.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb+resource: "按时刻回放事件流得到状态快照" (replay the event stream at a moment to get a state snapshot). The purpose is unambiguous, but it never contrasts with sibling memory_snapshot, which is the obvious adjacent tool, so an agent must infer when replay differs from snapshot.

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

Usage Guidelines3/5

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

Implies a use case via "可验证「留痕可复算」" (verify traceability/recomputability), which hints at audit/verification scenarios. However, it gives no explicit when-to-use vs memory_snapshot or memory_events, and no when-not guidance; the selection guidance is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.