Skip to main content
Glama

WhiteMagic — governed local memory for agent continuity

Memory associations

memory.associations
Read-onlyIdempotent

Associative neighbours of a memory (spreading activation over the association graph).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMemory UUID to inspect
directionNoDirection: from | to | both (default: both)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the tool is known to be safe and non-mutating. The description adds the concept of spreading activation, which hints at the underlying algorithm but doesn't clarify specifics like traversal depth or whether results are limited. This additional context is useful but not comprehensive, so the score is moderate.

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?

The description is a single concise sentence that front-loads the core purpose. It is not verbose and every word adds value. However, it could have included a brief note about direction handling to improve clarity without much length increase.

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?

Given the tool has an output schema, the return format is presumably documented elsewhere, so the description doesn't need to explain it. The tool has two simple parameters and safe annotations. However, the lack of usage guidelines and the vague concept of 'spreading activation' leave some gaps, but overall it's adequate for a straightforward read operation.

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?

The schema description coverage is 100%, meaning every parameter (id and direction) is documented in the schema. The description does not add any additional semantic information beyond the schema, such as the meaning of 'from' vs 'to' in the direction parameter. Since the schema already covers the parameters, the description is adequate but not additive.

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 clearly states the tool's purpose: it retrieves associative neighbours of a memory using spreading activation over the association graph. This is specific and identifies the resource (a memory) and the action (inspecting associations). However, it doesn't explicitly distinguish it from siblings like memory.nearby or memory.hybrid_recall, which might also involve related memories.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus alternatives. It doesn't mention when to choose associations over other memory retrieval tools, nor does it explain the concept of spreading activation in practical terms. The agent must infer the intended use case.

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