Skip to main content
Glama
memstate-ai

Memstate AI - Agent Memory System

Official

memstate_history

View version history for stored data to debug past states, audit changes, or recover previous values in the Memstate AI memory system.

Instructions

View version history for a keypath or memory chain. Use when you need to see how a value changed over time.

USE THIS WHEN: Debugging past state, auditing changes, or recovering a previous value. NOT FOR: Reading current content (use memstate_get) or saving (use memstate_remember or memstate_set).

memstate_history(project_id="myapp", keypath="config.database.port") memstate_history(memory_id="mem_abc123")

Returns all versions with timestamps; latest is marked is_latest=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoRequired with keypath
keypathNoGet history for this keypath
memory_idNoOr get history for a specific memory chain by ID

Implementation Reference

  • The tool 'memstate_history' is dynamically proxied by this handler, which forwards the request to the remote Memstate MCP server.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      return await remote.callTool({
        name: request.params.name,
        arguments: request.params.arguments,
      });
    });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/memstate-ai/memstate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server