Skip to main content
Glama
Nexus Memory MCP

Nexus Memory MCP

by ysunyang4

nexus_session_handoff

Package current task context into a compact handoff bundle with a short 8-character handle to preserve cross-session and cross-model continuity.

Instructions

Package current task context into a compact handoff bundle with an 8-char handle (nx-xxxxxxxx) for cross-session and cross-model continuity (<800 tokens).

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": {
      "title": "<title>",
      "summary": "<summary>"
    },
    "name": "nexus_session_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesDescriptive title of the milestone or session phase
summaryYesStructured summary of completed work, current state, and key takeaways
ttlHoursNoHours until this handoff handle expires (1-168, default: 24)
rawContextNoOptional compact error snippets or code references (up to 5000 chars)
activeFilesNoKey files modified or required for the next phase
keyDecisionsNoCrucial design, architectural, or technical decisions made
pendingTasksNoNext actionable steps for the next AI/session

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two valuable traits: the handle format (nx-xxxxxxxx) and a size budget (<800 tokens). However, it omits critical behavior for a persistence tool: whether the bundle is stored server-side, what happens to the handle after the ttlHours window elapses, and whether the bundle contents are returned in the response alongside the handle.

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?

It is a single tight sentence with zero filler, and the key constraints (handle format, token budget) are front-loaded. The only minor ambiguity is that '<800 tokens' could refer to the bundle, the input, or the response, which a few more words would have resolved.

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 seven-parameter tool with no annotations and no output schema, the description would ideally clarify the return shape and persistence semantics. It covers the output handle and size cap, but leaves the retrieval path and storage model unexplained, so an agent must infer how the handle is later consumed.

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%, with all seven parameters documented, including ttlHours bounds (1-168, default 24) and the 5000-char cap on rawContext, so the schema does the heavy lifting and the baseline of 3 applies. The description adds no parameter-level meaning beyond what the schema already states, such as how title and summary interact or how the token budget constrains the content the caller should supply.

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 uses a specific verb-and-resource pairing: 'Package current task context into a compact handoff bundle', and it names the artifact produced (an 8-char nx-xxxxxxxx handle). An agent can tell this is a context-snapshot/export tool, but the description never names the obvious counterpart, nexus_session_resume, so the distinction from siblings is left implicit.

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?

The phrase 'for cross-session and cross-model continuity' implies the trigger (end of a session or milestone, before switching models), and 'current task context' scopes it, but there is no explicit when-to-use/when-not statement. The complementary tool nexus_session_resume, which presumably consumes this handle, is never referenced, so the caller must infer the handoff workflow on its own.

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