Skip to main content
Glama

Stats

memory-stats

Retrieve memory system statistics—chunks by tier, layer, and type, plus rules, knowledge graph, bridge status, and taxonomy—to inspect and troubleshoot stored context.

Instructions

Memory system stats: chunks by tier/layer/type, rules, knowledge graph, bridge status, and taxonomy.

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": "memory-stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. "Stats" strongly implies a read-only, side-effect-free call, and the description usefully discloses what the response contains, but it says nothing about cost, permissions, or whether the snapshot is live or cached.

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 front-loaded sentence with the resource named first and the contents listed after — no filler. The list is dense with domain jargon ("bridge status", "taxonomy") that an unfamiliar agent may not decode, but no sentence is wasted.

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?

With no output schema and no annotations, the description is the only source of information about the return value, and it does enumerate the returned sections. That is sufficient for a zero-parameter diagnostic call, though it stops short of describing structure or size.

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; the baseline applies. The description correctly adds no parameter commentary that would be redundant with the empty schema.

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?

"Memory system stats" names a specific verb (report) and resource (memory system statistics), and the following list enumerates exactly which categories are covered (tiers/layers/types, rules, knowledge graph, bridge, taxonomy). That distinguishes it from narrow siblings like memory-budget or memory-context-pressure, though it never says so 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?

There is no explicit when-to-use statement and no named alternative for narrower metric questions, so an agent must infer that this is the broad overview tool. The enumeration of covered categories implies its scope, but the choice between this and memory-budget/memory-context-pressure is left to inference.

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