Skip to main content
Glama

memory_stats

View memory bank statistics for a profile, including total, active, dormant, and pinned memories, to monitor memory health.

Instructions

查看记忆库统计:总数、活跃、休眠、钉住。

Input Schema

NameRequiredDescriptionDefault
profileNo角色/用户分区,默认 default

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'View statistics' implies a read-only, non-destructive operation and the enumerated metrics give a rough sense of the return payload, but the description says nothing about cost, permissions, or how dormant/pinned are counted. Adequate but thin for an unannotated tool.

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

Conciseness5/5

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

A single short sentence that front-loads the action and then lists the reported fields. No filler, no repetition of the tool name.

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?

For a simple, single-optional-parameter read tool with no output schema, the description conveys enough to invoke it correctly and even previews the returned counters. Only the profile-scoping semantics remain unaddressed.

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

Parameters3/5

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

Schema coverage is 100% and the single optional 'profile' parameter is already documented there with its default. The description adds no additional meaning about what profile scoping does to the statistics, so the baseline of 3 applies.

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 (查看/view) and resource (记忆库统计/memory-library statistics) and enumerates the metrics returned (total, active, dormant, pinned). This clearly separates it from siblings like memory_list or memory_recall, though it never names those siblings explicitly.

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?

Usage is only implied: an agent can infer this is a metrics/overview call rather than a content-retrieval call. There is no explicit statement of when to reach for it versus memory_list or memory_recall, and no exclusions or prerequisites.

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