Skip to main content
Glama

memory_list

Read-only

Lists agent memory records visible to the user, with filters and usage statistics: deliveredCount (delivered in full), readCount (read by ID), lastUsedDT. Returns a page of records without their text (textLength is its length), with total and next: a page is filled up to limit and up to the response limit, and after takes next of the previous page. withText adds the text for review and moderation; reading a record by ID counts as a read (readCount, lastUsedDT) and changes the cleanup statistics. Useful for finding duplicates before saving a record and for reviewing, moderating and cleaning up memory: with memory:moderate it covers all company records except personal ones, verified = false is the moderation queue, sort = usage with unusedDays finds rarely used records. themes, on the first page, is the company's topic dictionary with the number of records per topic; rare topics beyond the response limit are counted in themesOmitted. A record whose topic is outside the dictionary carries themeNew, the reason given for the new topic. Each record carries link, a link to its window in the web app.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
IDsNoRecord IDs, up to 50.
jobsNoRecords for at least one of these jobs.
loadNo
sortNousage - least used first.
afterNoThe next value of the previous page: records after it, with the same filters and sort.
levelNo
limitNoRecords per page, 50 by default; fewer arrive up to the response limit, the rest follow by next.
queryNoSubstring of the topic, title or text, in the language of the workspace data.
themeNoRecords of this topic, case-insensitive.
agentsNoRecords of this audience: user, all or system.
sharedNo
verifiedNofalse - unverified records (the moderation queue).
withTextNotrue - records with their text, on a shorter page; by default titles and textLength.
authorUIDNo
projectIDNoProject ID: memory of the project and its connected repositories.
unusedDaysNoNot delivered to or read by agents for this many days.
repositoryIDNoRepository ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Substring of the title or text, in the language of the workspace data."New value: +"Substring of the topic, title or text, in the language of the workspace data."
    • addedInput schema / properties / theme
      Added value: +{
      +  "description": "Records of this topic, case-insensitive.",
      +  "maxLength": 40,
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / after
      Added value: +{
      +  "description": "The next value of the previous page: records after it, with the same filters and sort.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Records per page, 50 by default; fewer arrive up to the response limit, the rest follow by next.",
      +  "maximum": 200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / withText
      Added value: +{
      +  "description": "true - records with their text, on a shorter page; by default titles and textLength.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / jobs / items / enum
      Previous value: -[
      -  "analysis",
      -  "dev",
      -  "qa",
      -  "devops",
      -  "review",
      -  "design"
      -]New value: +[
      +  "analysis",
      +  "dev",
      +  "qa",
      +  "devops",
      +  "review",
      +  "design",
      +  "marketing"
      +]
    • changedInput schema / properties / jobs / maxItems
      Previous value: -6New value: +7
  4. Changed1 schema field changed
    • addedInput schema / properties / agents
      Added value: +{
      +  "description": "Records of this audience: user, all or system.",
      +  "enum": [
      +    "user",
      +    "all",
      +    "system"
      +  ],
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  6. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Adds substantial behavior beyond the read-only annotations: page truncation by a response limit with next/after continuation, that reading a record by ID increments readCount/lastUsedDT and affects cleanup statistics, and that rare topics beyond the limit are counted in themesOmitted. It also discloses the permission scope (memory:moderate covers all company records except personal ones). The read-statistics side effect is worth noting against readOnlyHint but is access tracking, not data mutation, so it is not a contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is one dense paragraph of semicolon-chained clauses with awkward phrasing such as 'and after takes next of the previous page,' which slows parsing. The purpose is front-loaded, but return-shape, side-effect, and usage-recipe material are interleaved rather than ordered.

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?

With 17 parameters and no output schema, the description carries the return-value burden well, documenting total, next, textLength, deliveredCount, readCount, lastUsedDT, themes/themesOmitted, themeNew and link. Remaining gaps are the undocumented filter params (level, load, shared, authorUID) rather than missing behavior.

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

Parameters4/5

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

Schema coverage is 76%, and the description still adds meaning the schema lacks: verified=false is the moderation queue, sort=usage combined with unusedDays finds rarely used records, after takes next from the previous page, and limit interacts with a separate response limit. Some params (load, level, shared, authorUID) remain undocumented in both places, keeping it below a 5.

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?

Opens with a specific verb and resource plus scope: 'Lists agent memory records visible to the user, with filters and usage statistics.' The 'records without their text' / 'withText adds the text' distinction implicitly separates it from memory_read, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

Gives concrete when-to-use contexts ('finding duplicates before saving a record', 'reviewing, moderating and cleaning up memory') and even filter recipes: memory:moderate scope, verified=false for the moderation queue, sort=usage with unusedDays for stale records. It stops short of explicit exclusions or naming memory_read for single-record fetches.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources