Skip to main content
Glama

Memory store stats

memory_stats
Read-onlyIdempotent

Retrieve high-level statistics about the local memory store. Use this call first in any session to determine if the store is empty, small, or large, with optional privacy mode for summary or full entry details.

Instructions

High-level stats about the local memory store. Safe to call first on every session to gauge whether the store is empty, small, or large.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
privacy_modeNosummary = keys/meta without full values; structured/raw = full entries (local store parity).structured
Behavior4/5

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

Annotations already declare readOnlyHint true and idempotentHint true, so the description correctly adds context about being safe to call first. It also describes the effect of the privacy_mode parameter, providing useful behavioral insight beyond annotations.

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?

Two sentences, no wasted words. The first sentence states the purpose, the second gives usage advice. Perfectly front-loaded and efficient.

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?

Given the tool's simplicity and the presence of annotations, the description is largely complete. It explains what the tool returns (high-level stats) and parameter behavior. No output schema exists, but the description implies the nature of output. Could mention typical structure, but not essential.

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

Parameters5/5

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

Schema coverage is 100% (one parameter with enum). The description adds meaning to each enum option: 'summary = keys/meta without full values; structured/raw = full entries (local store parity).' This goes beyond the schema's minimal description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool provides 'high-level stats about the local memory store' and specifies its use for gauging store size (empty, small, large). This distinguishes it from siblings like memory_get or memory_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance to call 'first on every session' is given. The description explains when to use it (to gauge store size) but does not explicitly mention when not to use it or contrast with siblings. Still, it's clear for the intended scenario.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidmosiah/delx-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server