Skip to main content
Glama
FocalMem MCP Server

FocalMem MCP Server

by kannazuki114

dream_consolidate

Runs a micro-sleep consolidation cycle to process queued memories, merge duplicates, demote cold nodes, and repair drifting pointers, keeping local-first memory graphs consistent.

Instructions

执行微睡眠整理周期:消化队列、合并重复记忆、衰减降级冷门节点并修复漂移指针。

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": "dream_consolidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNodefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose real behavioral effects: queue digestion, merging of duplicate memories, decay/demotion of cold nodes, and pointer repair — all mutations with lasting consequences. It stops short of saying whether these changes are reversible, whether a lock or exclusive access is required, how long the cycle runs, or whether it is idempotent.

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 operating verb first and the sub-operations enumerated after; no filler or repetition. The density is justified because each listed operation conveys distinct side-effect information.

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?

This is a multi-step mutation tool with no annotations and no output schema, so the description must also cover return values, safety profile, and scope — none of which appear. It explains what the cycle does internally but not what the caller gets back or under what conditions it should be invoked.

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% for the single parameter, and the description says nothing about project_id — most notably whether consolidation is scoped per project or global, which materially changes the blast radius. Only the parameter's title and default hint at its meaning.

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?

States a concrete verb and resource ('执行微睡眠整理周期') and enumerates the sub-operations performed (digest queue, merge duplicates, decay cold nodes, repair pointers), so an agent knows exactly what kind of maintenance pass this is. It never contrasts itself with overlapping siblings such as memory_resolve_conflict or pointer_hydrate, leaving differentiation to inference.

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 phrase '微睡眠整理周期' hints at a periodic/maintenance context, but there is no explicit when-to-use, no prerequisites, and no exclusions. Several siblings cover overlapping ground (conflict resolution, pointer repair), yet the description gives no rule for choosing this tool over them.

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