Skip to main content
Glama

Stash — Shared AI Memory

Show memory versions

history
Read-onlyIdempotent

List the versions of a memory entry, newest first, including a removed entry. Use this to see how a memory changed or before undoing an edit. Past versions are kept for review: they may be wrong or outdated, so never treat them as current facts.

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": {
      "entry_uuid": "<entry_uuid>"
    },
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of past versions to return. Default 20, max 50.
entry_uuidYesUUID of the memory entry.

Output Schema

NameRequiredDescriptionDefault
removedNo
versionsYes
deleted_byNo
entry_uuidYes
imported_atNo
next_actionsNo
source_emailNo
namespace_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered. The description adds real information beyond them: newest-first ordering, inclusion of removed entries, retention of past versions for review, and a caution that versions may be wrong or outdated. It does not discuss pagination or volume limits, which keeps it below a 5.

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?

Three short sentences, front-loaded with the action and ordering, then the usage trigger, then the staleness caveat. No redundant restatement of the title or schema.

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?

An output schema exists, so return shape need not be described, and annotations cover the read-only safety profile. The description covers ordering, retention and the staleness caveat, which is enough for a two-parameter read tool; only pagination behavior for the limit parameter is left unstated.

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%, so entry_uuid and limit (default 20, max 50) are fully documented in the schema. The description adds only the indirect hint that an entry_uuid can resolve to a removed entry; it says nothing about what limit means for the result set. Baseline 3 applies when the schema does the heavy lifting.

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 ("List the versions of a memory entry") plus ordering ("newest first") and an edge case ("including a removed entry"). That clearly separates it from get, update, and restore without the agent needing to open another schema.

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?

Gives concrete when-to-use triggers: "to see how a memory changed or before undoing an edit," which also implicitly points at restore as the follow-up action. It stops short of explicitly naming an alternative (e.g. use get for the current version), so it is strong but not exhaustive.

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