Skip to main content
Glama

memory_events

Retrieve read-only governance events for a Unix timestamp range to audit activity and reconstruct system state from the append-only source of truth.

Instructions

读取记忆机事件流(只读):since_ts/until_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_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
since_tsNo
until_tsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose read-only semantics, that both bounds are optional (0 = no limit), and that events are the single authoritative source of state. It does not say anything about result volume limits, pagination, or whether the range is inclusive, which matters for a stream-reading tool with zero annotation coverage.

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?

Two compact sentences, front-loaded with the verb and read-only flag, then the parameter conventions. The closing sentence about events being the authoritative record adds scope context rather than invocation detail, but it is short enough to justify itself.

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?

An output schema exists, so return shape need not be described, and with only two optional parameters the description covers the invocation surface well. The remaining gap is operational detail about result size or ordering, which is minor for a simple windowed read.

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 description coverage is 0%, so the description must compensate, and it does: both since_ts and until_ts are named, given units (Unix seconds), and given the sentinel meaning (0 = no limit). That is essentially complete parameter semantics for a two-param tool.

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?

States a specific verb and resource: read the memory event stream (只读), returning the event list inside a time window. The phrase '事件流' and the framing of events as the authoritative record of system state implicitly separate it from snapshot/replay-style siblings, though no sibling is named.

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?

The '(只读)' marker implies this is the safe inspection path and the time-window framing implies when it is the right call, but there is no explicit statement of when to prefer it over memory_replay or memory_snapshot, and no exclusions.

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