Skip to main content
Glama
modelbrain-mcp

modelbrain-mcp

Official

List memories

list_memories
Read-onlyIdempotent

Lists stored memories by scope without a query, newest first, with filters for tags, type, and dates plus cursor pagination to page through results.

Instructions

List memories by scope without a query, newest first. Use scope: "user" for what the user told you, or scope: "connector:<id>" for a synced source. Filters work as in recall. count is the total match count; pass next_cursor as after_key for the next page. Hides pending and superseded memories by default. Unknown arguments are listed in ignored_params.

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": "list_memories"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoSame as `recall`'s `tags` - keep only memories carrying at least one of these.
limitNoMaximum number of results.
scopeNoSame syntax as `recall`'s `scope` - default `"all"`.all
after_keyNoContinue after this key: pass the previous page's `next_cursor`.
object_typeNoKeep only memories of this type: a string or a list of strings.
branch_scopeNoSame syntax as `recall`'s `branch_scope` - default `"current"`.current
newest_firstNo`true` (default) lists newest-written first; `false` lists oldest-written first.
created_afterNoUTC date (YYYY-MM-DD) or RFC 3339 time; keep memories at or after it.
created_beforeNoUTC date (YYYY-MM-DD) or RFC 3339 time; keep memories before it.
partition_scopeNoWhich partition(s) to list.current

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantive behavior beyond them: pending and superseded memories are hidden by default, and unrecognized arguments are surfaced in `ignored_params`. The main remaining gap is what the memory objects themselves contain, which is left unstated.

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?

Five short sentences, front-loaded with purpose then scope guidance, then the return/pagination contract. Nothing is redundant with the schema or annotations, and each sentence carries a distinct fact.

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 10-parameter, zero-required listing tool with no output schema, the description covers the important unknowns: default filtering, ordering, and the pagination loop. It is not fully complete on return-value shape beyond `count`, `next_cursor`, and `ignored_params`, but that is the only notable omission.

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 100%, so the baseline is 3, but the description adds real value: it specifies `scope` syntax forms (`user`, `connector:<id>`) where the schema offers no enum, and it documents the pagination contract (`count` is total matches, feed `next_cursor` back as `after_key`) that the schema alone cannot express.

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 opens with a specific verb+resource plus the key differentiator: 'List memories by scope without a query, newest first,' which implicitly separates it from the sibling `recall` (query-driven retrieval). It could be a 5 if it explicitly stated 'use recall instead when you have a text query,' but the contrast is clear enough to distinguish the two.

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?

It gives concrete selection guidance for the `scope` parameter ('user' for what the user told you, 'connector:<id>' for a synced source) and inherits filter semantics from `recall`. It lacks an explicit when-not-to-use statement or a direct pointer to `recall` as the alternative for query-based lookups.

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