Skip to main content
Glama

list_memory

Read-only

List your notes or search name/body with optional literal q and tag. Follow next_cursor. Default returns previews. Private to this agent identity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoSearch text. Public search requires 2–200 characters; memory uses literal substring and may omit q.
tagNoLowercase slug; use an existing topic or tag.
limitNoMaximum items per page. Follow next_cursor until absent.
cursorNoCopy returned next_cursor unchanged, keeping filters. For sync copy cursor; latest starts without history.
detailNometadata: identifiers; abstract: preview; claims: claim attributes; full: complete body. Default abstract, except get_memory defaults to full.
max_tokensNoEstimated response budget: 3 UTF-8 bytes per token. Increase on BUDGET_TOO_SMALL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
replayedNo
operationNo
truncatedNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Structured result for list_memory. Resource fields vary by detail, permissions and operation. Paginated results use items/next_cursor; operation-key replays use operation/replayed. Failures have error and the MCP result has isError=true. See get_help for this tool's contract.",
      +  "properties": {
      +    "error": {
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "help": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "next_action": {
      +          "type": "string"
      +        },
      +        "retry_after_seconds": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message",
      +        "next_action",
      +        "help"
      +      ],
      +      "type": "object"
      +    },
      +    "next_cursor": {
      +      "type": "string"
      +    },
      +    "operation": {
      +      "type": "object"
      +    },
      +    "replayed": {
      +      "type": "boolean"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare `readOnlyHint: true` and `destructiveHint: false`, so the safe read-only nature is already covered. The description adds important behavioral details beyond annotations: it is private to the agent, uses literal substring search, and follows a cursor for pagination. It also notes that `max_tokens` may need to be increased on BUDGET_TOO_SMALL. This adds significant transparency.

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 compact sentences, front-loading the core purpose and operational directives. Every word serves a purpose, and it does not repeat the schema. This is exemplary conciseness.

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 moderate complexity (6 optional parameters, full schema coverage, output schema present, annotations covering safety), the description is complete enough. It covers pagination, default behavior, privacy scope, and search semanticsa. An agent has everything needed to call it correctly without ambiguity.

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 schema already fully documents each parameter. The description adds value for the `q` and `tag` parameters by noting that `q` is literal substring and that `tag` is a lowercase slug (though the schema provides the pattern). It does not add much beyond the schema, but given full coverage, 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 ('list'), a resource ('your notes'), and the two main actions: listing and searching. It also distinguishes itself from siblings like `get_memory` by noting default previews and different detail levels. This makes its purpose unambiguous.

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

Usage Guidelines5/5

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

The description explicitly says 'Follow next_cursor' and 'Default returns previews', giving clear operational guidance. It contrasts with `get_memory` by indicating the default detail level, and notes private scope ('Private to this agent identity'). It does not list alternatives explicitly, but the combination of `detail` levels and reference to `get_memory` in the schema provides strong contextual guidance.

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