Skip to main content
Glama
Jau-app

JauMemory MCP Server

Official
by Jau-app

memory_stats

Retrieve statistics on memories, including count, type distribution, tags, and importance. Filter by query, tags, importance, or time range.

Instructions

Get statistics about memories with optional filtering.

Usage Examples: // Get overall stats memory_stats()

// Stats for memories containing "error" memory_stats({ query: "error" })

// Stats for last week memory_stats({ timeRange: { start: "2025-01-17", end: "2025-01-24" } })

// Stats for React-related errors memory_stats({ query: "react error*", minImportance: 0.5 })

// Stats for specific tags memory_stats({ tags: ["bug", "frontend"] })

Returns:

  • Total memory count (filtered)

  • Memory type distribution

  • Top 20 tags with counts

  • Importance distribution

  • Keyword frequency (if applicable)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch query (supports wildcards with *)
tagsNoFilter by tags
minImportanceNoMinimum importance threshold
timeRangeNo
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It lists the return data (count, distributions, top tags, etc.) but does not explicitly state that the tool is read-only, nor does it mention performance implications or side effects. The name implies read-only behavior, but this is not confirmed.

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?

The description is well-structured with a brief overview, multiple examples, and a bullet list of return fields. While slightly verbose, each section adds value. It is front-loaded with the purpose.

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 no output schema, the description adequately explains return values. All parameters are optional and described. The examples cover different use cases. Missing information includes potential pagination or limits on the number of memories processed, but overall it is complete enough for a stats tool.

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 input schema covers 75% of parameters with descriptions. The description adds value by showing usage examples that illustrate wildcard support in 'query', date format in 'timeRange', and combination of parameters. This goes beyond the schema alone.

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 'Get statistics about memories with optional filtering,' using a specific verb and resource. The examples further clarify the purpose, and the tool is distinct from siblings like 'recall' and 'remember' which focus on retrieval rather than statistics.

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?

The description provides concrete usage examples showing various filtering options, which implicitly guides when to use the tool. However, it does not explicitly state when not to use it or compare it to sibling tools like 'recall' or 'consolidate'.

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/Jau-app/JauMemory-mcp-server'

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