Skip to main content

What it does

Performs a comprehensive semantic search across all memory stores and categories for a given topic, returning all matching memories ranked by strength and relevance. Use this when you want an overview of everything known about a subject, without pre-filtering by store, category, or recency. This tool is recall-backed. It uses the same graph-aware, source-role-aware ranking as crystal_recall, then formats a broader topic summary. It is useful for “what context exists?” before planning, but it is not a substitute for direct KB lookup when the user names a manual/reference corpus.

Parameters

Returns

Field descriptions:
  • summary — Concatenation of the top 3 memory titles, separated by semicolons
  • memoryCount — Total number of matching memories
  • topMemories — Top 5 memories ranked by strength, with full details
  • strength — Numeric score (0–1) indicating how relevant the memory is to the topic
  • confidence — AI confidence score from when the memory was extracted (0–1)
The text output also includes a formatted block with a defense header, summary, and bulleted memory list showing store, title, and strength.

Examples

Basic usage

Advanced usage

When to use this vs alternatives

  • crystal_what_do_i_know — When you want a complete overview of a topic across all stores/categories
  • crystal_recall — When you need fast, ranked retrieval of relevant memories before responding
  • crystal_query_knowledge_base — When the question is about a named KB, manual, transcript, voice guide, or reference corpus
  • crystal_search_messages — When you want to search message content by keyword, not semantic topic
  • crystal_recent — When you need recent messages only, not full-memory topic scans
  • crystal_why_did_we — When you want to understand reasoning behind a specific decision, not a general topic overview

Error handling

Notes

  • The tool performs full-text semantic search, so results are ranked by relevance, not exact keyword match.
  • stores and tags filters are AND-combined with the semantic search (both must match if provided).
  • Ranking can bias toward source roles that match the question, such as voice_style for voice/prompt questions or client_context for client-specific facts.
  • Pass projectId or repoSlug for coding sessions to avoid mixing memories from unrelated repositories.
  • topMemories includes the top 5, but the full count is reported in memoryCount.
  • The formatted output includes a defense header to prevent accidental instruction injection.
  • Memory strength values are relative to the query; different queries will produce different strength scores for the same memory.
  • If multiple memories have identical titles, the top one by strength is included; duplicates are filtered.