Skip to main content
Glama
xbrxr03
by xbrxr03

MemoryGraph

Ihr Agent hat eine relevante Erinnerung gefunden. MemoryGraph sagt ihm, ob diese Erinnerung noch wahr ist.

MemoryGraph ist eine lokale Evidenz- und Revisionsschicht für Überzeugungen von KI-Agenten. Es bewahrt Quellenbeobachtungen, stellt Behauptungen als zeitlichen Graphen dar und erklärt, warum eine Behauptung aktuell, historisch oder umstritten ist.

MVP status

Das deterministische MVP läuft. Die maßgebliche Architektur beginnt bei 00-architecture-index.md; der implementierte Kern umfasst:

  • Unveränderliche Quellenbeobachtungen.

  • Typisierte Entitätsknoten und atomare Behauptungskanten mit exakten Evidenzspannen.

  • Bi-temporale Abfragen aktueller und historischer Überzeugungen.

  • Explizite Bestätigung, Widerspruch und atomare Ersetzung.

  • Befehle recall, history und explain.

  • Harte Bank-Isolation und ein append-only Mutationsereignisprotokoll.

  • Ein provider-agnostischer Dream-Proposal-Validator mit Evidenz-, Wasserzeichen-, Behauptungsversions-, Idempotenz-, Konfidenz-, Herausforderer- und Review-Gates.

  • Dauerhafte Dream-Läufe, Aufgaben, Vorschläge, Review-Elemente, Leases, Ereignis-Wasserzeichen und atomare Vorschlags-Commits.

  • Ein deterministischer Metadaten-Provider, der den vollständigen Dream-Zyklus durchläuft, ohne Quelldaten an ein externes Modell zu senden.

  • MemoryRotBench-Fixtures, Baselines, Retrieval-Bewertung und Engine-Integration.

  • Hybrider FTS/Vektor-Recall mit einer abhängigkeitsfreien lokalen Baseline und austauschbarem Embedder.

  • Quarantäne bei der Abfrage für nicht vertrauenswürdige, anweisungsähnliche Inhalte.

  • Crash-wiederherstellbare Dream-Worker mit Leases, Heartbeat-Verlängerung, Wiederholungen und replay-sicherem Fortsetzen.

  • Ein OpenAI-kompatibler Structured-Output-Provider, der nur Kandidaten vorschlagen kann.

  • Ein STDIO-MCP-Server mit fünf Werkzeugen: recall, record, explain, correct und forget.

  • Benutzergenehmigte Codex-JSONL-Erfassung und ein projektspezifischer Codex-Installer.

  • Eine deterministische, Obsidian-kompatible Markdown-Review-Projektion.

  • Prozedurale Episoden erster Klasse für die begrenzte Wiederverwendung erfolgreicher und fehlgeschlagener Codierungsversuche.

  • Reproduzierbare Benchmark-Adapter für No-Memory, Markdown, BM25, Flat-Context und extern/Graphify.

  • Plattformübergreifende CI, Paketverifizierung und umsetzbare doctor-Diagnosen.

Die echte Engine besteht derzeit alle 12 öffentlichen MemoryRotBench-Abfragen und alle sieben Produktions-Chaos-Verträge. Die Testsuite des Repositorys hat an diesem Checkpoint 196 bestandene Tests. In der ersten fingerabdruckbasierten öffentlichen Matrix bestehen die stärksten einfachen Baselines 7/12, während MemoryGraph 12/12 besteht.

Related MCP server: korely

Quick start

uv sync
uv run memorygraph init --database /tmp/memorygraph.db
uv run memorygraph doctor --database /tmp/memorygraph.db
uv run memorygraph bank create personal:founder --database /tmp/memorygraph.db
uv run memorygraph dogfood bootstrap --database /tmp/memorygraph.db
uv run memorygraph predicate define works_at \
  --bank personal:founder --cardinality one --volatility volatile \
  --database /tmp/memorygraph.db

Erfassen Sie Evidenz und wandeln Sie sie dann in eine Behauptung um:

OBSERVATION_ID=$(uv run memorygraph observe "Abrar works at Acme." \
  --bank personal:founder --source-key event:acme \
  --database /tmp/memorygraph.db)

CLAIM_ID=$(uv run memorygraph claim assert Abrar works_at Acme \
  --bank personal:founder --observation "$OBSERVATION_ID" \
  --database /tmp/memorygraph.db)

Die Python-API stellt außerdem confirm_claim, contradict_claim, supersede_claim, recall, history und explain für eingebettete Anwendungen bereit.

Erfassen Sie einen Codierungsversuch, damit zukünftige Agenten eine erfolgreiche Strategie wiederverwenden oder einen bekannten Fehler vermeiden können, ohne so zu tun, als sei sie universell anwendbar:

memorygraph record-attempt "Run migrations before starting the worker" \
  --bank project:my-app --source-key attempt:migrate-worker \
  --task "start durable worker" --outcome success \
  --applicability-json '{"database":"sqlite"}'

Run the dream cycle

Der eingebettete Provider liest typisierte Kandidaten aus metadata.memorygraph, schlägt Graphänderungen vor, validiert Evidenz und zeitliche Vorbedingungen und committet dann förderfähige Vorschläge in einer Transaktion. Modell-Provider implementieren dasselbe Nur-Kandidaten-Protokoll und erhalten niemals einen direkten Datenbankschreibpfad.

PYTHONPATH=src:. uv run python examples/run_dream_cycle.py \
  --database /tmp/memorygraph-dream.db

uv run memorygraph dream status RUN_ID \
  --bank personal:founder --database /tmp/memorygraph-dream.db

uv run memorygraph dream reviews \
  --bank personal:founder --database /tmp/memorygraph-dream.db

uv run memorygraph dream rollback RUN_ID \
  --bank personal:founder --database /tmp/memorygraph-dream.db

Für die CLI-Erfassung übergeben Sie den Kandidatenumschlag mit observe --metadata-file FILE.json und führen dann memorygraph dream run --bank BANK aus. --mode dry_run validiert und persistiert Vorschläge, verbraucht aber nicht die Beobachtung und ändert keine Behauptungen.

Für dauerhafte Ausführung stellen Sie Arbeit in die Warteschlange und führen einen Worker separat aus:

uv run memorygraph dream queue \
  --bank personal:founder --database /tmp/memorygraph-dream.db

uv run memorygraph dream worker \
  --bank personal:founder --database /tmp/memorygraph-dream.db

Um einen OpenAI-kompatiblen Responses-Endpunkt zu verwenden, setzen Sie die konfigurierte Schlüsselvariable und übergeben Sie ein Modell sowohl an die Warteschlange als auch an den Worker. Die Provider-Ausgabe wird als strikte strukturierte Daten geparst und durchläuft weiterhin dieselben deterministischen Evidenz- und Commit-Gates.

export OPENAI_API_KEY=...
uv run memorygraph dream queue --bank personal:founder \
  --provider-model YOUR_MODEL --database /tmp/memorygraph-dream.db
uv run memorygraph dream worker --bank personal:founder \
  --provider-model YOUR_MODEL --database /tmp/memorygraph-dream.db

Connect Codex

Installieren Sie das Paket, initialisieren Sie eine Projektbank und fügen Sie eine projektspezifische MCP-Konfiguration hinzu:

uv run memorygraph init
uv run memorygraph bank create project:my-app
uv run memorygraph install-codex --project .
uv run memorygraph probe-codex --project .

Der Installer erstellt oder repariert einen [mcp_servers.memorygraph]-Block in .codex/config.toml, verweist auf das memorygraph.mcp-STDIO-Modul der aktuellen Python-Umgebung und konfiguriert Codex so, dass es für Schreibvorgänge eine Eingabeaufforderung anzeigt. Es ändert nicht die globale Codex-Konfiguration. Die fünf MCP-Operationen erfordern einen expliziten Bank-Bereich.

probe-codex validiert die Projektkonfiguration und übt einen echten MCP-Subprozess-Lebenszyklus aus. Verwenden Sie --project-database, wenn die Sonde die konfigurierte Projektdatenbank anstelle von temporären Wegwerf-Sonden-Datenbanken treffen soll.

Das Importieren von Sitzungsinhalten ist optional. Jeder JSONL-Datensatz muss bank, session_id, turn_id, role, content und approved enthalten; nicht genehmigte Datensätze werden standardmäßig übersprungen:

memorygraph ingest-codex approved-session.jsonl

Dogfood Alpha

Die offizielle Offline-Fixture-Matrix mit sechs Armen ist:

PYTHONPATH=src:. uv run python examples/run_dogfood_fixture_matrix.py

Für ein echtes Projekt bootstrappen Sie zuerst den Betriebsvertrag:

uv run memorygraph dogfood bootstrap \
  --database .memorygraph/memory.db \
  --bank project:my-app \
  --workspace my-app

Die Fixture-Matrix führt diese Arme aus:

  • no_memory

  • markdown

  • memorygraph_graph_only

  • memorygraph_gated_dream

  • memorygraph_always_dream

  • graphify_compatible

Es misst Aufgaben bestanden/nicht bestanden, nützliche Recall-Präzision, verbotene oder veraltete Recall-Leaks, wiederholte Fehler, Latenz, Token-Schätzungen, Tool-Aufrufe, Wiederholungen, geschätzte Kostenfelder und Dream-Review-Last. Ergebnisse werden in benchmarks/reports/dogfood-offline-mvp.json und das append-only Ledger benchmarks/reports/dogfood-offline-mvp.jsonl geschrieben. Aufgaben bestanden/nicht bestanden folgt den Abfrageerwartungen; der Dream-Review-Rückstand bleibt eine separate, sichtbare Kostenstelle.

Aktuelles Offline-Fixture-Ergebnis am 2026-08-22:

  • memorygraph_always_dream: 3/3

  • memorygraph_graph_only: 1/3

  • memorygraph_gated_dream: 1/3

  • graphify_compatible: 1/3

  • markdown: 1/3, mit verbotenem Fragment-Leak

graphify_compatible ist ein Protokoll-Adapter, der es einem externen Retriever ermöglicht, gegen dasselbe Manifest, dieselben Zeitgrenzen und denselben Bewertungsvertrag anzutreten. Es ist keine Behauptung, dass dieses Repository bereits einen Live-Graphify-Vergleich abgeschlossen hat.

Human review in Obsidian

Generieren Sie einen Markdown-Vault mit aktuellen Behauptungen, exakter Herkunft, Beziehungen und der Dream-Review-Warteschlange:

memorygraph project-obsidian --bank project:my-app \
  --output .memorygraph/obsidian

Das Markdown ist wegwerfbar und manifestverwaltet. SQLite-Beobachtungen und append-only Ereignisse bleiben maßgeblich; Änderungen an generierten Notizen mutieren Speicher niemals stillschweigend.

Dogfood Beta

Beta fügt eine live, repository-eigene Evidenzschleife auf der deterministischen Alpha-Matrix hinzu. Beginnen Sie mit dem Bootstrapping der Projektbank, dem Installieren der projektspezifischen MCP-Konfiguration und dem Sondieren der konfigurierten Projektdatenbank:

memorygraph dogfood bootstrap --database .memorygraph/memory.db \
  --bank project:memorygraph --workspace agent-memory-research
memorygraph install-codex --project .
memorygraph probe-codex --project . --project-database --configured-only

Die Instrumentierung realer Sitzungen ist explizit und append-only; MemoryGraph durchsucht niemals private Codex-Verläufe. Erfassen Sie genehmigte recall-, attempt- und task-Ereignisse mit memorygraph dogfood capture und führen Sie dann make dogfood-live aus. Der Bericht verfolgt erfolgreiche Aufgaben, nützliche Recall-Präzision, verbotenen Recall, wiederholte Fehler, Latenz, Tokens, Tool-Aufrufe und Wiederholungen. Der vollständige Betriebsvertrag und das Ereignisschema finden Sie in 13-dogfood-beta.md.

Führen Sie das beschleunigte Beta-Gate aus, ohne auf fünf organische Projekte zu warten:

make dogfood-beta

Dies führt fünf isolierte, zeitlich getrennte Workstreams gegen No-Memory, Markdown und MemoryGraph aus und setzt dann die bestehenden öffentlichen Retrieval- und Produktions-Chaos-Suiten zu einem fingerabdruckbasierten Bestanden/Nicht-bestanden-Bericht unter benchmarks/reports/dogfood-beta.json zusammen. Es ist beschleunigte deterministische Evidenz, keine Behauptung von fünf dauerhaften Nutzern.

Why a graph?

Der Graph gibt Agenten komponierbare Struktur: Entitäten sind Knoten und Behauptungen wie Abrar --works_at--> Stripe sind typisierte Kanten. MemoryGraph behandelt eine Kante nicht als zeitlose Wahrheit. Jede Behauptungsversion trägt gültige Zeit, Systemzeit, Lebenszyklus, Herkunft und exakte Quellen-Evidenz. Das ist der Unterschied zwischen einem nützlichen Speichergraphen und einem veralteten Faktenlager.

Development

uv sync --extra dev
uv run pytest
uv run ruff check .
PYTHONPATH=src:. python examples/run_memoryrotbench_memorygraph.py
PYTHONPATH=src:. python examples/run_memoryrotbench_chaos_memorygraph.py
python examples/run_memoryrotbench_baseline_matrix.py
PYTHONPATH=src:. uv run python examples/run_dogfood_fixture_matrix.py

Erwartete Ergebnisse: 12/12 öffentliche Retrieval-Fälle und 7/7 Produktions-Chaos-Fälle. Die Matrix hängt unveränderliche, korpus- und evaluator-fingerabdruckbasierte Datensätze an benchmarks/reports/public-baseline-matrix.jsonl an. Geben Sie --graphify-command an, um einen externen Graphify-Adapter gegen genau denselben sichtbaren Korpus und denselben Bewertungsvertrag auszuführen.

Next product layer

Das nächste Gate ist immer noch der Realwelt-Beweis: Live-Modell-gestützte Dogfood-Sitzungen, echte Graphify-Direktvergleiche und Design-Partner-Nutzung über tatsächliche Codierungsarbeit. Löschrückstände der gesamten Pipeline werden geprüft und gemeldet; jeglicher Identitätsrückstand, der nicht sicher gelöscht werden kann, ohne die Geschichte umzuschreiben, wird offengelegt statt versteckt. Der Dream-Validator bleibt die Sicherheitswaist, die jeder Provider und Worker durchlaufen muss.

Lizenziert unter Apache-2.0.

Available Tools

5 tools
correctCorrect claimB
Destructive

Supersede or retract a current claim with auditable evidence.

ParametersJSON Schema
NameRequiredDescriptionDefault
bankYesBank slug or UUID.
objectNo
excerptNo
claim_idYes
known_atNo
valid_toNo
operationYes
rationaleNo
workspaceNoOptional workspace label stored on observations.
valid_fromNo
object_kindNo
object_typeNo
effective_atNo
observation_idNo

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, which covers the mutation aspect. The description adds 'with auditable evidence,' implying that actions are logged or supported by evidence—information not present in annotations. However, it does not elaborate on the nature of the audit trail or what happens to the superseded/retracted claim, so the added value is modest.

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

Conciseness5/5

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

A single, compact sentence conveys the core purpose without wasted words. The action and key qualifier are front-loaded, making it easy to scan. No redundant phrases or unnecessary detail are present.

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

Completeness1/5

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

For a destructive mutation tool with 14 parameters, a one-line description is severely insufficient. It omits operational context (e.g., what constitutes a 'current claim', how to specify the target, acceptable evidence types, return behavior, or error conditions). Combined with no output schema and low parameter coverage, the description leaves critical gaps that will impede correct invocation.

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

Parameters1/5

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

With only 14% schema description coverage and 14 parameters, the description carries the burden of explaining key parameters. It does not elaborate on claim_id, operation, rationale, valid_from, valid_to, or other fields. The phrase 'auditable evidence' hints at rationale/excerpt but does not map to any parameter, leaving the agent without semantic guidance for required inputs.

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 the action ('Supersede or retract') and the resource ('a current claim'), and includes the qualifier 'with auditable evidence' that signals a specific audit-trail behavior. It implicitly distinguishes itself from siblings like record (creating new claims) and forget (possibly deletion) by focusing on correction of existing claims.

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?

No explicit guidance is given on when to use this tool versus alternatives. The description implies correction of existing claims but does not state conditions, prerequisites, or contrast with siblings. An agent must infer usage from the operation names alone.

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

explainExplain claimB
Read-onlyIdempotent

Show a claim's lifecycle, relations, and exact supporting evidence.

ParametersJSON Schema
NameRequiredDescriptionDefault
bankYesBank slug or UUID.
claim_idYes
workspaceNoOptional workspace label stored on observations.

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds context about the kind of information returned (lifecycle stages, relations, evidence granularity), which goes beyond bare annotations. However, it doesn't describe output format, pagination, or any side effects beyond what annotations imply, so it adds moderate value.

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

Conciseness5/5

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

The description is a single, front-loaded sentence with no filler. It efficiently conveys the core purpose without redundancy, making it easy for an agent to parse quickly.

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 there is no output schema, the description doesn't explain the return structure or how the 'explain' information is presented (e.g., nested JSON, human-readable text). It also doesn't mention any constraints like required permissions or workspace handling. For a tool that likely returns complex claim details, this is a notable gap, though the basic purpose is clear.

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 coverage is 67%: 'bank' and 'workspace' have descriptions, but 'claim_id' does not. The tool description doesn't clarify any parameters further, especially the undocumented claim_id. It adds no meaning beyond what the schema already provides, leaving the unidentified parameter ambiguous.

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 verb 'show' and the resource 'claim' with specific aspects: lifecycle, relations, and exact supporting evidence. This distinguishes it from siblings like recall (retrieve), record (create), correct (modify), and forget (delete) by focusing on detailed visualization rather than simple retrieval or mutation.

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, nor any conditions for exclusion. It doesn't mention whether it's preferred for debugging, auditing, or investigating claim states, leaving the agent to infer from the name and siblings.

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

forgetForget observationA
DestructiveIdempotent

Privacy-delete one source observation and propagate direct retractions.

ParametersJSON Schema
NameRequiredDescriptionDefault
bankYesBank slug or UUID.
workspaceNoOptional workspace label stored on observations.
observation_idYes

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds value by explaining the 'privacy-delete' nature (implying data sanitization) and the propagation of retractions. This goes beyond the bare annotation flags and gives a clearer picture of side effects, though it doesn't detail the propagation mechanism itself.

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

Conciseness5/5

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

The description is a single, compact sentence that front-loads the core action ('Privacy-delete') and immediately follows with the key side-effect. There is zero fluff; every word carries functional meaning, making it an exemplary concise definition.

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?

For a simple deletion tool with 3 parameters and no output schema, the description covers the essential action and side effects. It does not mention return values, error handling, or prerequisites, but given the low complexity and annotations covering idempotency and destructiveness, it is adequately complete.

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

Parameters3/5

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

Schema coverage is 67%, meaning two of three parameters have descriptions in the schema. The tool description does not add any semantic detail about parameters (e.g., what 'bank' or 'observation_id' specifically mean in this context). Since coverage is not high (>80%) but not low (<50%), the baseline 3 applies, and the description makes no attempt to compensate.

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 states a specific verb ('Privacy-delete') and resource ('one source observation') and adds a distinguishing side-effect ('propagate direct retractions'). This clearly sets it apart from siblings like 'record' or 'explain', making the tool's purpose instantly recognizable.

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?

No guidance is given for when to use this tool versus alternatives. It does not mention conditions, exclusions, or scenarios where a different sibling (e.g., 'correct') would be more appropriate. The usage context is entirely left to the agent to infer.

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

recallRecall memoryC
Read-onlyIdempotent

Retrieve bounded source observations relevant to the current task.

ParametersJSON Schema
NameRequiredDescriptionDefault
bankYesBank slug or UUID.
as_ofNo
limitNo
queryYes
workspaceNoOptional workspace label stored on observations.
max_tokensNo

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the description need not repeat that. It adds the concepts of 'bounded' and relevance to the current task, which are minor behavioral cues, but it does not disclose retrieval mechanism, result format, or error handling. The added value is modest.

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 sentence with no wasted words and the primary action is front-loaded. It is efficient, though its brevity may contribute to the lack of parameter and usage clarity.

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?

With 6 parameters (2 required), low schema coverage, and no output schema, the description is insufficient. It does not explain how to construct the query, what 'limit' or 'max_tokens' control, or what the response contains. An agent would need to consult other sources to call this tool correctly.

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 only 33% (only bank and workspace have descriptions). The tool description neither explains the remaining parameters (query, as_of, limit, max_tokens) nor provides any parameter-level guidance. The phrase 'bounded source observations' hints at limits but does not map to specific parameters, failing to compensate for the low coverage.

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 uses a clear verb ('Retrieve') and a resource ('bounded source observations'), which distinguishes it from sibling tools like 'record' and 'forget'. However, it does not explicitly mention the 'bank' parameter or clarify the meaning of 'bounded', leaving some ambiguity about scope.

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?

No guidance is provided on when to use this tool versus alternatives such as 'explain' or 'correct'. The only contextual hint is 'relevant to the current task', which is vague and does not explain prerequisites, exclusions, or when to prefer recall over other memory operations.

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

recordRecord observationB
Idempotent

Store one user-approved raw observation without inferring claims. Set kind to attempt to record procedural memory; content is the strategy and metadata must include task_key and outcome, with optional failure, applicability, and environment.

ParametersJSON Schema
NameRequiredDescriptionDefault
bankYesBank slug or UUID.
kindNo
contentYes
actor_idNo
metadataNo
workspaceNoOptional workspace label stored on observations.
actor_typeNo
source_keyYes
observed_atNo
sensitivityNo
trust_classNo
effective_atNo

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds context about user approval and non-inference of claims, which are beyond the annotations. But it doesn't disclose other behaviors like error handling, rate limits, or side effects beyond the basic write operation, so it adds some value but not a lot.

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

Conciseness5/5

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

The description is two sentences with zero fluff. It front-loads the core purpose, then gives a focused, actionable instruction for the most complex parameter combination. Every word earns its place, and the layout makes it easy to scan.

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 tool with 12 parameters, nested objects, and no output schema, the description is insufficient. It only addresses the 'attempt' kind and does not cover other potential uses or explain most parameters. There is no mention of return values, error cases, or examples. While annotations cover idempotency and destruction, the description leaves too much to inference for a complex tool.

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

Parameters3/5

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

Schema description coverage is only 17%, so the description carries considerable burden. It clarifies kind, content, and metadata specifically for the 'attempt' case, which is valuable. However, it leaves the majority of the 12 parameters (e.g., actor_id, actor_type, sensitivity, trust_class) unexplained, and provides no general semantics for other kinds. It partially compensates for the low coverage but not fully.

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 a specific verb ('Store') and resource ('raw observation'), with a qualifier ('user-approved') and a constraint ('without inferring claims'). It is unambiguous, though it doesn't explicitly distinguish from sibling tools like 'explain' or 'recall', which prevents a perfect score.

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?

The description provides explicit guidance for a specific scenario (setting kind to 'attempt') and outlines required metadata fields. However, it lacks any guidance on when this tool should be used compared to siblings, no exclusions or alternatives are mentioned, so it's partially helpful but not comprehensive.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updatesv0.1.0
    • First observedcorrect
    • First observedexplain
    • First observedforget
    • First observedrecall
    • First observedrecord

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct operation: explain (query graph), recall (retrieve observations), record (store), correct (update claims), forget (delete). No overlapping purposes, and descriptions clearly separate them.

Naming Consistency5/5

All tool names are single lowercase verbs, creating a uniform and predictable pattern. This consistency makes it easy to infer the action each tool performs.

Tool Count5/5

Five tools is well-scoped for a memory graph server, covering core operations without redundancy. Each tool addresses a necessary part of the memory lifecycle.

Completeness4/5

The set covers record, recall, correct, forget, and explain, which covers full CRUD-like operations on claims and observations. Minor gaps like explicit listing or bulk operations exist but are not critical for core usage.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to maintain long-term, cross-session memory by extracting facts, reconciling state conflicts, and retrieving relevant memories via vector search.
    4
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to store and retrieve typed facts with bi-temporal validity, supersede outdated information, and query what was true as of any past date.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides AI agents with long-term memory that tracks temporal validity and corrections, enabling context-aware retrieval of past facts via MCP tools.
    MIT