Skip to main content
Glama

session_handoff

Save session state including accomplishments, in-progress tasks, and next steps to resume work in the next session.

Instructions

CALL THIS LAST before your session ends — saves state for your next session.

Stores what you did, what's in progress, and what to do next. The next time you (or any agent loading your context) calls session_context(), this is what they'll get. Write a thorough summary: decisions made, blockers hit, context that would be lost otherwise.

Args: summary: What you accomplished this session. Be specific — this is your only record. next_steps: What to do in the next session, in order of priority. in_progress: Task IDs that are currently claimed and not yet completed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
summaryYesWhat you accomplished this session. Be specific — this is your only record.
next_stepsNoWhat to do in the next session, in order of priority.
in_progressNoTask IDs that are currently claimed and not yet completed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It explains state persistence, cross-agent accessibility, and importance of thorough summaries. Does not mention error conditions or overwrites, but sufficient for a state-saving tool.

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?

Front-loaded with critical instruction ('CALL THIS LAST'). Each sentence is purposeful, though some redundancy in parameter descriptions could be trimmed. Generally concise.

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?

With output schema present, return values are covered. Description covers purpose, usage, parameters thoroughly. Could mention consequences of not calling, but overall complete for a handoff tool.

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

Parameters4/5

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

Schema coverage is 100%, but description adds meaningful guidance: 'Be specific — this is your only record' for summary, and ordering hint for next_steps. Adds value beyond schema.

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?

Description clearly states the tool saves session state for the next session, with a specific verb ('CALL THIS LAST') and resource distinction. Sibling session_context is mentioned as the retrieval counterpart, so it's well-differentiated.

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?

Explicitly says to call it last before session ends and references session_context for retrieval. Does not list when not to use, but context makes it clear it's for end-of-session handoff.

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/NicolasPrimeau/artel'

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