Skip to main content
Glama
Zifu Memory
by tanbopiao

zifu_view

Reconstruct the memory state at a given timestamp and return facts still valid then, enabling consistent historical replay.

Instructions

契约5:一致视图——该时刻状态重建 + 当时仍有效的事实。

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": "zifu_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
at_tsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it does little: it never states that this is a read-only operation, whether it fails when no state exists at the timestamp, or how it resolves conflicts between reconstructed state and still-valid facts. The one genuinely informative element is that the output is a merged projection of two data sources, which is useful but not enough on its own.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no padding, which is structurally clean. But brevity here is under-specification rather than economy: the leading '契约5' label spends the most prominent position on internal jargon instead of on the tool's action.

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?

Given that an output schema exists, the return shape need not be explained, and the description correctly focuses on what the tool computes rather than what it returns. The remaining gap is that a zero-annotation, time-parameterized tool should still state its read-only nature and timestamp format; those omissions keep it short of complete.

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

Parameters2/5

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

The single parameter at_ts has 0% schema description coverage, so the description must compensate and it only vaguely does — '该时刻' (that moment) implies the parameter selects a point in time but gives no format (epoch seconds, ISO string, milliseconds) and never explains the null default, which is presumably 'now' but is left to inference. This is a significant gap for a time-travel tool where the wrong timestamp unit silently returns wrong data.

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

Purpose3/5

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

The description names a specific composite resource — a consistent view formed from state reconstruction at a timestamp plus facts still valid at that moment — which does convey a real purpose beyond the name. However, the verb is implicit ('view' as a noun), and the framing '契约5' (Contract 5) is internal jargon that means nothing to an agent without prior context. It does not distinguish itself from siblings like zifu_state or zifu_facts, which appear to be its constituent parts.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement of when to prefer this composite view over calling zifu_state and zifu_facts separately, and no mention of prerequisites or exclusions. The phrase 'at that moment' hints at a time-scoped use case but never instructs the agent to choose this tool over its siblings.

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