Skip to main content
Glama

get_memory_stats

Retrieve statistics about stored memories including total count and tag distribution to monitor memory usage and organization.

Instructions

Get statistics about stored memories (total count, tags, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/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 of behavioral disclosure. It states the tool retrieves statistics, implying a read-only operation, but doesn't specify whether this requires authentication, has rate limits, or details about the return format (e.g., structure of the statistics). The mention of 'tags, etc.' hints at additional data but lacks concrete behavioral traits like performance implications or error conditions.

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 a single, efficient sentence that directly states the tool's function without unnecessary words. It's front-loaded with the core purpose and includes helpful examples ('total count, tags, etc.') that add value. However, it could be slightly more structured by explicitly separating purpose from usage context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (0 parameters, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose but lacks details on behavioral aspects like authentication or return format, which are important even for simple tools. With no output schema, the description doesn't explain what 'statistics' entail, leaving gaps in completeness for agent invocation.

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 has 0 parameters, and schema description coverage is 100%, so there's no need for parameter documentation in the description. The description appropriately doesn't discuss parameters, focusing instead on the tool's purpose. A baseline of 4 is applied for zero-parameter tools, as no compensation is 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 clearly states the tool's purpose with a specific verb ('Get') and resource ('statistics about stored memories'), including examples of what statistics are returned ('total count, tags, etc.'). It distinguishes from siblings like 'list_memories' or 'search_memories' by focusing on aggregated statistics rather than individual memory retrieval. However, it doesn't explicitly contrast with all siblings (e.g., 'clear_memories' is clearly different, but the distinction from 'list_memories' could be more explicit).

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios where statistical overview is preferred over listing or searching memories, nor does it reference sibling tools like 'list_memories' or 'search_memories' for comparison. There's no indication of prerequisites, timing, or exclusions for usage.

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/Scofieldkoh/mcp_server'

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