Skip to main content
Glama
Zifu Memory
by tanbopiao

zifu_retention

Generates a tiered retention report that maps memory detail from 7-day fine-grained records to 90-day hourly summaries and older event-ledger/fingerprint-only data.

Instructions

分层保留报告(7天细粒度/90天整点/更久只留事件册与指纹)。

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_retention"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 of behavioral disclosure. It usefully reveals the underlying retention policy (fine-grained for 7 days, hourly out to 90 days, then only ledger and fingerprints beyond that), which is real behavioral context. But it never states whether the operation is read-only, whether it triggers any pruning, or what permissions are needed.

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?

One compact sentence with the retention tiers front-loaded, and no wasted words. The density is high but the parenthetical carries the important detail efficiently, though the missing verb costs some clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 values need not be explained, and with zero parameters the surface is small. Even so, for a report tool with no annotations, the description leaves the agent guessing whether it is a safe read and how the output relates to the stated tiers.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; schema coverage is 100% and baseline is 4. The description adds no spurious or contradictory parameter advice.

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 the resource as a tiered retention report and enumerates the tiers (7 days fine-grained / 90 days hourly / longer retaining only the event ledger and fingerprints). But it uses a bare noun phrase with no explicit verb, so it is unclear whether the tool generates the report, returns the policy, or applies the tiers. No sibling tool is named to distinguish it from zifu_events or zifu_state.

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 guidance on when to call this tool, no prerequisites, and no mention of when not to use it or which sibling to use instead. The agent must infer from the noun phrase that it exists to inspect retention tiers.

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