Skip to main content
Glama

session_start

Initialize a work session by retrieving previous summaries, relevant lessons, and tracking metrics to maintain context and focus.

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), and brain health stats (lesson count, context count). 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.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it returns multiple data types (last session summary, lessons, failures, stats), saves a session start marker for duration computation with session_end, and implies state mutation (saving markers). However, it doesn't mention error handling, rate limits, or authentication needs, which are common gaps.

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 efficiently structured: it front-loads the core purpose and usage rule, then lists return values clearly, and ends with an additional behavioral note about session markers. Every sentence adds essential information without redundancy, making it highly scannable and zero-waste.

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 the tool's complexity (session management with multiple return types) and lack of annotations or output schema, the description does well by detailing return values and session marker behavior. However, it doesn't specify the format of returned data (e.g., JSON structure) or error conditions, leaving some gaps for an agent to handle robustly.

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%, so the schema already documents both parameters thoroughly. The description adds minimal value beyond the schema: it mentions 'focus' is used to 'surface relevant lessons at the top,' which slightly elaborates on the schema's 'Used to surface relevant lessons at the top.' This meets the baseline for high schema coverage without significant enhancement.

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 the tool's purpose: 'Single-call session briefing' with the specific action 'Call this at the START of every session' and distinguishes it from alternatives ('INSTEAD of multiple separate smart_recall/recall_best_solution calls'). It explicitly names sibling tools it replaces, making the distinction unambiguous.

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?

The description provides explicit usage guidance: 'Call this at the START of every session' and specifies when NOT to use it ('INSTEAD of multiple separate smart_recall/recall_best_solution calls'). It names concrete alternatives and establishes a clear temporal context (session start), leaving no ambiguity about when to invoke this tool.

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