Skip to main content
Glama

brain_session_start_smart

Auto-detects your project from the workspace path and loads file-aware memories plus cross-project context to start an AI session with relevant knowledge already in place.

Instructions

[v1.2] Smart session start with workspace auto-detection. Detects project from workspace path, loads file-aware context signals, includes cross-project memories. PREFERRED over brain_session_start.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "brain_session_start_smart"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax memories to load. Default: 25.
projectNoExplicit project override. If provided, skips auto-detection.
active_fileNoCurrently open file path. Used for file-aware context (e.g., editing stripe.ts loads payment memories).
workspace_pathNoActive workspace/folder path (e.g., /home/user/projects/my-saas-app). Used to auto-detect project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose what gets loaded (file-aware signals, cross-project memories) and that detection runs off the workspace path. It never says whether starting a session creates or mutates persisted state, what happens when detection fails or no workspace is supplied, or what the call returns.

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?

Two compact sentences with the core capability front-loaded and the sibling comparison last, which is the right order. The "[v1.2]" version tag is metadata noise that does not help an agent decide or invoke.

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?

For a four-parameter tool with zero required params, no annotations, and no output schema, the description covers the loading behavior and the alternative well. It leaves the agent without a picture of session lifecycle side effects or degraded-mode behavior when auto-detection cannot resolve a project, which matters for a session-start tool.

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 every parameter is already documented with examples and defaults. The description only reinforces workspace_path's detection role and the project override; it adds no format, precedence, or edge-case detail beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource (session start) plus the distinguishing scope: workspace auto-detection, file-aware context signals, and cross-project memories. It also names the sibling brain_session_start and positions itself against it, so an agent can choose without opening either schema.

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?

"PREFERRED over brain_session_start" gives an explicit selection rule against the closest alternative, and the schema notes that the project param skips auto-detection. It does not say when the plain brain_session_start would actually be the right pick, so no true exclusion case is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.