Skip to main content
Glama

unimatrix_summarize_memory

Summarize a specific context or Space. Instead of retrieving raw memories, this requests an aggregated summary of the most recent active memories for the given parameters.

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

Input Schema

NameRequiredDescriptionDefault
queryNoOptional topic to focus the summary on.
persistNoWhen true, also store the extractive summary as a semantic memory. Defaults to false.
spaceIdNoOptional Space ID to summarize.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses that the summary is extractive, that it draws on the most recent active memories, and that persist causes a write (storing a semantic memory) — an important side effect given the absence of any destructive/readOnly hints. It does not describe return shape, latency/cost, or what happens when no parameters are supplied.

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 the action and immediately followed by the key differentiator against raw retrieval. The phrase 'for the given parameters' is mild filler that adds no information.

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?

All parameters are optional and schema-documented, and there is no output schema to explain, but with zero annotations the description should say more about default scope (all memories vs. recent-only), whether the write from persist is reversible/identifiable, and roughly what the summary contains.

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 optional parameters are already documented in the schema, and the description largely restates the persist semantics verbatim. It adds little beyond the schema — notably it never clarifies what 'the given parameters' means when query and spaceId are omitted (global summary vs. all spaces).

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?

States a specific verb (summarize) and resource (a context or Space's memories), and distinguishes itself from raw retrieval by saying it returns an aggregated summary of the most recent active memories. It does not name a specific sibling such as unimatrix_get_recent or unimatrix_list_memories, so differentiation is by category rather than by tool.

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?

Provides a clear routing rule: use this instead of retrieving raw memories when an aggregated summary is wanted. It stops short of explicit exclusions (e.g., when to prefer get_recent or get_context) and gives no prerequisites, which keeps it out of the top band.

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.

Resources