Skip to main content
Glama

load_model_handoff

Restore saved context so a new model can continue work, and enforce a byte budget to avoid silent memory trimming or stale checkpoint failures.

Instructions

Load saved context before the new model continues. Never silently trims memory.

Choose a byte budget fitting the host's output/context limits. A stale checkpoint or insufficient budget returns failed; recover context before continuing work. This restores supplied memory, not a model's private reasoning or unsaved history.

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": {
      "handoff_id": "<handoff_id>",
      "target_model": "<target_model>"
    },
    "name": "load_model_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_bytesNo
handoff_idYes
project_rootNo
target_modelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description still discloses meaningful traits beyond the schema: memory is never silently trimmed, a stale checkpoint or undersized budget returns a 'failed' outcome rather than partial data, and the restore scope excludes unsaved history and private reasoning. It does not say whether loading is read-only or consumes/invalidates the checkpoint, which is a notable remaining gap for a restore operation.

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?

Purpose and the key non-truncation guarantee are front-loaded in the first two sentences, and each subsequent sentence adds a distinct operational fact (budget choice, failure conditions, restore scope). Slightly fragmented by the line breaks and the trailing scope sentence could be folded in, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter tool with zero annotation coverage and no output schema, the description covers purpose, failure behavior, and restore scope reasonably well. However, it says nothing about the shape of the successfully loaded context (what the new model actually receives) or the role of target_model and project_root, which an agent needs in order to call it correctly.

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 0%, so the description must carry the burden. It adds real meaning for max_bytes (must fit host output/context limits; too small yields 'failed') and implicitly for handoff_id (staleness causes failure), but target_model and project_root are never explained in the description or schema, leaving half the parameters opaque. Partial compensation, not full.

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 first sentence gives a concrete verb and resource ('Load saved context') and states the timing ('before the new model continues'), which is enough to tell it apart from save_model_handoff and generic context loaders. The closing clause ('not a model's private reasoning or unsaved history') further narrows what is restored, though it does not name a specific sibling alternative.

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 states the usage moment clearly ('before the new model continues') and gives a concrete operating instruction for the budget ('Choose a byte budget fitting the host's output/context limits'). It also warns of the conditions that will fail (stale checkpoint, insufficient budget). It stops short of explicit exclusions versus other load_* siblings, but the when-to-use context is clear.

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