Skip to main content
Glama
MemoryHub
by hookmt

mem_list

Lists paginated memory entry metadata without content, filtered by project, status, and scope, with counts and duplicate-ID warnings.

Instructions

Zwraca stronicowany spis lekkich metadanych wpisów (bez pola content) z filtrami projektu, statusu i zasięgu (tylko baza wspólna oraz własna prywatna bieżącego agenta), w stabilnym porządku (scope ASC, id ASC), wraz z licznikami i raportem duplicate_ids przy kolizji ID. OGRANICZENIE: paginacja offset/limit przedstawia bieżący stan i nie gwarantuje zamrożonej migawki, jeśli baza zmienia się między wywołaniami stron.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaksymalna liczba wpisów na stronie (1..200, domyślnie 50).
scopeNoZasięg spisu: 'all' (domyślnie: wspólna + własna prywatna), 'shared' (tylko wspólna), 'private' (tylko własna prywatna).all
offsetNoPrzesunięcie początku strony (liczba całkowita >= 0, domyślnie 0).
statusNoFiltr statusu wpisu: 'all' (domyślnie), 'aktywny', 'zastapiony', 'wycofany'.all
projectNoOpcjonalny filtr organizacyjny projektu (np. 'PROJECT_ALPHA', 'PROJECT_BETA', 'GLOBAL').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

With no annotations, the description carries the full disclosure burden and does so unusually well: it states the visibility boundary (only the shared store plus the current agent's own private entries), guarantees a deterministic sort order, warns about non-snapshot pagination under concurrent writes, and flags that a duplicate_ids report is returned on ID collisions. These are exactly the behavioral traits an agent cannot infer from schema or annotations.

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?

Two sentences, front-loaded with what is returned and how it is ordered, with the pagination caveat correctly placed last and marked with an explicit "OGRANICZENIE" label. The parenthetical stacking (filters, scope, order, counters, duplicate_ids) is dense but each clause carries information.

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?

For a five-parameter read tool with no output schema and no annotations, the description covers return content (metadata without content, counters, duplicate_ids), ordering guarantees, visibility scope, and the concurrency limitation. Little that an agent needs in order to call it correctly is missing.

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 explains limit, offset, scope, status and project. The description reinforces scope semantics (shared plus own private only) but adds no format, allowed-value, or interaction detail beyond the schema, so 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?

Names a specific verb and resource: a paginated listing ("stronicowany spis") of lightweight entry metadata explicitly excluding the content field, with supported filters and a defined ordering (scope ASC, id ASC). It is clearly not a detail or search tool, though no sibling is named to make the contrast explicit.

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?

Usage is implied by the described filters and the caveat about offset/limit not giving a frozen snapshot, which nudges callers toward re-reading between pages. However, it never says when to use this instead of mem_search_index or mem_get_details, nor any prerequisite or exclusion.

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