memory_stats
Check memory index size and last-updated time to monitor stored context capacity and freshness.
Instructions
记忆层:查看索引规模与最后更新时间。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Check memory index size and last-updated time to monitor stored context capacity and freshness.
记忆层:查看索引规模与最后更新时间。
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.2.2Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. '查看' implies a non-mutating read and the sentence does disclose what information comes back, but it says nothing about cost, whether the index can be empty, or how the numbers should be interpreted.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with the resource ('记忆层') front-loaded and the returned values listed immediately after. Nothing is padded or repeated from the schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description must say what comes back, and it does (index size, last update time). Given a zero-param, low-complexity tool this is close to sufficient; only the meaning of 'index' and its relation to memory_recall/memory_timeline is left implicit.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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; the baseline for a no-param tool applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb ('查看' / inspect) plus the exact data returned: index size and last-updated time. This makes it clearly a stats/inspection tool, distinguishable in spirit from memory_recall and memory_timeline, though no sibling is named explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer this is the 'check memory health/scale' call before or after memory_recall/memory_timeline, but the description never states when to prefer it or what it does not cover. No exclusions or alternatives are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.