Skip to main content
Glama

Persistent Auditable Memory

Persistent Auditable Memory

persistent-auditable-memory

Compaction keeps the memories but removes the decision criteria, and hedges are read back as facts, so a rewrite with no diff can turn a guess into infrastructure. $0.002 per call, USDC via x402 or MPP. Stores constraints, hedges, and facts with the conditions they were true under, and a compact operation that must retain constraints, keep hedges labeled as hedges, and return a diff of anything a naive compact would drop. An empty call compact-demo uses a built-in trace.

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": "persistent-auditable-memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoRecords: {kind, text, conditions, source}
actionNoput | list | compact | compact_demo (default compact_demo)
namespaceNoCaller-chosen store id (not a secret)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses cost and payment path ('$0.002 per call, USDC via x402 or MPP') and the non-destructive guarantee that compact must 'retain constraints, keep hedges labeled as hedges, and return a diff', but says nothing about what a put returns, persistence/namespace lifetime, error behavior, or limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is back-loaded behind a paragraph of compaction philosophy that gives an agent no selection signal. Naming is also inconsistent ('compact-demo' in prose vs 'compact_demo' in the schema action enum), which adds avoidable ambiguity for an agent constructing a call.

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?

For a stateful storage tool with no annotations and no output schema, the description should explain return shape and namespace scoping, and it does neither. It covers cost, the four actions, and the compaction guarantee, but leaves too much unknown about a write-bearing tool whose whole value proposition is auditability.

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?

Schema description coverage is 100%, so the baseline is 3, but the description adds real meaning: it clarifies that an empty call falls back to compact-demo with a built-in trace, explaining the otherwise puzzling default action. The documented action set (put/list/compact/compact_demo) is echoed rather than expanded, and 'namespace' semantics are never explained.

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

Purpose3/5

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

The actual function appears only in the third sentence: 'Stores constraints, hedges, and facts with the conditions they were true under, and a compact operation...'. The opening sentence is an argument about compaction risks rather than a statement of what the tool does, so the verb+resource is identifiable but buried behind motivation.

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?

No explicit when-to-use or when-not-to-use guidance, and there are no siblings to differentiate against. The only actionable routing hint is 'An empty call compact-demo uses a built-in trace', which implies a low-cost way to try the tool, plus the per-call price that helps an agent judge whether to invoke it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources