Skip to main content
Glama

Memento MCP: un sistema de memoria de gráficos de conocimiento para LLM

Logotipo de Memento MCP

Sistema de memoria de grafos de conocimiento escalable y de alto rendimiento con recuperación semántica, recuerdo contextual y reconocimiento temporal. Proporciona a cualquier cliente LLM compatible con el protocolo de contexto de modelo (p. ej., Claude Desktop, Cursor, Github Copilot) una memoria ontológica a largo plazo resiliente, adaptativa y persistente.

Pruebas Memento MCP insignia de herrería

Conceptos básicos

Entidades

Las entidades son los nodos principales del grafo de conocimiento. Cada entidad tiene:

  • Un nombre único (identificador)

  • Un tipo de entidad (por ejemplo, "persona", "organización", "evento")

  • Una lista de observaciones

  • Incrustaciones vectoriales (para búsqueda semántica)

  • Historial completo de versiones

Ejemplo:

{
  "name": "John_Smith",
  "entityType": "person",
  "observations": ["Speaks fluent Spanish"]
}

Relaciones

Las relaciones definen conexiones dirigidas entre entidades con propiedades mejoradas:

  • Indicadores de fuerza (0,0-1,0)

  • Niveles de confianza (0,0-1,0)

  • Metadatos enriquecidos (fuente, marcas de tiempo, etiquetas)

  • Conciencia temporal con historial de versiones

  • Decadencia de la confianza basada en el tiempo

Ejemplo:

{
  "from": "John_Smith",
  "to": "Anthropic",
  "relationType": "works_at",
  "strength": 0.9,
  "confidence": 0.95,
  "metadata": {
    "source": "linkedin_profile",
    "last_verified": "2025-03-21"
  }
}

Related MCP server: Graph Memory MCP

Backend de almacenamiento

Memento MCP utiliza Neo4j como su backend de almacenamiento, proporcionando una solución unificada tanto para el almacenamiento de gráficos como para las capacidades de búsqueda de vectores.

¿Por qué Neo4j?

  • Almacenamiento unificado : consolida el almacenamiento de gráficos y vectores en una única base de datos

  • Operaciones gráficas nativas : diseñadas específicamente para recorridos y consultas de gráficos

  • Búsqueda de vectores integrada : búsqueda de similitud de vectores para incrustaciones integradas directamente en Neo4j

  • Escalabilidad : mejor rendimiento con grandes gráficos de conocimiento

  • Arquitectura simplificada : diseño limpio con una única base de datos para todas las operaciones

Prerrequisitos

  • Neo4j 5.13+ (necesario para las capacidades de búsqueda vectorial)

Configuración de escritorio de Neo4j (recomendada)

La forma más fácil de comenzar a utilizar Neo4j es utilizar Neo4j Desktop :

  1. Descargue e instale Neo4j Desktop desde https://neo4j.com/download/

  2. Crear un nuevo proyecto

  3. Agregar una nueva base de datos

  4. Establezca la contraseña en memento_password (o su contraseña preferida)

  5. Iniciar la base de datos

La base de datos Neo4j estará disponible en:

  • URI de Bolt : bolt://127.0.0.1:7687 (para conexiones de controlador)

  • HTTP : http://127.0.0.1:7474 (para la interfaz de usuario del navegador Neo4j)

  • Credenciales predeterminadas : nombre de usuario: neo4j , contraseña: memento_password (o la que haya configurado)

Configuración de Neo4j con Docker (alternativa)

Alternativamente, puedes usar Docker Compose para ejecutar Neo4j:

# Start Neo4j container
docker-compose up -d neo4j

# Stop Neo4j container
docker-compose stop neo4j

# Remove Neo4j container (preserves data)
docker-compose rm neo4j

Al utilizar Docker, la base de datos Neo4j estará disponible en:

  • URI de Bolt : bolt://127.0.0.1:7687 (para conexiones de controlador)

  • HTTP : http://127.0.0.1:7474 (para la interfaz de usuario del navegador Neo4j)

  • Credenciales predeterminadas : nombre de usuario: neo4j , contraseña: memento_password

Persistencia y gestión de datos

Los datos de Neo4j persisten después de reiniciar el contenedor e incluso de actualizar la versión debido a la configuración del volumen de Docker en el archivo docker-compose.yml :

volumes:
  - ./neo4j-data:/data
  - ./neo4j-logs:/logs
  - ./neo4j-import:/import

Estas asignaciones garantizan que:

  • El directorio /data (contiene todos los archivos de base de datos) persiste en su host en ./neo4j-data

  • El directorio /logs persiste en su host en ./neo4j-logs

  • El directorio /import (para importar archivos de datos) persiste en ./neo4j-import

Puede modificar estas rutas en su archivo docker-compose.yml para almacenar datos en diferentes ubicaciones si es necesario.

Actualización de la versión de Neo4j

Puedes cambiar ediciones y versiones de Neo4j sin perder datos:

  1. Actualice la versión de la imagen de Neo4j en docker-compose.yml

  2. Reinicie el contenedor con docker-compose down && docker-compose up -d neo4j

  3. Reinicialice el esquema con npm run neo4j:init

Los datos persistirán durante este proceso mientras las asignaciones de volumen sigan siendo las mismas.

Restablecimiento completo de la base de datos

Si necesita restablecer completamente su base de datos Neo4j:

# Stop the container
docker-compose stop neo4j

# Remove the container
docker-compose rm -f neo4j

# Delete the data directory contents
rm -rf ./neo4j-data/*

# Restart the container
docker-compose up -d neo4j

# Reinitialize the schema
npm run neo4j:init
Copia de seguridad de datos

Para hacer una copia de seguridad de sus datos de Neo4j, simplemente puede copiar el directorio de datos:

# Make a backup of the Neo4j data
cp -r ./neo4j-data ./neo4j-data-backup-$(date +%Y%m%d)

Utilidades CLI de Neo4j

Memento MCP incluye utilidades de línea de comandos para administrar operaciones de Neo4j:

Conexión de prueba

Pruebe la conexión a su base de datos Neo4j:

# Test with default settings
npm run neo4j:test

# Test with custom settings
npm run neo4j:test -- --uri bolt://127.0.0.1:7687 --username myuser --password mypass --database neo4j

Inicializando el esquema

Para un funcionamiento normal, la inicialización del esquema de Neo4j se realiza automáticamente cuando Memento MCP se conecta a la base de datos. No es necesario ejecutar ningún comando manual para su uso habitual.

Los siguientes comandos solo son necesarios para escenarios de desarrollo, pruebas o personalización avanzada:

# Initialize with default settings (only needed for development or troubleshooting)
npm run neo4j:init

# Initialize with custom vector dimensions
npm run neo4j:init -- --dimensions 768 --similarity euclidean

# Force recreation of all constraints and indexes
npm run neo4j:init -- --recreate

# Combine multiple options
npm run neo4j:init -- --vector-index custom_index --dimensions 384 --recreate

Funciones avanzadas

Búsqueda semántica

Encuentre entidades semánticamente relacionadas basándose en el significado en lugar de solo palabras clave:

  • Incrustaciones vectoriales : las entidades se codifican automáticamente en un espacio vectorial de alta dimensión utilizando los modelos de incrustación de OpenAI

  • Similitud de coseno : encuentre conceptos relacionados incluso cuando utilicen terminología diferente

  • Umbrales configurables : establezca puntuaciones mínimas de similitud para controlar la relevancia de los resultados

  • Búsqueda intermodal : consulta con texto para encontrar entidades relevantes independientemente de cómo se describieron

  • Compatibilidad con múltiples modelos : compatible con múltiples modelos de incrustación (OpenAI text-embedding-3-small/large)

  • Recuperación contextual : recupere información basándose en el significado semántico en lugar de coincidencias exactas de palabras clave

  • Valores predeterminados optimizados : parámetros ajustados para lograr un equilibrio entre precisión y recuperación (umbral de similitud de 0,6, búsqueda híbrida habilitada)

  • Búsqueda híbrida : combina búsqueda semántica y por palabras clave para obtener resultados más completos.

  • Búsqueda adaptativa : el sistema elige de forma inteligente entre búsqueda de solo vectores, solo palabras clave o híbrida según las características de la consulta y los datos disponibles.

  • Optimización del rendimiento : prioriza la búsqueda de vectores para la comprensión semántica mientras mantiene mecanismos de respaldo para la resiliencia.

  • Procesamiento consciente de consultas : ajusta la estrategia de búsqueda en función de la complejidad de la consulta y las incrustaciones de entidades disponibles

Conciencia temporal

Realice un seguimiento del historial completo de entidades y relaciones con la recuperación de gráficos de puntos en el tiempo:

  • Historial de versiones completo : cada cambio en una entidad o relación se conserva con marcas de tiempo

  • Consultas de punto en el tiempo : recupera el estado exacto del gráfico de conocimiento en cualquier momento del pasado

  • Seguimiento de cambios : registra automáticamente las marcas de tiempo createdAt, updatedAt, validFrom y validTo

  • Coherencia temporal : mantener una visión históricamente precisa de cómo evolucionó el conocimiento

  • Actualizaciones no destructivas : las actualizaciones crean nuevas versiones en lugar de sobrescribir los datos existentes

  • Filtrado basado en el tiempo : filtra elementos del gráfico según criterios temporales

  • Exploración de la historia : investigar cómo cambió información específica a lo largo del tiempo

Decadencia de la confianza

Las relaciones pierden confianza automáticamente con el tiempo según una vida media configurable:

  • Decadencia basada en el tiempo : la confianza en las relaciones disminuye naturalmente con el tiempo si no se refuerza.

  • Vida media configurable : define con qué rapidez la información se vuelve menos segura (valor predeterminado: 30 días)

  • Pisos de confianza mínimos : establezca umbrales para evitar el deterioro excesivo de información importante

  • Metadatos de desintegración : cada relación incluye información detallada del cálculo de desintegración

  • No destructivo : los valores de confianza originales se conservan junto con los valores decaídos

  • Aprendizaje por refuerzo : Las relaciones recuperan la confianza cuando se refuerzan con nuevas observaciones

  • Flexibilidad de tiempo de referencia : calcule la descomposición basándose en tiempos de referencia arbitrarios para el análisis histórico

Metadatos avanzados

Compatibilidad completa con metadatos tanto para entidades como para relaciones con campos personalizados:

  • Seguimiento de fuentes : registre dónde se originó la información (entrada del usuario, análisis, fuentes externas)

  • Niveles de confianza : Asigne puntuaciones de confianza (0,0-1,0) a las relaciones en función de la certeza.

  • Fuerza de la relación : Indica la importancia o fuerza de las relaciones (0,0-1,0)

  • Metadatos temporales : rastrea cuándo se agregó, modificó o verificó la información

  • Etiquetas personalizadas : agregue etiquetas arbitrarias para clasificación y filtrado

  • Datos estructurados : almacene datos estructurados complejos dentro de campos de metadatos

  • Soporte de consultas : búsqueda y filtrado según las propiedades de metadatos

  • Esquema extensible : agregue campos personalizados según sea necesario sin modificar el modelo de datos principal

Herramientas de API de MCP

Las siguientes herramientas están disponibles para los hosts de clientes LLM a través del Protocolo de contexto de modelo:

Gestión de entidades

  • crear_entidades

    • Crear múltiples entidades nuevas en el gráfico de conocimiento

    • Entrada: entities (matriz de objetos)

      • Cada objeto contiene:

        • name (cadena): identificador de entidad

        • entityType (cadena): clasificación de tipos

        • observations (string[]): Observaciones asociadas

  • añadir_observaciones

    • Agregar nuevas observaciones a entidades existentes

    • Entrada: observations (matriz de objetos)

      • Cada objeto contiene:

        • entityName (cadena): entidad de destino

        • contents (string[]): Nuevas observaciones para agregar

  • eliminar_entidades

    • Eliminar entidades y sus relaciones

    • Entrada: entityNames (cadena[])

  • eliminar_observaciones

    • Eliminar observaciones específicas de las entidades

    • Entrada: deletions (matriz de objetos)

      • Cada objeto contiene:

        • entityName (cadena): entidad de destino

        • observations (string[]): Observaciones para eliminar

Gestión de relaciones

  • crear_relaciones

    • Crear múltiples relaciones nuevas entre entidades con propiedades mejoradas

    • Entrada: relations (matriz de objetos)

      • Cada objeto contiene:

        • from (string): Nombre de la entidad de origen

        • to (cadena): nombre de la entidad de destino

        • relationType (cadena): tipo de relación

        • strength (número, opcional): Fuerza de la relación (0,0-1,0)

        • confidence (número, opcional): Nivel de confianza (0,0-1,0)

        • metadata (objeto, opcional): campos de metadatos personalizados

  • obtener_relación

    • Obtenga una relación específica con sus propiedades mejoradas

    • Aporte:

      • from (string): Nombre de la entidad de origen

      • to (cadena): nombre de la entidad de destino

      • relationType (cadena): tipo de relación

  • actualizar_relación

    • Actualizar una relación existente con propiedades mejoradas

    • Entrada: relation (objeto):

      • Contiene:

        • from (string): Nombre de la entidad de origen

        • to (cadena): nombre de la entidad de destino

        • relationType (cadena): tipo de relación

        • strength (número, opcional): Fuerza de la relación (0,0-1,0)

        • confidence (número, opcional): Nivel de confianza (0,0-1,0)

        • metadata (objeto, opcional): campos de metadatos personalizados

  • eliminar_relaciones

    • Eliminar relaciones específicas del gráfico

    • Entrada: relations (matriz de objetos)

      • Cada objeto contiene:

        • from (string): Nombre de la entidad de origen

        • to (cadena): nombre de la entidad de destino

        • relationType (cadena): tipo de relación

Operaciones gráficas

  • leer_gráfico

    • Lea el gráfico de conocimiento completo

    • No se requiere entrada

  • nodos de búsqueda

    • Búsqueda de nodos según la consulta

    • Entrada: query (cadena)

  • nodos abiertos

    • Recuperar nodos específicos por nombre

    • Entrada: names (cadena[])

Búsqueda semántica

  • búsqueda semántica

    • Búsqueda de entidades semánticamente utilizando incrustaciones vectoriales y similitud

    • Aporte:

      • query (cadena): La consulta de texto que se buscará semánticamente

      • limit (número, opcional): Máximo de resultados a devolver (predeterminado: 10)

      • min_similarity (número, opcional): umbral mínimo de similitud (0,0-1,0, predeterminado: 0,6)

      • entity_types (string[], opcional): Filtrar resultados por tipos de entidad

      • hybrid_search (booleano, opcional): combina búsqueda por palabras clave y semántica (valor predeterminado: verdadero)

      • semantic_weight (número, opcional): peso de los resultados semánticos en la búsqueda híbrida (0,0-1,0, valor predeterminado: 0,6)

    • Características:

      • Selecciona de forma inteligente el método de búsqueda óptimo (vector, palabra clave o híbrido) según el contexto de la consulta.

      • Maneja con elegancia las consultas sin coincidencias semánticas a través de mecanismos de respaldo

      • Mantiene un alto rendimiento con decisiones de optimización automáticas

  • obtener_entidad_incrustada

    • Obtener la incrustación vectorial para una entidad específica

    • Aporte:

      • entity_name (cadena): El nombre de la entidad para la que se obtendrá la incrustación

Características temporales

  • obtener_historial_de_entidades

    • Obtener el historial de versiones completo de una entidad

    • Entrada: entityName (cadena)

  • obtener_historial_de_relaciones

    • Obtener el historial de versiones completo de una relación

    • Aporte:

      • from (string): Nombre de la entidad de origen

      • to (cadena): nombre de la entidad de destino

      • relationType (cadena): tipo de relación

  • obtener_gráfico_en_tiempo

    • Obtener el estado del gráfico en una marca de tiempo específica

    • Entrada: timestamp (número): marca de tiempo de Unix (milisegundos desde la época)

  • obtener_gráfico_decaído

    • Obtener un gráfico con valores de confianza decaídos en el tiempo

    • Entrada: options (objeto, opcional):

      • reference_time (número): marca de tiempo de referencia para el cálculo de la decadencia (milisegundos desde la época)

      • decay_factor (número): anulación del factor de decaimiento opcional

Configuración

Variables de entorno

Configure Memento MCP con estas variables de entorno:

# Neo4j Connection Settings
NEO4J_URI=bolt://127.0.0.1:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=memento_password
NEO4J_DATABASE=neo4j

# Vector Search Configuration
NEO4J_VECTOR_INDEX=entity_embeddings
NEO4J_VECTOR_DIMENSIONS=1536
NEO4J_SIMILARITY_FUNCTION=cosine

# Embedding Service Configuration
MEMORY_STORAGE_TYPE=neo4j
OPENAI_API_KEY=your-openai-api-key
OPENAI_EMBEDDING_MODEL=text-embedding-3-small

# Debug Settings
DEBUG=true

Opciones de línea de comandos

Las herramientas CLI de Neo4j admiten las siguientes opciones:

--uri <uri>              Neo4j server URI (default: bolt://127.0.0.1:7687)
--username <username>    Neo4j username (default: neo4j)
--password <password>    Neo4j password (default: memento_password)
--database <n>           Neo4j database name (default: neo4j)
--vector-index <n>       Vector index name (default: entity_embeddings)
--dimensions <number>    Vector dimensions (default: 1536)
--similarity <function>  Similarity function (cosine|euclidean) (default: cosine)
--recreate               Force recreation of constraints and indexes
--no-debug               Disable detailed output (debug is ON by default)

Modelos de incrustación

Modelos de integración de OpenAI disponibles:

  • text-embedding-3-small : Eficiente y rentable (1536 dimensiones)

  • text-embedding-3-large : Mayor precisión, mayor coste (3072 dimensiones)

  • text-embedding-ada-002 : Modelo heredado (1536 dimensiones)

Configuración de la API de OpenAI

Para utilizar la búsqueda semántica, deberá configurar las credenciales de la API de OpenAI:

  1. Obtenga una clave API de OpenAI

  2. Configure su entorno con:

# OpenAI API Key for embeddings
OPENAI_API_KEY=your-openai-api-key
# Default embedding model
OPENAI_EMBEDDING_MODEL=text-embedding-3-small

Nota : En entornos de prueba, el sistema simulará la generación de incrustaciones si no se proporciona una clave API. Sin embargo, se recomienda usar incrustaciones reales para las pruebas de integración.

Integración con Claude Desktop

Configuración

Agregue esto a su claude_desktop_config.json :

{
  "mcpServers": {
    "memento": {
      "command": "npx",
      "args": ["-y", "@gannonh/memento-mcp"],
      "env": {
        "MEMORY_STORAGE_TYPE": "neo4j",
        "NEO4J_URI": "bolt://127.0.0.1:7687",
        "NEO4J_USERNAME": "neo4j",
        "NEO4J_PASSWORD": "memento_password",
        "NEO4J_DATABASE": "neo4j",
        "NEO4J_VECTOR_INDEX": "entity_embeddings",
        "NEO4J_VECTOR_DIMENSIONS": "1536",
        "NEO4J_SIMILARITY_FUNCTION": "cosine",
        "OPENAI_API_KEY": "your-openai-api-key",
        "OPENAI_EMBEDDING_MODEL": "text-embedding-3-small",
        "DEBUG": "true"
      }
    }
  }
}

Alternativamente, para el desarrollo local, puede utilizar:

{
  "mcpServers": {
    "memento": {
      "command": "/path/to/node",
      "args": ["/path/to/memento-mcp/dist/index.js"],
      "env": {
        "MEMORY_STORAGE_TYPE": "neo4j",
        "NEO4J_URI": "bolt://127.0.0.1:7687",
        "NEO4J_USERNAME": "neo4j",
        "NEO4J_PASSWORD": "memento_password",
        "NEO4J_DATABASE": "neo4j",
        "NEO4J_VECTOR_INDEX": "entity_embeddings",
        "NEO4J_VECTOR_DIMENSIONS": "1536",
        "NEO4J_SIMILARITY_FUNCTION": "cosine",
        "OPENAI_API_KEY": "your-openai-api-key",
        "OPENAI_EMBEDDING_MODEL": "text-embedding-3-small",
        "DEBUG": "true"
      }
    }
  }
}

Importante : Siempre especifique explícitamente el modelo de inserción en su configuración de Claude Desktop para garantizar un comportamiento consistente.

Indicaciones del sistema recomendadas

Para una integración óptima con Claude, agregue estas declaraciones al aviso de su sistema:

You have access to the Memento MCP knowledge graph memory system, which provides you with persistent memory capabilities.
Your memory tools are provided by Memento MCP, a sophisticated knowledge graph implementation.
When asked about past conversations or user information, always check the Memento MCP knowledge graph first.
You should use semantic_search to find relevant information in your memory when answering questions.

Prueba de búsqueda semántica

Una vez configurado, Claude puede acceder a las capacidades de búsqueda semántica a través del lenguaje natural:

  1. Para crear entidades con incrustaciones semánticas:

    User: "Remember that Python is a high-level programming language known for its readability and JavaScript is primarily used for web development."
  2. Para buscar semánticamente:

    User: "What programming languages do you know about that are good for web development?"
  3. Para recuperar información específica:

    User: "Tell me everything you know about Python."

El poder de este enfoque es que los usuarios pueden interactuar de forma natural, mientras que el LLM maneja la complejidad de seleccionar y utilizar las herramientas de memoria adecuadas.

Aplicaciones en el mundo real

Las capacidades de búsqueda adaptativa de Memento brindan beneficios prácticos:

  1. Versatilidad de consultas : los usuarios no necesitan preocuparse por cómo formular las preguntas: el sistema se adapta automáticamente a diferentes tipos de consultas.

  2. Resiliencia ante fallos : incluso cuando no hay coincidencias semánticas disponibles, el sistema puede recurrir a métodos alternativos sin intervención del usuario.

  3. Eficiencia de rendimiento : al seleccionar de forma inteligente el método de búsqueda óptimo, el sistema equilibra el rendimiento y la relevancia para cada consulta.

  4. Recuperación de contexto mejorada : las conversaciones LLM se benefician de una mejor recuperación de contexto, ya que el sistema puede encontrar información relevante en gráficos de conocimiento complejos.

Por ejemplo, cuando un usuario pregunta "¿Qué sabes sobre aprendizaje automático?", el sistema puede recuperar entidades conceptualmente relacionadas, incluso si no mencionan explícitamente el "aprendizaje automático", como por ejemplo entidades sobre redes neuronales, ciencia de datos o algoritmos específicos. Sin embargo, si la búsqueda semántica no arroja suficientes resultados, el sistema ajusta automáticamente su enfoque para garantizar que se devuelva información útil.

Solución de problemas

Diagnóstico de búsqueda vectorial

Memento MCP incluye capacidades de diagnóstico integradas para ayudar a solucionar problemas de búsqueda de vectores:

  • Verificación de incrustación : el sistema verifica si las entidades tienen incrustaciones válidas y las genera automáticamente si faltan.

  • Estado del índice del vector : verifica que el índice del vector exista y esté en estado EN LÍNEA

  • Búsqueda de respaldo : si la búsqueda vectorial falla, el sistema recurre a la búsqueda basada en texto.

  • Registro detallado : registro completo de operaciones de búsqueda de vectores para la resolución de problemas

Herramientas de depuración (cuando DEBUG=verdadero)

Cuando se habilita el modo de depuración, aparecen herramientas de diagnóstico adicionales:

  • diagnosis_vector_search : información sobre el índice de vectores de Neo4j, los recuentos de incrustaciones y la funcionalidad de búsqueda

  • force_generate_embedding : Fuerza la generación de una incrustación para una entidad específica

  • debug_embedding_config : información sobre la configuración actual del servicio de incrustación

Reinicio del desarrollador

Para restablecer completamente su base de datos Neo4j durante el desarrollo:

# Stop the container (if using Docker)
docker-compose stop neo4j

# Remove the container (if using Docker)
docker-compose rm -f neo4j

# Delete the data directory (if using Docker)
rm -rf ./neo4j-data/*

# For Neo4j Desktop, right-click your database and select "Drop database"

# Restart the database
# For Docker:
docker-compose up -d neo4j

# For Neo4j Desktop:
# Click the "Start" button for your database

# Reinitialize the schema
npm run neo4j:init

Construcción y desarrollo

# Clone the repository
git clone https://github.com/gannonh/memento-mcp.git
cd memento-mcp

# Install dependencies
npm install

# Build the project
npm run build

# Run tests
npm test

# Check test coverage
npm run test:coverage

Instalación

Instalación mediante herrería

Para instalar memento-mcp para Claude Desktop automáticamente a través de Smithery :

npx -y @smithery/cli install @gannonh/memento-mcp --client claude

Instalación global con npx

Puedes ejecutar Memento MCP directamente usando npx sin instalarlo globalmente:

npx -y @gannonh/memento-mcp

Este método se recomienda para utilizar con Claude Desktop y otros clientes compatibles con MCP.

Instalación local

Para desarrollar o contribuir al proyecto:

# Install locally
npm install @gannonh/memento-mcp

# Or clone the repository
git clone https://github.com/gannonh/memento-mcp.git
cd memento-mcp
npm install

Licencia

Instituto Tecnológico de Massachusetts (MIT)

Available Tools

17 tools
add_observationsB

Add new observations to existing entities in your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
observationsYes
strengthNoDefault strength value (0.0 to 1.0) for all observations
confidenceNoDefault confidence level (0.0 to 1.0) for all observations
metadataNoDefault metadata for all observations

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, but it only restates the core action. It does not disclose behavior around non-existent entities, overwriting, errors, or side effects, leaving significant gaps for a mutation tool.

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?

The description is a single, front-loaded sentence with no filler or redundant content. It communicates the essential purpose efficiently.

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

Completeness2/5

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

Despite a moderately rich schema, the tool has no annotations or output schema, and the description is too terse. It omits behavioral context (e.g., what happens if an entity doesn't exist, whether defaults apply) and return semantics, making it incomplete for a nested mutation tool.

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 75%, and the schema already documents parameters like entityName, contents, metadata, strength, and confidence. The description adds no extra parameter-level nuance, but the schema provides enough meaning to warrant a baseline 3.

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 uses a specific verb ('Add') and resource ('observations to existing entities'), clearly distinguishing it from sibling tools like create_entities or delete_observations. It also scopes the operation to existing entities, which is helpful.

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 'to existing entities' implies this is for attaching observations to already-created entities, but it does not explicitly mention alternatives or when not to use it. No exclusions or alternative tool names are given.

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

create_entitiesB

Create multiple new entities in your Memento MCP knowledge graph memory system

ParametersJSON Schema
NameRequiredDescriptionDefault
entitiesYes

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, and the description only states the action without disclosing behavior such as idempotency, validation, limits, or side effects. For a mutation tool, this is insufficient; an agent cannot anticipate what happens on failure or whether existing entities are affected.

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?

The description is one sentence, concise and front-loaded. It avoids unnecessary words. However, it is so brief that it omits essential information, making it too minimal for a complex tool.

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

Completeness2/5

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

The tool has a nested entity array with many optional fields, but the description offers no guidance on the input structure or return behavior. There is no output schema, so the description carries full responsibility for explaining the tool's behavior, which it fails to do.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description says nothing about the parameters; schema description coverage is 0%. While the schema itself contains detailed property descriptions, the tool description does not add any meaning beyond what is structured, failing to compensate for the low coverage.

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 clearly states the action (create), the resource (multiple new entities), and the context (Memento MCP knowledge graph). This distinguishes it from sibling tools like create_relations or add_observations which target different resources.

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 usage is implied: use this when you need to add new entities. However, it provides no explicit guidance on when to choose this over alternatives, nor any prerequisites or exclusions. For a create operation, the intent is straightforward, but the lack of any alternative comparison leaves room for ambiguity.

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

create_relationsB

Create multiple new relations between entities in your Memento MCP knowledge graph memory. Relations should be in active voice

ParametersJSON Schema
NameRequiredDescriptionDefault
relationsYes

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden for behavior disclosure. It only states that relations are created, but does not mention idempotency, overwrite semantics, validation of entity existence, transactional behavior, or what happens on partial failure. The mutation effect is implied but no further behavioral context is given.

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?

The description is two sentences with no redundancy. It front-loads the core action and purpose, then adds a concise stylistic guideline. Every word earns its place, making it highly efficient for an agent to parse quickly.

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

Completeness2/5

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

This is a complex tool with a nested array of 13 fields, no annotations, and no output schema, yet the description offers only a high-level purpose. It lacks crucial context such as whether entities must already exist, how failures are handled, whether the operation is atomic, and what the tool returns. The sparse description is inadequate for an agent to use the tool safely and effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the top-level parameter, yet the description does not explain the array structure of 'relations' or the required fields. It adds the active voice requirement for relationType, which is helpful, but this only partially compensates. The nested schema descriptions exist but are not referenced or clarified by the tool description.

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 clearly states the action (create multiple new relations) and the resource (between entities in the Memento MCP knowledge graph). It distinguishes from siblings like update_relation and delete_relations by focusing on creation, and the 'multiple' wording distinguishes it from any single-relation tool. The scope is unambiguous.

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 description implies use for batch-creating relations ("multiple new relations"), but provides no explicit when-to-use or when-not-to-use guidance. It does not mention alternatives or exclusions, though sibling tool names like update_relation suggest the contrast. The 'active voice' note is a formatting guideline, not a usage context.

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

delete_entitiesA

Delete multiple entities and their associated relations from your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
entityNamesYesAn array of entity names to delete

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does disclose a key side effect: associated relations are also deleted. However, it does not mention what happens to observations attached to the entities, whether deletion is permanent, or any other side effects. This is a partial disclosure.

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?

The description is a single sentence that is front-loaded with the action and scope. Every word contributes meaning, with no redundant or filler content.

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?

Given the tool's simple one-parameter interface, the description covers the core operation, but it leaves ambiguity about the fate of observations and whether deletion is reversible. With no output schema and no annotations, these omissions prevent a higher score.

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?

The input schema already fully describes entityNames as 'An array of entity names to delete' (100% schema coverage). The description adds no additional meaning for the parameter, so the baseline of 3 is appropriate.

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 uses a specific verb ('Delete') and identifies the resource ('multiple entities and their associated relations') within the Memento MCP knowledge graph. It clearly distinguishes this tool from siblings like delete_relations by noting the cascading deletion of associated relations.

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 description implies this tool should be used when both entities and their relations need to be deleted, versus using delete_relations separately. However, it does not explicitly state when to prefer this tool over alternatives, list exclusions, or mention prerequisites. The usage guidance is implied rather than explicit.

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

delete_observationsB

Delete specific observations from entities in your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
deletionsYes

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It only states the action and does not disclose irreversibility, required permissions, partial failure behavior, or return format. The description adds no behavioral insight beyond the basic operation.

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?

The description is a single, front-loaded sentence with no superfluous words. It efficiently communicates the core function without redundancy.

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

Completeness2/5

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

This is a destructive mutation tool with no annotations and no output schema. The description fails to mention side effects, irreversibility, prerequisites, or the exact parameter structure. The description is too minimal to fully support confident invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has one parameter 'deletions' with 0% top-level description coverage. The tool description hints at entities and observations, but it does not explain the array-of-objects structure or the required fields entityName and observations. The description provides minimal compensatory value for the schema gap.

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 clearly states the action ('Delete') and the target ('specific observations from entities'), making it distinct from sibling tools like delete_entities and delete_relations. It precisely identifies the resource and operation.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as add_observations or delete_entities. It lacks context about prerequisites, exclusions, or conditions where this tool is preferred.

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

delete_relationsB

Delete multiple relations from your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
relationsYesAn array of relations to delete

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the action without clarifying whether deletion is permanent, whether it is idempotent, or what response is returned. The word 'delete' implies mutation but lacks important safety and side-effect context.

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?

The description is a single concise sentence that front-loads the action and resource with no redundant or unnecessary information. Every word earns its place.

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

Completeness2/5

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

The description is minimal and lacks behavioral context for a destructive operation. It does not mention permanence, error handling, side effects, or return value expectations. With no output schema and no annotations, the description alone is insufficient for an agent to fully anticipate the operation's effects, especially given it is a delete action.

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?

The input schema fully describes the single 'relations' parameter, including the nested fields from, to, and relationType, achieving 100% schema description coverage. The description adds no additional semantic meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 clearly states the verb 'Delete' and the resource 'multiple relations' within the Memento knowledge graph, making the tool's function immediately obvious. It also distinguishes itself from sibling tools like delete_entities, which targets entities, and delete_observations, which targets observations.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It does not mention scenarios where this tool is preferred over delete_entities or when to avoid it, leaving the agent to infer usage context.

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

get_decayed_graphA

Get your Memento MCP knowledge graph memory with confidence values decayed based on time

ParametersJSON Schema
NameRequiredDescriptionDefault
reference_timeNoOptional reference timestamp (in milliseconds since epoch) for decay calculation
decay_factorNoOptional decay factor override (normally calculated from half-life)

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It clearly states the core behavior—returning the knowledge graph with confidence values decayed by time—and the use of 'Get' implies a read-only operation. However, it does not elaborate on return format, potential side effects, or edge cases, though none are strongly suggested.

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?

The description is a single, front-loaded sentence that conveys the essential purpose without any unnecessary words. Every phrase contributes to understanding the tool's function, making it highly concise and well-structured.

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?

Given the lack of output schema and annotations, the description adequately conveys the main behavior and the optional override parameters. It is sufficient for a simple retrieval tool, though it could mention the default half-life calculation or the graph's composition (e.g., entities and relations).

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 both decay_factor and reference_time already described in the schema. The description adds only the context that decay is time-based but does not provide additional meaning beyond the parameter descriptions themselves, so it meets the baseline.

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 uses a specific verb 'Get' with a clear resource 'Memento MCP knowledge graph memory' and specifies the unique aspect 'with confidence values decayed based on time'. This distinguishes it from sibling tools like get_graph_at_time, which focuses on temporal snapshots rather than confidence decay.

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 description implies usage when time-decayed confidence values are needed, but it does not explicitly state when to use this tool versus alternatives like read_graph or get_graph_at_time. No exclusions or alternative recommendations are provided, so guidance is only implicit.

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

get_entity_embeddingA

Get the vector embedding for a specific entity from your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
entity_nameYesThe name of the entity to get the embedding for

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states only that the tool 'gets' an embedding, implying a read operation, but does not disclose return format, error behavior, or any side effects. This is minimal beyond the basic action.

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?

The description is a single, concise sentence that front-loads the key action and resource. Every word contributes to clarity without redundancy.

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 simple one-parameter getter, the description provides adequate purpose but lacks completeness because no output schema exists, so return format is not described, and no usage guidelines or error behavior are mentioned. It is minimally viable but with clear gaps.

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?

The input schema fully describes the sole parameter (entity_name) at 100% coverage. The description adds no additional meaning beyond the schema, so baseline score of 3 applies.

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 uses a specific verb ('Get') and resource ('the vector embedding for a specific entity') clearly distinguishing it from siblings like read_graph or get_entity_history. It precisely defines what the tool does.

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 description implies usage (retrieve an embedding when needed) but does not explicitly mention when to use this tool over alternatives like semantic_search. No exclusions or alternatives are named, leaving usage guidance implied rather than explicit.

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

get_entity_historyA

Get the version history of an entity from your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
entityNameYesThe name of the entity to retrieve history for

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the action ('Get') without describing read-only nature, response format, pagination, or any limits. This is a minimal disclosure that does not inform the agent about what to expect beyond the basic operation.

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?

The description is a single, well-structured sentence with no wasted words. It is appropriately concise and front-loaded with the key verb and resource.

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 simple one-parameter tool, the description is minimally viable, but it lacks information about the return value (no output schema) and does not provide context on what 'version history' entails. Given the presence of siblings like get_relation_history, it could benefit from more contextual detail to guide the agent effectively.

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% (the only parameter entityName is fully described in the schema). The description adds no extra meaning beyond the schema, matching the baseline of 3 for full schema coverage.

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 clearly states the tool's purpose with a specific verb ('Get') and resource ('version history of an entity'), distinguishing it from sibling tools like get_relation_history which target relations. The context 'from your Memento MCP knowledge graph memory' further clarifies scope.

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 description implies usage for retrieving an entity's version history but provides no explicit guidance on when to use this tool versus alternatives like get_relation_history or get_graph_at_time. There is no mention of when not to use it or any exclusions.

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

get_graph_at_timeA

Get your Memento MCP knowledge graph memory as it existed at a specific point in time

ParametersJSON Schema
NameRequiredDescriptionDefault
timestampYesThe timestamp (in milliseconds since epoch) to query the graph at

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only rephrases the tool name without adding operational details such as return format, potential side effects, timestamp validation, or performance implications. For a read operation, it is safe to assume non-destructiveness, but the description does not explicitly confirm or elaborate on behavior.

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?

The description is a single, concise sentence with no redundant words. It earns its place by clearly stating the tool's purpose without waste.

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?

The tool is simple with one parameter, and the description covers its core function. However, there is no output schema, and the description does not explain what the response contains (e.g., full graph snapshot, node/relation lists). This leaves minor ambiguity but is still adequate for basic invocation.

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?

The input schema fully documents the timestamp parameter (100% coverage), so the description does not need to elaborate. It adds no parameter-specific semantics, but none are necessary given the schema's clarity.

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 uses a specific verb ('Get') and resource ('knowledge graph memory') with a clear temporal qualifier ('as it existed at a specific point in time'). This distinguishes it from sibling tools like read_graph (current state) and get_decayed_graph (decay-based retrieval).

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 description implies use for historical queries but does not explicitly contrast with alternatives such as read_graph or get_entity_history. The 'as it existed at a specific point in time' hints at the use case but leaves it to the agent to infer when to use this tool over siblings.

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

get_relationB

Get a specific relation with its enhanced properties from your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
fromYesThe name of the entity where the relation starts
toYesThe name of the entity where the relation ends
relationTypeYesThe type of the relation

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing behavioral traits. It only says 'get,' which implies a read-only operation, but it doesn't explicitly confirm safety, side effects, or prerequisites. The vague phrase 'enhanced properties' doesn't clarify behavior, leaving the agent to infer from the name alone.

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?

The description is a single, concise sentence that communicates the tool's purpose without unnecessary words. It is front-loaded with the key action and resource, and every word earns its place.

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

Completeness2/5

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

Since there is no output schema, the description should explain what is returned, especially the vague 'enhanced properties.' It doesn't specify the response format, what 'enhanced' means, or whether any filtering or sorting applies. This is a significant gap for an agent needing to understand the tool's output.

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?

The input schema already documents all three parameters (from, to, relationType) with descriptions, and schema_description_coverage is 100%. The description adds no meaning beyond 'specific relation,' so the baseline 3 applies.

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 clearly states the tool's function: retrieving a specific relation with enhanced properties from the Memento knowledge graph. It uses a specific verb ('get') and names the resource ('specific relation'), making it distinct from mutation or history tools like create_relations or get_relation_history, though it does not explicitly compare to alternatives.

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?

The description provides clear context: this tool is for retrieving a specific relation. It doesn't explicitly state when not to use it or mention alternatives, but the purpose is obvious enough for basic selection among the sibling tools.

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

get_relation_historyB

Get the version history of a relation from your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
fromYesThe name of the entity where the relation starts
toYesThe name of the entity where the relation ends
relationTypeYesThe type of the relation

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It only says 'Get the version history', which implies a read operation but offers no details about return format, side effects, required permissions, or limitations. This is a significant gap for a tool without annotation support.

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?

The description is a single concise sentence of 15 words, front-loaded with the action 'Get the version history'. It wastes no words and is easily scannable.

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?

The description captures the core purpose but omits details about the returned history structure or how it differs from entity history. With no output schema and no annotations, an agent may lack sufficient context to fully understand the tool's behavior, but the tool is a simple getter and the schema helps.

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?

The input schema covers all three parameters (from, to, relationType) with descriptions, achieving 100% coverage. The description adds no additional parameter meaning, so the baseline of 3 is appropriate.

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 clearly states 'Get the version history of a relation' with a specific verb and resource, and explicitly mentions 'history' to distinguish from the sibling tool get_relation which likely returns the current state. It also provides context that this is from the Memento MCP knowledge graph memory.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool instead of get_relation, get_entity_history, or other siblings. No alternatives or exclusions are mentioned. The description merely defines the action without contextual usage hints.

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

open_nodesB

Open specific nodes in your Memento MCP knowledge graph memory by their names

ParametersJSON Schema
NameRequiredDescriptionDefault
namesYesAn array of entity names to retrieve

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It implies a read-like operation ('open') but does not explicitly state that it is non-destructive, what happens if names are not found, or whether it returns full node structures. This is a significant gap for a tool with no annotation support.

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?

The description is a single, concise sentence that immediately conveys the action and target. It contains no fluff or redundant information, making it efficient and well-structured.

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?

Given the simple schema and no output schema, the description is minimally viable, but it lacks context about how this tool relates to siblings like read_graph or search_nodes. An agent may not know whether to use open_nodes for a full-graph read or for retrieving specific entities, leaving ambiguity in a larger tool ecosystem.

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?

The schema covers the only parameter 'names' fully with a description ('An array of entity names to retrieve'), and the tool description reiterates this by saying 'by their names.' With 100% schema coverage, the baseline is 3, and the description adds no additional meaning beyond what the schema already provides.

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 clearly states the tool's purpose: 'Open specific nodes' in the knowledge graph by name. The verb 'open' and resource 'nodes' are specific, and 'by their names' indicates a lookup operation. However, it does not explicitly distinguish from sibling tools like read_graph or search_nodes, so it misses full sibling differentiation.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any prerequisites, exclusions, or context such as 'use search_nodes when you don't know exact names.' This leaves the agent without clear direction on tool selection.

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

read_graphA

Read the entire Memento MCP knowledge graph memory system

ParametersJSON Schema
NameRequiredDescriptionDefault
random_stringNoDummy parameter for no-parameter tools

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are present, so the description carries the burden. 'Read' communicates a non-destructive operation and 'entire' indicates broad scope, but it does not disclose potential performance costs, response size, or exact return format, leaving some behavioral ambiguity.

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?

The description is a single, clear sentence that is front-loaded with the action and resource. Every word contributes to the meaning, with no redundancy or filler.

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 simple, no-required-parameter graph read operation, the description adequately states scope and intent. The lack of an output schema is acceptable given the straightforward 'read entire graph' semantics, though a note on return format would make it slightly more complete.

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?

The schema fully describes the lone dummy parameter with 100% coverage, and the description adds no parameter-specific information. A baseline of 3 is appropriate because the schema already handles parameter semantics.

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 uses the specific verb 'Read' and identifies the resource as the 'entire Memento MCP knowledge graph memory system', making the tool's scope explicit. It clearly distinguishes this from sibling tools like search_nodes and get_graph_at_time, which imply filtered or temporal subsets.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives. It does not mention that search_nodes or get_graph_at_time could be better for specific queries, nor does it state exclusions such as 'use only when you need the full graph'.

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

search_nodesB

Search for nodes in your Memento MCP knowledge graph memory based on a query

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesThe search query to match against entity names, types, and observation content

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not state whether the search is read-only, what it returns, or any limitations (e.g., pagination, scope). It only says 'search for nodes' without clarifying behavior beyond that obvious action, leaving the agent without safety or side-effect information.

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?

The description is a single, front-loaded sentence with no redundant words. It communicates the essential purpose efficiently, earning its place without any waste. This is an ideal level of conciseness for a simple tool.

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?

The tool has one parameter and no output schema, so complexity is low. However, the lack of annotations and absence of any usage guidance or behavioral context makes the description only minimally complete. It covers the basic purpose but omits important context like safety (read vs. write) and relationship to the sibling 'semantic_search' tool, leaving gaps for the agent.

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 the baseline is 3. The input schema already provides a clear description of the 'query' parameter ('match against entity names, types, and observation content'). The tool description adds no additional parameter semantics beyond what the schema already states, so it does not exceed the baseline.

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 clearly states the tool's function: 'Search for nodes in your Memento MCP knowledge graph memory based on a query.' It specifies a verb ('search'), a resource ('nodes'), and a mechanism ('based on a query'). However, it does not distinguish itself from the sibling tool 'semantic_search', which likely performs a similar function, so it misses the opportunity to differentiate.

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 description implies usage for query-based search of nodes, but it does not provide explicit guidance on when to use this tool versus alternatives like 'semantic_search' or 'open_nodes'. There are no stated exclusions or alternative tool references, so the guidance is only implied, not explicit.

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

update_relationB

Update an existing relation with enhanced properties in your Memento MCP knowledge graph memory

ParametersJSON Schema
NameRequiredDescriptionDefault
relationYes

TDQS

B3.2/5.0
Behavior2/5

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

There are no annotations to declare safety or mutation, so the description carries full responsibility. It does not disclose what happens if the relation doesn't exist, whether the update is partial or full replacement, how versioning is handled, or if there are any validation constraints. The vague 'enhanced properties' adds no concrete behavioral detail.

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?

The description is a single, grammatically correct sentence that is easy to parse. It is appropriately concise and front-loaded with the verb and object. It could be slightly more informative, but it contains no unnecessary words.

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

Completeness2/5

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

Given the complexity of the nested 'relation' object with numerous optional fields, the lack of output schema, and no annotations, this description is too minimal. It fails to clarify critical update semantics such as which fields are required for identification, whether the operation is a partial merge or full replacement, and the meaning of 'enhanced properties'. The description alone is insufficient for an agent to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides no parameter-level detail. 'Enhanced properties' gives a hint that the nested 'relation' object contains updates, but it does not explain which fields identify the relation versus which ones are updated. With low schema_description_coverage (0%), the description fails to compensate, despite the schema having well-documented fields.

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 clearly states the action ('Update') and the resource ('existing relation'), and specifies the context ('Memento MCP knowledge graph memory'). It distinguishes itself from sibling tools like create_relations and delete_relations by intentionally targeting existing relations, and the 'enhanced properties' hints at additional attribute updates.

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 word 'existing' implies the relation must already be present, suggesting this is not for creation, but there is no explicit when-to-use or when-not-to-use guidance. It does not mention alternatives like delete and recreate, nor any prerequisites for updating a relation.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 17 tool updates
    • First observedadd_observations
    • First observedcreate_entities
    • First observedcreate_relations
    • First observeddelete_entities
    • First observeddelete_observations
    • First observeddelete_relations
    • First observedget_decayed_graph
    • First observedget_entity_embedding
    • First observedget_entity_history
    • First observedget_graph_at_time
    • First observedget_relation
    • First observedget_relation_history
    • First observedopen_nodes
    • First observedread_graph
    • First observedsearch_nodes
    • First observedsemantic_search
    • First observedupdate_relation

TDQS

B3.4/5.0

Scored across 17 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: CRUD operations for entities, relations, and observations are separated, and specialized tools for history, embeddings, and time-specific queries do not overlap. No ambiguity between tool functions.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (e.g., create_entities, delete_observations, get_entity_history). The naming is uniform and predictable, aiding agent selection.

Tool Count4/5

With 17 tools, the count is slightly above the ideal 3-15 range but still well-scoped for a knowledge graph system. Each tool addresses a specific need, though a few could potentially be consolidated.

Completeness3/5

The tool surface covers most CRUD operations but lacks an update_entity tool and a dedicated get_entity (though open_nodes and read_graph partially fill this). Missing update for observations. These gaps may cause some workflow interruptions.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    F
    maintenance
    Provides AI agents with persistent memory and knowledge management through a comprehensive knowledge graph platform. Enables storing, searching, and managing entities, relationships, and observations with advanced features like trending analysis and smart ranking.
    3
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to build and query a persistent knowledge graph with entities, relationships, and observations. Features a core index system that ensures critical information is always accessible across all memory operations.
    1
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to build and query temporally-aware knowledge graphs from conversations and data, maintaining persistent memory of entities, relationships, and facts across interactions.
    -