context-crystal
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CCRYSTAL_STORE | No | Path to the decoupled context store. When set, crystals, entity logs, and transient leases are written to an isolated companion repository instead of the default in-tree .ccrystals/ directory. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| crystal_batchB | Execute compound semicolon-delimited atomic transition recipes (e.g. 'node add -s "..." demo; task done -t task-1 demo'). Maximizes efficiency by minimizing roundtrips. |
| crystal_searchB | Search and list crystals in the cave with multi-dimensional filtering, or search and inspect DAG transition nodes when crystal_id is provided. |
| crystal_statsB | Compute and inspect workspace cave statistics, temporal genesis, structural totals, physical disk footprints, and quantitative prompt token savings across global cave or filtered search criteria. |
| crystal_initC | Initialize a new context crystal. |
| crystal_checkpointC | Create an anchor checkpoint node in the crystal DAG. |
| crystal_task_transitionC | Add or complete a task in a crystal. |
| crystal_goal_transitionB | Transition a crystal's top-level goal status (conclude successfully, abandon, or reopen) with optional resolution summary or reason. |
| crystal_transient_leaseC | Create, clean, or promote a transient resource lease. |
| crystal_slice_forkC | Extract crystal fragment or fork sub-DAG into a new crystal. |
| crystal_pruneB | Permanently prune a crystal or cold storage archives by retention policy (with entity and artifact cascade). |
| crystal_artifactC | Register, list, inspect, or delete virtual and physical artifacts across cave or crystal. |
| crystal_hydrateC | Hydrate context beam from a crystal with selective shaping (tail, slice range from/to, depth, or summary only). |
| crystal_triageB | Triage workspace cave crystals for lifecycle hygiene and aging, categorizing them into keep (active), candidates for cleanup (concluded/abandoned with 0 open leases), and requires review. |
| crystal_archiveA | Archive a concluded or inactive crystal to cold storage (.ccrystals/archive/) to reduce cave bloat while preserving all state and artifacts. |
| crystal_unarchiveA | Restore an archived crystal from cold storage (.ccrystals/archive/) back to the active cave. |
| crystal_meltC | Melt and squash intermediate sub-DAG transitions into a single consolidated checkpoint node with aggregated artifact links (Zero-LLM deterministic squashing by default). |
| crystal_connectB | Connect, disconnect, or inspect directed lattice bonds between crystals in the cave, enforcing an acyclic graph invariant and supporting cross-crystal context hydration. |
| crystal_lessonC | Record, resolve, or list lessons learned across crystals to prevent cognitive regression, repeated friction, and agent amnesia. |
| crystal_extension_listA | Discover and list extensions across the 3-tier scoping cascade (host, cave, crystal) including embedded Scala Native modules and declarative/executable drop-ins. |
| crystal_extension_manageB | Enable or disable an extension at Cave or Crystal scope. |
| crystal_extension_runC | Execute a drop-in extension's declared executable entrypoint within isolated crystal context. |
| crystal_extension_callB | Universal dynamic dispatch invocation for any extension (embedded or drop-in executable) with structured action and JSON payload parameters, avoiding MCP schema changes for future extensions. |
| crystal_extension_commsC | Send messages or inspect inboxes/outboxes/audit logs via the embedded Crystal Comms extension. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| hydrate_context | Hydrate context beam system prompt from crystal |
| triage_cave | Inspect and triage crystals across the workspace cave for lifecycle hygiene and cleanup recommendations |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| State for release-v1-3-0-extensions-media-and-mcp-optimization | Living state container JSON |
| DAG for release-v1-3-0-extensions-media-and-mcp-optimization | Lineage and DAG nodes JSON |
| Hydrated context beam for release-v1-3-0-extensions-media-and-mcp-optimization | Hydrated context beam text/markdown |
| Artifacts for release-v1-3-0-extensions-media-and-mcp-optimization | Artifacts and physical substrates JSON |
| Lattice bonds for release-v1-3-0-extensions-media-and-mcp-optimization | Lattice bonds and inbound/outbound topology JSON |
| Cave Entities Registry | Registered cave entities and identities |
| Cave Artifacts Registry | Registered cave artifacts and world-state substrates |
TDQS
Scored across 23 tools
Core lifecycle tools (init, checkpoint, goal_transition, task_transition, hydrate, prune) are clearly distinct, but the extension cluster is muddled: crystal_extension_call explicitly duplicates crystal_extension_run, and crystal_extension_comms overlaps both, while crystal_extension_manage/list are separate concerns. Additionally crystal_batch is a meta-tool that re-executes the semantics of nearly every other tool, and crystal_search overloads two modes (crystal listing vs DAG node inspection), creating real selection ambiguity.
Nearly all tools use a consistent snake_case crystal_<verb> or crystal_<verb>_<noun> pattern (crystal_triage, crystal_archive, crystal_hydrate, crystal_prune). The extension tools deviate into a crystal_extension_<verb> noun-scoped subgroup, which is a minor but defensible deviation rather than chaotic mixing.
At 23 tools the surface sits in the heavy band for a single-domain server; the five extension tools plus crystal_batch and crystal_extension_call push it past what the core crystal lifecycle actually needs. A few tools (extension_call, batch) feel like escape hatches rather than earned primitives.
The domain is well covered: creation (init), DAG mutation (checkpoint, transitions, melt, slice_fork), retrieval (hydrate, search), lifecycle hygiene (triage, archive/unarchive, prune), artifacts, lessons, stats, lattice bonds, and extensions. Minor gaps exist around crystal metadata update/rename and bulk export, but no workflow dead-ends.