Skip to main content
Glama

memory_audit

Summarize memories grouped by state to audit your store for cleanup. View counts across all memories with paginated entries, filterable by project or namespace.

Instructions

Summary of all memories grouped by state. Useful for cleanup.

The state counts always cover the whole store; the per-memory ``entries``
list is paginated so a large store doesn't return thousands of rows at once.

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_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
projectNo
namespaceNo
include_archivedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

B3.2/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 burden, and it does disclose a genuinely non-obvious behavior: state counts are store-wide while the entries list is paginated. However, it never states that this is a read-only operation, nor whether the project/namespace filters affect the counts or only the entries list, leaving a material ambiguity for a tool whose whole value is aggregate counts.

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?

Two short sentences with the core behavior front-loaded and zero filler; the pagination caveat follows immediately where it matters. Slightly penalized only because 'Useful for cleanup' is a soft aside that adds less than an explicit routing statement would.

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?

No output schema and no annotations mean the description should explain return shape and filter semantics; it covers the counts-vs-entries split but not what a state value looks like, how filters interact with counts, or the defaults. Adequate for a survey tool, but there are real gaps an agent would hit on first call.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, so the description must compensate and does not. Only pagination is alluded to ('paginated'), while project, namespace, and especially include_archived are never explained — an agent cannot know whether include_archived changes the state counts or merely the entries.

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 states a specific resource (all memories) and a specific output shape (a summary grouped by state), which lets an agent tell it apart from retrieval tools like recall or find_duplicates. It falls short of 5 because the leading noun phrase 'Summary of...' never uses an explicit verb and never names a sibling tool it replaces.

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?

'Useful for cleanup' implies a use case but gives no when-not guidance, no prerequisites, and no named alternative (e.g. health, find_duplicates, forget). The agent can infer this is a survey-then-act tool, but must guess which sibling to prefer for deduplication or health checking.

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