Skip to main content
Glama
xbrxr03
by xbrxr03

MemoryGraph

エージェントが関連するメモリを見つけました。MemoryGraph は、そのメモリが今も真実かどうかを伝えます。

MemoryGraph は、AI エージェントの信念に対するローカルファーストの証拠・改訂レイヤーです。ソースの観察結果を保持し、主張を時間的グラフとして表現し、その主張が現在のものか、履歴上のものか、論争中かを説明します。

MVP ステータス

決定論的 MVP は稼働中です。権威あるアーキテクチャは 00-architecture-index.md から始まります。実装済みカーネルは以下をカバーします:

  • 不変のソース観察結果。

  • 型付きエンティティノードと、正確な証拠スパンを持つ原子的な主張エッジ。

  • 二時点の現在および履歴の信念クエリ。

  • 明示的な確認、矛盾、原子的な置き換え。

  • recall、history、explain コマンド。

  • 厳格なバンク分離と、追記専用の変更イベントログ。

  • プロバイダ非依存のドリーム提案バリデータ。証拠、ウォーターマーク、主張バージョン、冪等性、信頼度、挑戦者、レビューゲートを備えます。

  • 永続的なドリーム実行、タスク、提案、レビュー項目、リース、イベントウォーターマーク、原子的な提案コミット。

  • 完全なドリームサイクルを、ソースデータを外部モデルに送らずに実行する決定論的メタデータプロバイダ。

  • MemoryRotBench フィクスチャ、ベースライン、検索評価、エンジン統合。

  • 依存関係のないローカルベースラインと交換可能なエンベッダーを備えたハイブリッド FTS/ベクトル検索。

  • 信頼できない命令風コンテンツに対する検索時隔離。

  • リース、ハートビート更新、リトライ、リプレイセーフな再開を備えたクラッシュリカバリ可能な Dream ワーカー。

  • 候補のみを提案できる OpenAI 互換の構造化出力プロバイダ。

  • 5 つのツールを持つ STDIO MCP サーバー: recall、record、explain、correct、forget。

  • ユーザー承認済みの Codex JSONL 取り込みと、プロジェクトスコープの Codex インストーラ。

  • 決定論的な Obsidian 互換 Markdown レビュープロジェクション。

  • 成功および失敗したコーディング試行の限定的再利用のための、第一級の手続き的エピソード。

  • 再現可能な no-memory、Markdown、BM25、フラットコンテキスト、外部/Graphify ベンチマークアダプタ。

  • クロスプラットフォーム CI、パッケージ検証、実用的な doctor 診断。

現在のエンジンは、公開されている 12 件の MemoryRotBench クエリすべてと、7 件の本番カオス契約すべてに合格しています。このチェックポイントでは、リポジトリのテストスイートは 196 件のテストに合格しています。最初のフィンガープリント付き公開マトリックスでは、最も強力な単純ベースラインは 7/12 を通過する一方、MemoryGraph は 12/12 を通過します。

Related MCP server: korely

クイックスタート

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

証拠を記録し、それを主張に変換します:

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)

Python API は、組み込みアプリケーション向けに confirm_claim、contradict_claim、supersede_claim、recall、history、explain も公開しています。

将来のエージェントが成功した戦略を再利用したり、既知の失敗を回避したりできるように、コーディング試行を記録します。ただし、それが普遍的に適用可能であるかのように装うことはしません:

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

ドリームサイクルを実行する

組み込みプロバイダは metadata.memorygraph から型付き候補を読み取り、グラフ変更を提案し、証拠と時間的前提条件を検証してから、適格な提案を 1 つのトランザクションでコミットします。モデルプロバイダは同じ候補専用プロトコルを実装し、データベースへの直接書き込みパスは決して持ちません。

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

CLI 取り込みの場合は、observe --metadata-file FILE.json で候補エンベロープを渡し、その後 memorygraph dream run --bank BANK を実行します。--mode dry_run は提案を検証して永続化しますが、観察結果を消費したり、主張を変更したりしません。

永続的な実行の場合は、作業をキューに入れ、ワーカーを別途実行します:

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

OpenAI 互換の Responses エンドポイントを使用するには、設定済みのキー変数を設定し、キューとワーカーの両方にモデルを渡します。プロバイダ出力は厳密な構造化データとして解析され、同じ決定論的証拠およびコミットゲートを通過します。

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

Codex を接続する

パッケージをインストールし、プロジェクトバンクを初期化し、プロジェクトスコープの MCP 設定を追加します:

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

インストーラは .codex/config.toml に [mcp_servers.memorygraph] ブロックを作成または修復し、現在の Python 環境の memorygraph.mcp STDIO モジュールを指すように設定し、書き込みを促すように Codex を設定します。グローバルな Codex 設定は変更しません。5 つの MCP 操作には明示的なバンクスコープが必要です。

probe-codex はプロジェクト設定を検証し、実際の MCP サブプロセスライフサイクルを実行します。プローブが一時的な使い捨てプローブ DB ではなく、設定済みのプロジェクトデータベースにアクセスするようにするには、--project-database を使用します。

セッションコンテンツのインポートはオプトインです。各 JSONL レコードには bank、session_id、turn_id、role、content、approved が含まれている必要があります。承認されていないレコードはデフォルトでスキップされます:

memorygraph ingest-codex approved-session.jsonl

Dogfood Alpha

公式のオフライン 6 アームフィクスチャマトリックスは次のとおりです:

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

実際のプロジェクトの場合は、最初に運用契約をブートストラップします:

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

フィクスチャマトリックスは次のアームを実行します:

  • no_memory

  • markdown

  • memorygraph_graph_only

  • memorygraph_gated_dream

  • memorygraph_always_dream

  • graphify_compatible

タスクの合格/不合格、有用な検索精度、禁止または古い検索リーク、繰り返しの間違い、レイテンシ、トークン見積もり、ツール呼び出し、リトライ、推定コストフィールド、Dream レビュー負荷を測定します。結果は benchmarks/reports/dogfood-offline-mvp.json と追記専用台帳 benchmarks/reports/dogfood-offline-mvp.jsonl に書き込まれます。 タスクの合格/不合格はクエリの期待値に従います。Dream レビューバックログは、別の、目に見えるコストのままです。

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、禁止フラグメントリークあり

graphify_compatible は、外部レトリーバーが同じマニフェスト、時間制限、評価契約で競争できるようにするプロトコルアダプタです。このリポジトリがすでにライブの Graphify 比較を完了しているという主張ではありません。

Obsidian での人間によるレビュー

現在の主張、正確な出典、関係、Dream レビューキューを含む Markdown ボールトを生成します:

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

Markdown は使い捨てで、マニフェスト管理されています。SQLite の観察結果と追記専用イベントは権威あるままです。生成されたノートへの編集がメモリを黙って変更することはありません。

Dogfood Beta

Beta は、決定論的 Alpha マトリックスの上に、ライブでリポジトリ所有の証拠ループを追加します。まず、プロジェクトバンクをブートストラップし、プロジェクトスコープの MCP 設定をインストールし、設定済みのプロジェクトデータベースをプローブします:

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

実際のセッションの計測は明示的で追記専用です。MemoryGraph はプライベートな Codex 履歴をスクレイピングすることはありません。承認済みの recall、attempt、task イベントを memorygraph dogfood capture で記録し、その後 make dogfood-live を実行します。レポートは、成功したタスク、有用な検索精度、禁止された検索、繰り返しの間違い、レイテンシ、トークン、ツール呼び出し、リトライを追跡します。完全な運用契約とイベントスキーマは 13-dogfood-beta.md にあります。

5 つの有機的なプロジェクトを待たずに、加速された Beta ゲートを実行します:

make dogfood-beta

これにより、no-memory、Markdown、MemoryGraph に対して 5 つの分離された時間分離ワークストリームが実行され、既存の公開検索および本番カオススイートが 1 つのフィンガープリント付き合格/不合格レポート benchmarks/reports/dogfood-beta.json にまとめられます。これは加速された決定論的証拠であり、5 人の持続的なユーザーの主張ではありません。

なぜグラフなのか?

グラフはエージェントに構成可能な構造を与えます。エンティティはノードであり、Abrar --works_at--> Stripe のような主張は型付きエッジです。MemoryGraph はエッジを時代を超えた真実として扱いません。各主張バージョンは、有効時間、システム時間、ライフサイクル、出典、正確なソース証拠を持ちます。それが、有用なメモリグラフと古い事実ストアの違いです。

開発

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

期待される結果: 公開検索ケース 12/12、本番カオスケース 7/7。 マトリックスは、不変のコーパスおよび評価者フィンガープリント付きレコードを benchmarks/reports/public-baseline-matrix.jsonl に追加します。--graphify-command を指定すると、まったく同じ可視コーパスと評価契約に対して外部 Graphify アダプタを実行できます。

次のプロダクトレイヤー

次のゲートは依然として実世界での証明です。ライブのモデルバックのドッグフーディングセッション、実際の Graphify との直接比較、実際のコーディング作業におけるデザインパートナーの使用です。パイプライン全体の削除残渣は監査され、報告されます。履歴を書き換えずに安全に消去できないアイデンティティ残渣は、隠すのではなく表面化されます。ドリームバリデータは、すべてのプロバイダとワーカーが通過しなければならない安全帯のままです。

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