Skip to main content
Glama

session_brief

Read-only

Generate a handoff brief from a past agent session to continue work in a fresh session or pick up another agent's progress, including goals, approvals, open tasks, edits, commits, and evidence IDs.

Instructions

Handoff brief of one past agent session (default: the latest session of a project), built from its raw records without summarising: goal, latest requests, what the user approved, open tasks, files edited, commits, last report, each with an episode_id. Use it to continue work in a fresh session instead of a very long one, or to pick up what another agent did.

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

Input Schema

NameRequiredDescriptionDefault
hostNo
projectNosubstring of the project folder or Cowork label
sessionNosession id (with or without host prefix)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, closed-world operation. The description adds meaningful behavioral detail beyond that: the brief is built from raw records without summarising, defaults to the latest session of a project, and attaches an episode_id to each item. It does not cover limits, error cases, or whether very large sessions are truncated.

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 front-loaded with the core purpose and then adds the useful return contents and usage contexts. Despite listing several sections, every clause contributes to understanding what the tool returns or when to use it.

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?

Because there is no output schema, the description appropriately explains what the brief contains and how it is assembled. It still leaves some ambiguity about parameter precedence and edge cases, but it is sufficiently complete for an agent to understand the tool's role.

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?

The description clarifies the default behavior when no session is specified: use the latest session of a project. However, with only 67% schema description coverage and an undocumented host enum, it does not fully explain how host, project, and session interact or what happens when only some are supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and purpose: a handoff brief of one past agent session, built from raw records and containing named sections such as goal, requests, approvals, tasks, files, commits, and reports. It is much clearer than the tool name alone, but it does not explicitly distinguish itself from the sibling search_sessions tool, which likely also deals with past sessions.

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?

It gives clear use contexts: continuing work in a fresh session instead of an overly long one, or picking up what another agent did. It does not state when not to use it or name an alternative tool for finding sessions, so the guidance is strong but not fully exclusive.

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