Skip to main content
Glama

unimatrix_system_prompt

Get a ready-to-inject system-prompt block containing active memories and known facts. For non-MCP LLMs (ChatGPT, Gemini, etc.) — prepend this to your system message. Returns a compact text block summarizing context relevant to a given query.

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": {
      "query": "<query>"
    },
    "name": "unimatrix_system_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax memories in the block (default: 6).
queryYesCurrent user message (used to retrieve relevant memories).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the return shape ('compact text block') and the default block size (6 memories), which is useful. It omits whether the call is read-only in effect, any cost/latency characteristics, or what happens when no memories match.

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 core action and the intended consumer. The second sentence partly restates the first ('Returns a compact text block summarizing context...'), a small redundancy but nothing wasteful.

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

Completeness4/5

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

For a two-parameter read tool with no output schema, the description explains what the returned artifact is and how to use it, which is the key missing piece otherwise. Adequate for the tool's complexity; only the behavior on empty results and sibling alternatives are absent.

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 coverage is 100%, so both parameters are already documented in the schema. The description adds only that the query drives retrieval of 'relevant memories' and that the output is compact — useful framing but no syntax or format detail beyond the schema.

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 and resource — 'Get a ready-to-inject system-prompt block containing active memories and known facts' — plus what it returns. The 'For non-MCP LLMs (ChatGPT, Gemini, etc.)' line helps distinguish it from sibling context tools like unimatrix_get_context, though no sibling is named explicitly.

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?

Gives clear usage context ('prepend this to your system message' for non-MCP LLMs), which tells an agent how to apply the result. It stops short of stating when NOT to use it or which sibling (e.g., unimatrix_get_context, unimatrix_recall) is the in-protocol alternative.

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