Skip to main content
Glama

ck_memory_search

Retrieve past decisions, findings, proofs, and domain knowledge from governed session memory using freeform text search with type and source filters.

Instructions

Search governed typed memory for the current session to recover prior decisions, findings, proofs, and domain knowledge. Read-only. query is a freeform text search applied across record titles, bodies, and tags. record_type filters by type (decision, finding, proof, goal, brief, checkpoint); omit to search all types. top_k limits the number of ranked results (default 10). source_type and source_id filter by origin. Returns ranked records with citations and scores. Use ck_memory_search to retrieve what was recorded in prior steps or sessions. Use ck_memory_record to write new records. Use ck_experience_search for full-text search across findings and tasks workspace-wide.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_rootNoAbsolute path to the project root directory on the local filesystem.
queryYesSearch query string for filtering or full-text search.
record_typeNoRecord type classification.
session_idNoUnique session identifier for correlating findings, proofs, budget, and audit trail.
source_idNo
source_typeNoOrigin category of the record (e.g., developer, tool_output, human_review).
task_idNoTask identifier within the session for scoped operations.
top_kNoMaximum number of top-ranked results to return.
Behavior4/5

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

No annotations provided, so description carries full burden. It clearly declares read-only behavior and describes search scope and return type (ranked records with citations and scores). Could mention potential limits beyond top_k, but overall transparent.

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?

Three sentences: core purpose, parameter overview, and usage guidance with sibling differentiation. No wasted words, front-loaded with the most critical information.

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 8 parameters, 1 required, and no output schema, description explains nearly all parameters and return format. Missing explicit mention of source_id parameter behavior and error handling, but overall sufficiently complete for a search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds significant meaning beyond schema: explains query as freeform text search across fields, record_type filtering semantics, top_k default of 10, and source_type/source_id origin filtering. Schema coverage is 88%, but description compensates with detailed parameter behavior.

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?

Description starts with specific verb 'Search' and explicit resource 'governed typed memory for the current session'. It clearly distinguishes from sibling tools by naming ck_memory_record and ck_experience_search.

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?

Explicitly states when to use: 'retrieve what was recorded in prior steps or sessions' and when not: 'Use ck_memory_record to write new records. Use ck_experience_search for full-text search across findings and tasks workspace-wide.'

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/aryaminus/controlkeel'

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