Skip to main content
Glama
cachly-dev

Cachly — AI Cognitive Brain

compact_recover

Recover full context after hitting context limits. Reconstruct from memory crystal, recent sessions, WIP registry, and open failures to resume work without lost progress.

Instructions

Call FIRST after any context limit hit / compaction. Reconstructs full context from Memory Crystal + recent sessions + WIP registry + open failures. Returns a condensed briefing so the new context window starts exactly where the previous one left off — no lost progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesBrain instance ID
focusNoWhat you were working on (helps filter relevant context)
Behavior4/5

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

With no annotations provided, the description takes full responsibility for behavioral disclosure. It details the sources used (Memory Crystal, recent sessions, WIP registry, open failures) and the outcome (condensed briefing, no lost progress). This gives an agent meaningful transparency about inputs and effects, though potential side effects (e.g., if it mutates state) are not mentioned.

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 wasted words. It front-loads the critical usage instruction ('Call FIRST...') and follows with concise explanation of behavior and result. Every sentence serves a clear purpose.

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?

Given the tool has two parameters, no output schema, and no annotations, the description covers the core behavior, usage scenario, and output. It does not explain domain-specific terms (Memory Crystal, WIP registry) or potential side effects, but for an agent in this domain, it likely provides sufficient context to invoke correctly.

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?

The parameter schema has 100% description coverage, with instance_id and focus clearly documented. The tool description reinforces the focus parameter's purpose ('helps filter relevant context'), but adds no new semantic value beyond the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

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 tool's purpose: to reconstruct full context after a context limit hit or compaction. It uses a specific verb ('reconstructs') and identifies the resource ('full context'). However, it does not explicitly differentiate from siblings like memory_consolidate or recall_context, which may have overlapping roles, though the 'FIRST' instruction provides implicit distinction.

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

Usage Guidelines4/5

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

The description provides explicit usage guidance: 'Call FIRST after any context limit hit / compaction.' This clearly indicates the condition and priority. It does not list alternatives or when not to use, but the strong directive is adequate for an agent to understand when to invoke this tool.

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/cachly-dev/cachly-mcp'

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