Skip to main content
Glama
modelbrain-mcp

modelbrain-mcp

Official

Fetch one memory in full

expand
Read-onlyIdempotent

Retrieve a single memory by key to inspect full text, tags, provenance, and optional edges or history—including pending, superseded, and deleted entries that recall may miss.

Instructions

Fetch one memory by key: full text, tags and provenance. A split memory comes back whole whichever piece you ask for (chunk_keys lists the pieces; piece_only: true returns just the one). truncated: true means the text was cut at 64 KB. Unlike recall, this reaches pending, superseded and deleted objects. Cite source_uri for a "connector" source. edges: true adds links; history: true walks the supersedes chain.

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": {
      "key": "<key>"
    },
    "name": "expand"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe key to look up, as returned by `remember` or `recall`.
edgesNoInclude this object's edges (both directions) in the response.
historyNoInclude the `supersedes` chain, oldest last.
piece_onlyNoWhen true and the key is one piece of a long memory, return only that piece.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only, idempotent, non-destructive annotations, it discloses split-memory reassembly, the 64 KB truncation limit and its flag, visibility of non-current and deleted objects, and connector-source citation expectations. It also explains the response effects of requesting edges or history, providing substantial behavioral context absent from the annotations.

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 core operation and returned content are front-loaded, followed by concise explanations of split behavior, truncation, lifecycle scope, citation, and optional expansions. The text is dense but every sentence contributes actionable information without filler.

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 four-parameter read tool without an output schema, the description supplies important result fields and flags, non-obvious edge cases, lifecycle visibility, and sibling differentiation. The schema covers invocation inputs, and the absence of not-found or error details does not materially impede correct selection or invocation.

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 description coverage is 100%, so the baseline is 3. The description adds meaningful interaction semantics by explaining that any piece key normally retrieves the whole split memory and that `piece_only: true` overrides this, while also reinforcing the practical effects of `edges` and `history`.

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 the exact operation and resource: fetch one memory by key and return its full text, tags, and provenance. It also distinguishes the tool from `recall` through its access to pending, superseded, and deleted objects.

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 establishes the known-key, full-object retrieval use case and gives a concrete reason to choose this tool over `recall`. It does not explicitly explain when `recall` is preferable or provide broader when-not guidance, so the alternative-selection advice is useful but incomplete.

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