Skip to main content
Glama

save_token_resume

Resume previous AI agent sessions with progressive detail: omit the handoff ID for a compact list, or pass 'latest' or a specific ID to load summaries, memory keys, and indexed sources.

Instructions

3-layer progressive disclosure resume from previous sessions: omit handoffId for a compact list; pass 'latest' or <id> for summary, memoryKeys, and indexedSources.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_token_resume"
  }
}

Input Schema

NameRequiredDescriptionDefault
handoffIdNoOmit for compact list; pass 'latest' or exact handoffId to load details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses the layered return content (summary, memoryKeys, indexedSources) and that omitting the id yields a lighter response, but it never states that this is a read-only operation, whether resuming has side effects, or any auth prerequisites — meaningful gaps for a session-resume tool.

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?

One sentence, front-loaded with the tool's core concept and then enumerating the three modes in increasing detail. Every clause carries information; nothing is padding.

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?

There is no output schema, so the description must convey return values, and it does so only partially — naming summary, memoryKeys, and indexedSources for detail mode but saying nothing about what the compact list contains or what the summary entails. Adequate for a single optional parameter, but not complete.

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 coverage is 100% and the single parameter is already documented as 'Omit for compact list; pass \'latest\' or exact handoffId to load details.' The description largely restates that, adding only the names of fields returned in detail mode, which is useful but not substantial schema-independent meaning. Baseline 3 applies.

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 description names a specific action and resource: resuming from previous sessions, with a '3-layer progressive disclosure' model. The three modes (compact list, summary, detail) make the tool's behavior distinguishable from a plain handoff or exec tool, though no sibling is named explicitly for contrast.

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 clearly which invocation selects which mode: omit handoffId for a compact list, pass 'latest' or an exact id for the richer view. What's missing is when to prefer this over save_token_handoff or save_token_search, but the mode-selection guidance is unambiguous.

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