Skip to main content
Glama

unimatrix_get_context

Current-truth context package for an agent task. Runs activation, then splits memories into current, contested, and superseded sets and attaches open contradictions. Inferences stay labeled and are not authoritative decisions.

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_get_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax memories to partition (default: 8, max: 20).
queryYesWhat the agent needs to know.
intentNoOptional task. Prepended to the query so semantic seeds reflect the job.
space_idNoOptional: scope to a specific Space.
session_idNoOptional MCP session id for session-local reinforcement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a fair job: it discloses the processing pipeline (activation first, then partitioning), the three output buckets, the attachment of open contradictions, and the epistemic status of inferences as labeled but non-authoritative. What remains unstated is the side-effect profile — whether 'runs activation' mutates reinforcement state, and whether any session prerequisite exists.

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?

Three short sentences, front-loaded with the core deliverable, then the pipeline, then the trust caveat. No filler, and each clause contributes distinct information.

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 five-parameter tool with no output schema and no annotations, the description substitutes well by describing the shape of the returned package (current/contested/superseded plus contradictions) and its trust semantics. Missing is any note on mutation/side effects or expected cost, which matters for a tool that invokes activation internally.

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 every parameter is already documented with defaults and scoping intent. The description adds no further meaning about how query, intent, limit, space_id, or session_id interact with the partitioning behavior, so it meets only the baseline.

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 names a concrete artifact (a current-truth context package for an agent task) and states the mechanism: it runs activation then partitions memories into current, contested, and superseded sets and attaches open contradictions. This is far more specific than the name alone. It stops short of explicitly distinguishing itself from siblings like unimatrix_activate_memory or unimatrix_recall, even though 'Runs activation' hints at a superset relationship.

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?

Usage is implied by 'for an agent task' and the current-truth framing, which suggests calling it when an agent needs to establish what is presently believed. There is no explicit when-to-use/when-not-to-use statement and no named alternative such as unimatrix_recall or unimatrix_activate_memory, so the agent must infer the routing decision.

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