Skip to main content
Glama

Search Memory

memory_search
Read-only

Volltextsuche im Gedächtnis einer Persona (GET /personas/{slug}/gedaechtnis?q=&art=&limit=).

Jüngste zuerst, nur laufende Einträge (`gilt_bis` null) — beendete
Einträge sind über `?alle=1` in der ursprünglichen API sichtbar, aber
kein eigenes MCP-Verb (nicht im Vertrag verlangt, nicht still
nachgebaut).

**ACHTUNG, ZWEI VERSCHIEDENE PERSONAS:** bei den übrigen
Lesewerkzeugen heißt der Sichtfeld-Parameter `persona_slug` — hier
heißt der erste Parameter aber schon so und meint etwas anderes
(wessen Gedächtnis durchsucht wird, Teil der URL). Damit beide Fragen
unterscheidbar bleiben ("zwei Fragen unter einem Namen" ist das
Anti-Pattern, das genau das verbietet), heißt der Sichtfeld-Parameter
hier `lesende_persona` — die eigene Persona-Kennung der lesenden
Sitzung, aus deren `persona_brief`. Filtert auf das Sichtfeld dieser
Persona; `alle=True` hebt es bewusst auf und wird protokolliert.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "persona_slug": "<persona_slug>",
      "q": "<q>"
    },
    "name": "memory_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes
artNo
alleNo
chatNoChat token returned by `persona_waehlen`. With it, the call acts as the persona of that chat; without it, as the unbound connection (Chat-Token aus `persona_waehlen`: mit ihm handelt der Aufruf als die Persona dieses Chats, ohne ihn als die ungebundene Verbindung).
limitNo
persona_slugYes
lesende_personaNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare read-only and non-destructive, but the description goes further: it discloses the default filter on `gilt_bis` null, the result ordering, and that `alle=True` deliberately lifts the visibility field and is logged. That audit-logging note is meaningful behavior beyond the annotation. It stops short of covering pagination or result shape.

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?

The opening sentence with endpoint and query format is front-loaded and efficient, but the persona section is bloated with meta-commentary about an anti-pattern rule rather than the fact the agent needs. That justificatory aside dilutes an otherwise useful warning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the critical persona-visibility semantics are covered. Still, with seven parameters and only two required, the unexplained `art` filter and `limit` default behavior leave real gaps for an agent constructing a query.

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 low (14%), so the description must compensate, and it does the most valuable work by disambiguating `persona_slug` (memory owner) from `lesende_persona` (reader's visibility scope) and explaining `alle`. But `art`, `limit`, and `q` get no explanation at all, leaving three of seven parameters undocumented in both places.

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 states a specific verb and resource (full-text search in a persona's memory) and even names the underlying endpoint. The distinction from memory_put is implicit, but the search verb is clear enough for an agent to disambiguate.

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?

It explains result ordering (newest first) and that only active entries are returned, with ended entries reachable via `alle=1` in the original API but deliberately not exposed as an MCP verb. However, there is no explicit guidance on when to use this versus the sibling memory_put or other read tools; the guidance is implied through behavior rather than stated.

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.