Skip to main content
Glama
cachly-dev

Cachly — AI Cognitive Brain

session_start

Initialize a work session by retrieving a complete cognitive briefing including last session summary, relevant lessons, failure patterns, and team insights in a single call.

Instructions

Single-call session briefing. Call this at the START of every session INSTEAD of multiple separate smart_recall/recall_best_solution calls. Returns: last session summary, recent lessons sorted by recency, relevant lessons for your focus area, open failures (topics with only failure outcomes), brain health stats, team telepathy (what teammates learned this week), predictive pre-warnings (if your focus area has known failure patterns), and memory crystals (compressed wisdom from old sessions). Also saves a session start marker so session_end can compute duration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesUUID of the cache instance
focusNoKeywords for what you plan to work on today (e.g. "deploy infra api"). Used to surface relevant lessons at the top.
authorNoYour name or handle (e.g. "alice"). Enables Team Telepathy — filters YOUR lessons vs TEAM lessons from past 7 days.
providerNoCurrent AI provider (e.g. "claude-code", "copilot", "cursor", "windsurf"). Shown in the briefing header and saved so the next provider can see who was last active.
workspace_pathNoAbsolute path to the project root. If no session_end was found (e.g. context limit hit), reads git log to reconstruct what happened since last session.
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It lists the many returned items and mentions saving a session start marker and reconstructing from git log. However, it does not discuss side effects like potential state resets, performance impact of the large return, or error handling. Adequate but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded with the key purpose. It lists return items in a readable format without unnecessary verbosity. Minor improvements could be made with bullet points, but it is already efficient.

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?

Given the tool's complexity (multiple return items, side effects, 5 parameters, no output schema), the description covers the main functionality and return values. However, it lacks details on expected behavior for invalid inputs (e.g., missing instance_id) or failure modes. Adequate for core use but leaves some gaps.

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

Parameters4/5

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

All 5 parameters have descriptions in the schema (100% coverage). The description adds valuable context beyond the schema, such as how 'focus' surfaces relevant lessons, 'author' enables team telepathy, and 'workspace_path' triggers git log reconstruction. This enhances understanding.

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 it is a 'Single-call session briefing' to be called at session start, explicitly distinguishing it from sibling tools like smart_recall and recall_best_solution. The verb 'call' and resource 'session start' are specific and unambiguous.

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 explicitly instructs when to call ('at the START of every session') and what to use instead ('INSTEAD of multiple separate smart_recall/recall_best_solution calls'). It also mentions the marker for session_end. While clear, it could include guidance on when not to use this tool (e.g., for single queries).

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