Skip to main content
Glama

resume_session

Read-only

List saved work sessions or pick one to resume with its command and machine, open and closed points, linked changes, and connected saves in one call.

Instructions

List or pick up the user's saved work sessions (docs with a 'How to resume' section). Without arguments: the recent pieces of work, one line each (its latest save); call it so whenever the user wants to see, list or choose among their saves. With path, or a topic (the best match; other matches listed, newer saves first and flagged newer: the work may have moved on), it returns the resumption in one call: the resume command and machine, the open points with how long each has been carried and the docs they cite that changed since, the points closed meanwhile, what changed in the mind since (the linked docs first, with diff excerpts; commits by humans and by AI; contradictions), and the saves it links to (chain). A path or topic that matches no save gets an error saying so. For a topic's notes rather than its saves, use search_docs or brief.

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": "resume_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoThe save, e.g. ai-sessions/refonte-auth.md.
topicNoWords to find the save by, when you don't know its path.

Output Schema

NameRequiredDescriptionDefault
hintNo
saveNo
chainNo
savesNo
sinceNo
open_pointsNo
closed_pointsNo
other_matchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare this a read-only, non-open-world operation, and the description adds substantial behavior beyond them: what each mode returns, that topic matching returns the best hit while listing other matches newest-first and flagging them 'newer', that a linked-save 'chain' is included, and that a non-matching path or topic produces an error saying so. That error-path disclosure is exactly the kind of context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is relevant, but it is delivered as one sprawling sentence laced with nested parentheses and semicolons, making it hard to parse on first read. The no-argument behavior is front-loaded well, but the second half buries key facts about matching and error handling in dense clauses.

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?

For a two-mode tool with optional parameters, the definition covers both modes, matching behavior, error behavior, and even return contents. Since an output schema exists, the extensive enumeration of return fields is somewhat redundant, but nothing an agent needs in order to call it correctly is missing.

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%, so the baseline is 3, but the description adds real meaning: it explains that `topic` resolves to a best match with other matches listed and flagged, and that either parameter triggers the full resumption payload. This goes beyond the schema's terse 'words to find the save by' phrasing.

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 states a specific verb and resource (list or resume the user's saved work sessions) and clearly separates its two modes: no-argument listing versus path/topic resumption. It also distinguishes itself from siblings by naming search_docs and brief as the route for a topic's notes rather than its saves.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger ('call it so whenever the user wants to see, list or choose among their saves') and an explicit exclusion with the alternative tools ('For a topic's notes rather than its saves, use search_docs or brief'). Both the when-to-use and when-not-to-use cases are stated rather than inferred.

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