Skip to main content
Glama

generate_handoff_brief

Creates a portable handoff brief capturing today's tokens, active projects, open tasks, recent agent runs, and latest journal entry. Use it before ending a session or switching to another AI.

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?

With no annotations provided, the description bears full responsibility. It discloses that the tool writes a file to a specific path and returns the brief, and lists captured data. This is transparent for a write operation, though it does not specify if the file is overwritten or appended.

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 extremely concise: two sentences that front-load the purpose and captured content, followed by usage guidance. Every sentence adds value without redundancy.

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?

The description covers purpose, captured data, file output, and usage context. It does not explain the optional session_id parameter, but the existence of an output schema (not shown) may cover return structure. Overall, it is adequate for a simple tool with one optional param.

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 input schema has 0% description coverage and one optional parameter (session_id). The description does not mention this parameter or clarify its purpose (e.g., specifying a particular session vs. current). The parameter name is self-explanatory but lacks elaboration, which is insufficient given the low schema coverage.

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 explicitly states the tool generates a 'portable session handoff brief' and lists specific content captured (tokens, projects, tasks, agent runs, journal entry). This distinguishes it from sibling tools like save_session_summary or generate_daily_insight by focusing on session handoff continuity.

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?

The description clearly states when to use the tool: 'when a session is approaching its end, before /clear, or when switching to another AI / device.' This provides explicit context, though it does not mention alternatives or situations to avoid.

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