Skip to main content
Glama

memory_stats

See total entries and breakdowns by type, project, and source agent in Loci's offline shared memory store.

Instructions

记忆库统计信息(总数/按类型/按项目/按来源Agent)

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 behavioral burden, and it does disclose the shape of the returned aggregates (total and three breakdowns) which is genuinely useful. However it says nothing about read-only nature, permissions, cost, or scope limits, leaving the safety profile unspecified.

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?

A single compact phrase with the key information front-loaded (statistics) followed by the breakdowns. Nothing is wasted, though it is terse enough to border on under-specification about usage.

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 zero-parameter stats tool with no annotations and no output schema, the description supplies the essential missing piece: what the counts are broken down by. Read-only intent and any scoping constraints remain implicit, but the core need is met.

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 to document and the schema is trivially complete. The baseline for a parameterless tool applies, with no compensating detail needed.

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?

The description names the resource (记忆库/memory bank) and the operation (统计信息/statistics), then enumerates the breakdown axes (total/by type/by project/by source Agent). This is specific enough to separate it from memory_list or memory_search, though it does not explicitly name a sibling it is not.

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 or when-not-to-use guidance and no reference to alternative tools. An agent must infer that this is the aggregate-count tool rather than memory_list, which is a reasonable but unstated inference.

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