Skip to main content
Glama

memory_audit_tool

Verifies a project’s memory history hash chain and item state digests to detect tampering or corruption before agents rely on stored knowledge.

Instructions

Verify the history hash chain and each item's recorded state digest.

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

Input Schema

NameRequiredDescriptionDefault
projectNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it says almost nothing. It does not state whether verification is read-only or can mutate/repair records, whether it requires elevated permissions, how expensive it is to run across a large store, or what happens when a chain or digest fails to verify.

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?

One front-loaded sentence with the verb first and no filler; nothing is wasted. It is arguably too terse for the gaps it leaves, but the sentence itself is well-formed and efficient.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but for a no-annotation audit tool the description should at least cover read-only versus mutating behavior and the scope of the 'project' parameter. Neither is addressed, leaving the definition under-specified relative to its potential impact on memory integrity.

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%, and the description never mentions the sole 'project' parameter. It leaves the scope question open: whether omitting project audits every project or only a default one. The null default implies 'all', but the description does not confirm that semantics.

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 names a specific verb and two concrete verification targets: the history hash chain and each item's recorded state digest. That distinguishes it from sibling listing tools such as memory_history_tool, though it never explicitly names or contrasts with the closest alternatives (memory_revalidate_tool, memory_quality_tool).

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?

There is no when-to-use guidance, no prerequisites, and no exclusions. With siblings like memory_revalidate_tool, memory_quality_tool, and memory_history_tool in the catalog, an agent has to guess whether this is the right integrity check versus a repair or inspection tool.

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