Skip to main content
Glama

generate_handoff_brief_tool

Capture session context—tokens used, active projects, open tasks, recent runs, and journal entries—into a portable handoff brief for continuity when ending a session or switching devices.

Instructions

Generate a portable session handoff brief.

Captures: tokens used today, active projects, open tasks, recent agent
runs, and the most recent journal entry. Writes to
`metis/journal/YYYY-MM-DD_session_handoff_auto.md` and returns the brief.

Use this when a session is approaching its end, before `/clear`, or when
switching to another AI / device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that it reads session state and writes a file, and lists what is captured. It does not mention any side effects beyond writing, but for a handoff brief tool this is sufficient.

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 two short, front-loaded paragraphs with no extraneous information. Every sentence adds value.

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 complexity (1 optional param, has output schema), the description covers the captured data, file path, and usage context. The parameter is underdocumented, but otherwise complete.

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

Parameters2/5

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

The only parameter 'session_id' has no schema description and the tool description does not explain its purpose or expected values. With 0% schema description coverage, the agent lacks guidance on whether and how to use this parameter.

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 generates a portable session handoff brief and lists what it captures (tokens, projects, tasks, agent runs, journal entry) and where it writes. It is distinct from sibling tools like add_journal_entry or get_journal.

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?

Explicit usage guidance is provided: 'Use this when a session is approaching its end, before /clear, or when switching to another AI / device.' This clearly differentiates when to use this tool over alternatives.

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/SVerITG/Metis'

If you have feedback or need assistance with the MCP directory API, please join our Discord server