Skip to main content
Glama

dream

Recomputes a deterministic worklist of memory coverage gaps and stale references, ranked with stable IDs for review. Syncs findings to the database.

Instructions

Return the deterministic memory-maintenance worklist: coverage gaps (load-bearing symbols with no memory) + stale references (a memory citing a path that no longer resolves), ranked, each with a stable id to review. This is the pull surface for a strong agent to burn down the worklist. Recomputes the deterministic findings on each call (like rag-rat dream); it does NOT run the opt-in model verdict/compaction passes — those stay on the CLI/cron rag-rat dream --verify|--compact, and the findings they persist (e.g. memory_divergence) still surface here. Review a finding with dream_review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoAlso surface the human-reviewed (`accepted` / `dismissed`) findings, not just the open worklist — the `rag-rat dream --all` listing, so a reviewer can see and `reset` them.
limitNoMax `coverage_gap` findings to compute (the load-bearing-symbol budget); defaults to 20.
Behavior5/5

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

With no annotations, the description fully discloses that the tool recomputes findings on each call, syncs dream_findings (classified as a write tool), and does NOT run model passes. It also explains the deterministic nature.

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 informative but not overly verbose. It front-loads the core purpose and then adds necessary details. Slightly dense but earns its length.

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

Completeness5/5

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

The description is thorough given the tool's complexity. It covers return type, recomputation behavior, what is excluded, and references sibling tool. No output schema exists, but the description compensates well.

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 coverage is 100% (parameters are well-described in schema). The description adds context: 'all' surfaces human-reviewed findings, 'limit' controls the load-bearing-symbol budget, providing meaning beyond the schema.

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 tool returns the deterministic memory-maintenance worklist (coverage gaps and stale references) with stable IDs for review. It distinguishes from siblings by specifying that it does not run opt-in model passes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states it is 'the pull surface for a strong agent to burn down the worklist' and clarifies that model verdict/compaction passes are on CLI/cron, not this tool. It also mentions reviewing findings with dream_review.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cq27-dev/rag-rat'

If you have feedback or need assistance with the MCP directory API, please join our Discord server