Skip to main content
Glama

unimatrix_begin_session

Explicitly start a stateful MCP session. Sessions let memory recall within a single conversation grow more relevant over time: memories stored or recalled earlier in the session are reinforced in later unimatrix_recall calls. Sessions are ephemeral (in-memory, 4-hour TTL) — pass the returned session_id to subsequent unimatrix_recall / unimatrix_store_memory calls.

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": "unimatrix_begin_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_labelNoOptional human label for the session, e.g. 'coding session'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it discloses that sessions are stateful, in-memory, ephemeral, and expire after a 4-hour TTL, plus the reinforcement behavior affecting later recall results. Missing only permission/auth considerations and what happens if the session_id is not passed or has expired.

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, each front-loaded with a distinct fact: what it does, why it matters, and the operational constraints (TTL, returned id, where to pass it). No filler and no redundancy with the schema.

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

Completeness5/5

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

There is no output schema, and the description compensates by naming the returned session_id and explaining its downstream use, along with lifetime and storage semantics. For a one-parameter lifecycle tool this covers everything an agent needs to invoke it correctly.

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 coverage is 100% and the single optional user_label parameter is already documented in the schema, so the description needs only to confirm the return contract. It does that by stating a session_id is returned and must be passed downstream, but adds no meaning about user_label itself; 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 ("Explicitly start a stateful MCP session") and distinguishes itself from implicit session creation via the word "Explicitly." The follow-on sentences scope exactly what a session affects (reinforcement of memories across unimatrix_recall calls), so an agent knows this is the session-lifecycle entry point rather than a memory operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes clear that this is called first and that the returned session_id must be threaded into unimatrix_recall and unimatrix_store_memory, which is useful workflow guidance. However, it never states when a session is unnecessary (e.g., one-off lookups), nor does it point to unimatrix_session_status or unimatrix_end_session as companions, leaving the lifecycle to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources