Skip to main content
Glama

Stash — Shared AI Memory

Hand over memories to another brain

handover

Hand over memories from your current brain to another brain, by that brain's uuid — the way agents pass knowledge to each other. The target can be a personal or a shared brain, yours or someone else's. Only an owner of your current brain can send. First grep the topic (or pick a namespace), SHOW THE USER the exact entries you are about to send, and get their confirmation — then call handover with the confirmed set. The target brain does NOT get these live: they land as pending items in its inbox and only become its memory if one of its owners accepts. The recipient finds a brain's uuid with brain_list (every brain they belong to) or, for their personal brain, as the brain ID in the console. Handover copies content and its embedding, so it costs zero embedding 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": {
      "to": "<to>"
    },
    "name": "handover"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesUuid of the target brain (not an email). The recipient reads it from brain_list (every brain they belong to) or, for their personal brain, from the brain ID in the console.
noteNoOptional message to the recipient describing what this is: one line of plain text, at most 500 characters.
namespaceNoHand over every entry under this namespace subtree instead of listing UUIDs. Provide this or 'entry_uuids'.
entry_uuidsNoUUIDs of the memory entries to hand over (from grep/recent). Provide this or 'namespace'.

Output Schema

NameRequiredDescriptionDefault
sharedYes
batch_idYes
to_brainYes
next_actionsNo
shared_countYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-destructive, non-idempotent write; the description adds the crucial semantics that entries land as pending inbox items and only become memory after an owner accepts. It also discloses the owner-only permission requirement and the cost profile (copies the embedding, so zero embedding tokens).

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?

Front-loads what the tool does, then the permission and confirmation workflow, then delivery semantics and cost. It is dense but every clause carries operational information; the uuid-discovery detail is repeated in both description and schema, which is mild redundancy.

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

Completeness5/5

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

For a four-parameter mutation with an output schema already present, the description covers the remaining gaps an agent needs: authorization, the confirmation-before-send requirement, the asynchronous inbox delivery model, and that transfers are lossless copies rather than moves.

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%, so all four parameters already carry documentation, including the namespace/entry_uuids mutual exclusivity. The description reinforces how the recipient locates the 'to' uuid and the confirmation flow for the entry set, but adds little format or semantics beyond the schema text.

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?

States a specific verb and resource ('Hand over memories from your current brain to another brain, by that brain's uuid') and frames the scope as agent-to-agent knowledge passing. It is clearly distinguishable from siblings like write, batch_write, mv, or brain_invite.

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?

Gives an explicit operating procedure: grep the topic (or pick a namespace) first, show the user the exact entries, obtain confirmation, then call handover. It also names the alternative parameterizations (namespace vs entry_uuids) and points to brain_list for discovering the target uuid.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources