Skip to main content
Glama

memory_read

Read-onlyIdempotent

Read permanent memory by listing stable IDs and titles, searching ranked passages, or fetching a complete committed memory with its revision.

Instructions

Read permanent memory. List returns stable memory IDs and titles, search returns bounded ranked candidate passages, and get returns one complete committed memory with its revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed5 schema fields changedv0.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "list"
      +      },
      +      "project": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "search"
      +      },
      +      "limit": {
      +        "maximum": 5,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "project": {
      +        "type": "string"
      +      },
      +      "query": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "query"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "get"
      +      },
      +      "memory_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "memory_id"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties
      Removed value: -{
      -  "action": {
      -    "enum": [
      -      "list",
      -      "search",
      -      "get"
      -    ],
      -    "type": "string"
      -  },
      -  "limit": {
      -    "maximum": 5,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  "memory_id": {
      -    "type": "string"
      -  },
      -  "project": {
      -    "type": "string"
      -  },
      -  "query": {
      -    "type": "string"
      -  }
      -}
    • removedInput schema / required
      Removed value: -[
      -  "action"
      -]
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "list"
      -      },
      -      "memories": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "memory_id": {
      -              "type": "string"
      -            },
      -            "scope": {
      -              "type": "string"
      -            },
      -            "summary": {
      -              "type": "string"
      -            },
      -            "title": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "memory_id",
      -            "title",
      -            "scope",
      -            "summary"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "project": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "projects": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "project",
      -      "memories",
      -      "projects"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "search"
      -      },
      -      "limit": {
      -        "maximum": 5,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "matches": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "memory_id": {
      -              "type": "string"
      -            },
      -            "passages": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "end_char": {
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  },
      -                  "start_char": {
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "text": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text",
      -                  "start_char",
      -                  "end_char"
      -                ],
      -                "type": "object"
      -              },
      -              "minItems": 1,
      -              "type": "array"
      -            },
      -            "rank": {
      -              "minimum": 1,
      -              "type": "integer"
      -            },
      -            "revision": {
      -              "type": "string"
      -            },
      -            "scope": {
      -              "type": "string"
      -            },
      -            "summary": {
      -              "type": "string"
      -            },
      -            "title": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "memory_id",
      -            "title",
      -            "scope",
      -            "summary",
      -            "revision",
      -            "rank",
      -            "passages"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "project": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "truncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "project",
      -      "limit",
      -      "matches",
      -      "truncated"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "get"
      -      },
      -      "memory": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "body": {
      -            "type": "string"
      -          },
      -          "created_at": {
      -            "type": "string"
      -          },
      -          "memory_id": {
      -            "type": "string"
      -          },
      -          "revision": {
      -            "type": "string"
      -          },
      -          "scope": {
      -            "type": "string"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "summary": {
      -            "type": "string"
      -          },
      -          "title": {
      -            "type": "string"
      -          },
      -          "updated_at": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "memory_id",
      -          "title",
      -          "scope",
      -          "summary",
      -          "source",
      -          "created_at",
      -          "updated_at",
      -          "revision",
      -          "body"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "memory"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "list"
      +      },
      +      "memories": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "memory_id": {
      +              "type": "string"
      +            },
      +            "scope": {
      +              "type": "string"
      +            },
      +            "summary": {
      +              "type": "string"
      +            },
      +            "title": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "memory_id",
      +            "title",
      +            "scope",
      +            "summary"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "project": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "projects": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "project",
      +      "memories",
      +      "projects"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "search"
      +      },
      +      "limit": {
      +        "maximum": 5,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "matches": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "memory_id": {
      +              "type": "string"
      +            },
      +            "passages": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "end_char": {
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  },
      +                  "start_char": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "text": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text",
      +                  "start_char",
      +                  "end_char"
      +                ],
      +                "type": "object"
      +              },
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "rank": {
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "revision": {
      +              "type": "string"
      +            },
      +            "scope": {
      +              "type": "string"
      +            },
      +            "summary": {
      +              "type": "string"
      +            },
      +            "title": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "memory_id",
      +            "title",
      +            "scope",
      +            "summary",
      +            "revision",
      +            "rank",
      +            "passages"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "project": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "truncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "project",
      +      "limit",
      +      "matches",
      +      "truncated"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "get"
      +      },
      +      "memory": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "body": {
      +            "type": "string"
      +          },
      +          "created_at": {
      +            "type": "string"
      +          },
      +          "memory_id": {
      +            "type": "string"
      +          },
      +          "revision": {
      +            "type": "string"
      +          },
      +          "scope": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "updated_at": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "memory_id",
      +          "title",
      +          "scope",
      +          "summary",
      +          "created_at",
      +          "updated_at",
      +          "revision",
      +          "body"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "memory"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, idempotent, and open-world behavior. The description adds useful context beyond annotations: search results are 'bounded ranked candidate passages,' list returns only IDs/titles, and get returns a 'complete committed memory with its revision.' No contradiction with annotations.

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 front-loads the core purpose and uses parallel clauses to describe each action without redundancy or filler. It is compact yet informative.

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?

Given the tool's three modes and the existence of an output schema, the description is complete: it explains the behavior of each action and what kind of result to expect. Annotations cover safety and side-effect concerns, and sibling names make the read/write/delete division clear.

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 action variants, required fields, and limit bounds through its oneOf structure and const values. The description does not add parameter-level detail such as query format or memory_id semantics, but with schema coverage effectively complete, the baseline 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 states a specific verb and resource ('Read permanent memory') and enumerates three distinct modes—list, search, get—with their concrete outcomes. This distinguishes the tool from memory_write and memory_delete without relying on the name alone.

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 tells an agent what each mode returns, which is clear guidance for choosing list vs search vs get. It does not explicitly say 'use this instead of memory_write or memory_delete,' but 'Read' and the sibling names make the intended usage obvious.

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

Install Server

Other Tools

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/scarletkc/Perenna'

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