Skip to main content
Glama
MemoryHub
by hookmt

mem_get_details

Retrieve full content for specified memory IDs across shared and private scopes; returns all matches and flags ID collisions for accurate review.

Instructions

Etap 2 Smart Search: pobiera pełną treść dla wskazanych identyfikatorów. W trybie scope='all' (domyślnym) zwraca wszystkie dopasowane rekordy z obu baz (w tym oba rekordy przy kolizji ID między shared i private, oznaczone zakresem).

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": {
      "item_ids": "<item_ids>"
    },
    "name": "mem_get_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoOpcjonalny filtr zasięgu: 'all' (domyślnie: wspólna + własna prywatna), 'shared', 'private'.all
item_idsYesLista identyfikatorów wpisów (np. ['mem-001', 'mem-003']) uzyskanych z mem_search_index lub mem_list.
as_evidence_blockNoCzy formatować jako pasywny blok referencyjny (True, domyślnie) czy surowy JSON (False).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does add real information: default scope='all' queries both databases and deliberately returns BOTH records when an ID collides across shared/private, tagged with scope. That is non-obvious behavior an agent could not infer from the schema. It does not state error behavior for unknown IDs or result ordering.

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 tight sentences, front-loaded with the workflow label and then the scope semantics; nothing is padding. The 'Etap 2 Smart Search' prefix is jargon but functional.

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?

For a 3-parameter fetch tool with no annotations and no output schema, the description covers the key scope/collision behavior but leaves return-value shape and failure modes to inference (only the as_evidence_block parameter hints at output formatting). Adequate but not fully self-contained.

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 all three parameters are already documented in the schema. The description adds meaning only for scope='all' by explaining the collision-duplication consequence, which is marginal added value over the schema's 'all = shared + private' note.

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 ('pobiera pełną treść dla wskazanych identyfikatorów') and frames itself as 'Etap 2' of a Smart Search workflow, which implies it follows mem_search_index. It stops short of naming a sibling alternative explicitly, so the differentiation is implied 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 Guidelines3/5

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

'Etap 2' signals this is a follow-up fetch after an index/search step, and the item_ids parameter description points at mem_search_index or mem_list as the source. There is no explicit when-not guidance or named alternative for the 'just get the list' case, so usage is only implied.

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