Skip to main content
Glama
Zifu Memory
by tanbopiao

zifu_state

Retrieve the current memory state from Zifu Memory to inspect stored facts, context, and session status before writing, searching, or replaying agent memory.

Instructions

当前记忆状态。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 disclosing behavior, and it discloses almost none. It does not state whether reading is side-effect free, whether the state is scoped to a session, or what happens when no state exists. Only the presence of an output schema withholds the worst consequences of this gap.

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?

The description is a single short sentence with no padding, but its brevity comes from omission rather than from efficiency. Front-loading is irrelevant here because there is only one clause.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no parameters and an output schema, which reduces what the description must cover, but it still says nothing an agent could not infer from the name alone. It gives no notion of scope, freshness or relationship to the other zifu tools, leaving the definition incomplete for selecting among 17 siblings.

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, and the schema is fully described, so there is nothing the description could add for parameter meaning. A baseline of 4 applies: the description cannot convey more about parameters than the absence of parameters already conveys.

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 "当前记忆状态" (current memory state) names the resource but only implies the action, which is reading or fetching the state. It is essentially a restatement of the tool name zifu_state, and it offers nothing to distinguish this tool from siblings such as zifu_view, zifu_facts or zifu_events, which could plausibly also return 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, what question it answers, or what an agent should use instead. An agent faced with zifu_view, zifu_facts or zifu_events has no basis in this description for choosing zifu_state, so it must guess.

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