Skip to main content
Glama

save_handoff

Saves current session state for later restoration, capturing task context, relevant files, decisions, and prioritized next steps in a concise handoff.

Instructions

Save current session state for later restoration. Captures task context, file references, decisions, and next steps in a compressed format.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>",
      "task_objective": "<task_objective>",
      "task_status": "<task_status>",
      "progress_summary": "<progress_summary>",
      "files": "<files>",
      "next_steps": "<next_steps>"
    },
    "name": "save_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesRelevant files and their context
decisionsNoKey decisions made during this session
next_stepsYesWhat needs to be done next
session_idYesUnique identifier for this handoff (e.g., 'auth-bug-fix', 'payment-feature')
task_statusYesCurrent status of the task
task_objectiveYesWhat you're trying to accomplish
progress_summaryYesSummary of what's been completed so far

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It adds useful context beyond the name ('compressed format', the categories of data captured), but omits key save semantics: whether saving with an existing session_id overwrites, whether it is idempotent, where state is stored, and whether any permissions are needed.

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?

Two sentences, purpose front-loaded, zero filler. The second sentence efficiently enumerates captured content, though it slightly duplicates what the schema already names.

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 no output schema and full schema-level parameter documentation, the description covers the essentials an agent needs to call this correctly. The main missing piece is overwrite/conflict behavior for an existing session_id, which matters for a save operation.

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 description coverage is 100% and each of the 7 parameters, including the session_id example and task_status enum, is documented in the schema. The description's list of captured content ('task context, file references, decisions, next steps') loosely maps to the parameters but adds no new semantics beyond them.

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?

States a specific verb ('Save') and resource ('current session state') plus the intended follow-on ('for later restoration'), and enumerates what gets captured. It does not name load_handoff or list_handoffs, but the restoration framing makes the sibling relationship inferable.

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?

Usage is only implied: 'for later restoration' suggests this is the write half of a handoff pair, but there is no explicit guidance on when to save versus not, how it relates to list_handoffs/load_handoff, or whether repeated saves are expected.

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

Deploy Server

Other Tools