Skip to main content
Glama
obsidian-brain-mcp
by hikaru777

consolidate_memory

Merges and organizes older agent memories before a cutoff date, with a dry-run option to preview target memories first.

Instructions

古い記憶を統合・整理します

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent": "<agent>"
    },
    "name": "consolidate_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYes
dry_runNotrueなら対象一覧のみ返す(デフォルトtrue)
before_dateNoこの日付以前の記憶を対象(YYYY-MM-DD、デフォルト30日前)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/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 burden, yet it discloses none of the critical behavior for what is clearly a mutating operation: whether memories are deleted, rewritten, or merged, whether the result is reversible, and what permissions the agent requires. The only safety signal (dry_run defaulting to true) lives in the schema, not the description.

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

Conciseness3/5

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

One short sentence with no filler, so it is concise, but the brevity comes at the cost of under-specification rather than economy of expression.

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 mutating tool with no annotations, no output schema, and only partial schema coverage, the description is far too thin. An agent cannot determine risk, side effects, expected output, or whether dry_run should be used first.

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%, and the description adds nothing about any parameter — notably the required `agent` field is undocumented in both schema and description. The described date scope of 'old memories' loosely overlaps before_date, but the description does not explain its format or default, which the schema already does.

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?

"古い記憶を統合・整理します" gives a verb (consolidate/organize) and a resource (old memories), but 'consolidate/organize' is ambiguous about the actual operation — merge, deduplicate, summarize, or delete? It does not distinguish itself from siblings like detect_conflicts or promote_pattern, so an agent cannot tell precisely what this does without opening the schema.

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 named alternative. The description never says when consolidation should be run versus detect_conflicts or evolve_belief, nor when it should be avoided.

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