Skip to main content
Glama
cachly-dev

Cachly — AI Cognitive Brain

smart_recall

Find cached knowledge by meaning, not by keyword. Submit a natural language question and retrieve the most relevant saved context, even if no exact match exists.

Instructions

Semantically search cached context using natural language. Instead of exact key matching, finds context by meaning. Example: smart_recall("how does authentication work") → returns cached auth architecture summary. Falls back to remember_context keys if no semantic match is found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language query to find relevant cached context
authorNoHandle of the person doing the recall (optional). Enables team-knowledge-reuse tracking: when you recall a lesson written by a teammate, cachly counts it as cross-author reuse — the value only a shared brain delivers.
thresholdNoSimilarity threshold 0-1 (default: 0.78)
instance_idYesUUID of the cache instance
context_filesNoFile paths you are currently working on (e.g. ["src/auth/service.ts", "src/api/routes.ts"]). When provided, lessons that were learned in the context of these files are boosted in ranking — surfacing file-specific knowledge even when the query does not mention the file name. Pair with author for fully personalized recall.
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses the fallback behavior to remember_context keys and shows a return example, which is valuable. However, it doesn't explicitly state read-only semantics, result cardinality, or any potential side effects, leaving some ambiguity for a tool with no annotation safety profile.

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 three sentences: the main purpose, a contrast with exact matching, a concrete example, and a fallback note. Every sentence earns its place with no redundancy or vague filler. The information is front-loaded and easy to scan.

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

Completeness3/5

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

No output schema exists, so the description should clarify return semantics. It gives one example ('returns cached auth architecture summary') but doesn't specify whether the return is a single result, a list, or how results are structured. For a 5-parameter tool with no output schema, this is a moderate gap.

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?

Schema description coverage is 100%, and the schema provides detailed explanations for all 5 parameters (e.g., threshold, author, context_files). The description adds no additional parameter semantics beyond the example query, which doesn't elaborate on parameter syntax or interactions. The baseline of 3 is appropriate given the schema's thoroughness.

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 'Semantically search cached context using natural language' and provides a concrete example ('how does authentication work' → returns cached auth architecture summary). It explicitly contrasts with exact key matching, distinguishing it from sibling cache retrieval tools.

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 phrase 'Instead of exact key matching' gives clear context on when to use this tool versus exact lookup alternatives. The fallback note ('Falls back to remember_context keys') adds useful behavioral context, though it doesn't explicitly name sibling tools like semantic_search or recall_context for direct comparison.

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