Skip to main content
Glama
CodeAbra

iai-personal-memory-engine

memory_recall_structural

Read-onlyIdempotent

Recall memory records by matching role-filler pairs, such as agent=agent_name, using structural bindings. Read-only retrieval optimized for specific role-filler queries.

Instructions

Structural recall via TEM role->filler bindings (BSC hypervectors). Read-only. Prefer over memory_recall for role-filler queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_recordsNoHard cap on records scanned after fetch (default 5000, max 50000). Prevents accidental full-corpus scans from `{}`.
budget_tokensNoSoft token budget for the response (default 2000). Hits are appended until the next would exceed this budget.
structure_queryNoOptional role->filler map, e.g. {"agent": "agent_name"}. Each value is hashed to a filler hypervector. When omitted or empty, query HV is zero-filled and every row with structure_hv is scored (expensive at large N).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hitsNo
anti_hitsNo
budget_usedNo
activation_traceNo
structural_query_sizeNo
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds minimal behavioral context beyond the annotations, such as the TEM role->filler binding mechanism and the 'Read-only' statement, but these do not significantly enrich the agent's understanding of operational behavior. It does not contradict the annotations, though it also does not disclose return format or side effects beyond what annotations already imply.

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 description is extremely concise, consisting of three short phrases that convey purpose, safety, and usage preference. Every word adds value, and it is front-loaded with the core concept. No unnecessary filler or repetition exists.

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?

The tool has a detailed input schema with all parameters documented, a rich output schema, and strong annotations. The description covers the core purpose and usage differentiation. It does not explain return values, but the output schema presumably handles that, and the overall definition is comprehensive enough for an agent to select and invoke the tool correctly.

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%, and the parameter descriptions are detailed, including hard caps, budget behavior, and the meaning of omitted structure_query. The description text itself does not add further parameter semantics beyond relating the tool to 'role-filler queries', which is already evident from the schema. Therefore the baseline score of 3 is appropriate.

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 clearly states the tool performs structural recall via TEM role->filler bindings (BSC hypervectors), giving a specific mechanism and resource. It also explicitly distinguishes itself from the sibling tool memory_recall by noting it is preferred for role-filler queries, making its purpose unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Prefer over memory_recall for role-filler queries' directly tells when to use this tool over an alternative. The parameter schema further explains when structure_query is omitted, warning of an expensive full-corpus scan, which supplements the when-to-use context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeAbra/iai-personal-memory-engine'

If you have feedback or need assistance with the MCP directory API, please join our Discord server