Skip to main content
Glama

smart_ingest

Ingest memories by automatically deciding to create, update, or supersede based on similarity. Supports single items or batch arrays for session-end saves.

Instructions

INTELLIGENT memory ingestion with Prediction Error Gating. Single mode: provide 'content' to auto-decide CREATE/UPDATE/SUPERSEDE. Batch mode: provide 'items' array (max 20) for session-end saves — each item runs the full cognitive pipeline (importance scoring, intent detection, synaptic tagging).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTags for categorization
itemsNoBatch mode: array of items to save (max 20). Defaults to force-creating each caller-separated item; set batchMergePolicy='smart' to allow Prediction Error Gating against existing memories. Use at session end or before context compaction.
sourceNoSource or reference for this knowledge
contentNoThe content to remember. Will be compared against existing memories. (Single mode)
node_typeNoType of knowledge: fact, concept, event, person, place, note, pattern, decisionfact
forceCreateNoForce creation of a new memory even if similar content exists
batchMergePolicyNoBatch mode only. Defaults to 'force_create' so caller-separated items stay separate. Use 'smart' to allow Prediction Error Gating against existing memories.force_create
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the cognitive pipeline (importance scoring, intent detection, synaptic tagging), the batch merge policy (force_create vs. smart), and the forceCreate parameter. It does not cover aspects like idempotency, error handling, or rate limits, but the provided detail is substantial.

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 two sentences: the first states the core functionality and the second elaborates on modes and pipeline. Every sentence is informative and earns its place. It is front-loaded and concise.

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 tool with 7 parameters and no output schema, the description covers modes, pipeline, and batch merge policies. It lacks details on return values or error states, but given the complexity, it is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds value beyond the schema by explaining the behavior of batchMergePolicy (default force_create, smart allows Prediction Error Gating) and the cognitive pipeline for each item. This enriches the parameter meaning.

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's function: intelligent memory ingestion with Prediction Error Gating. It specifies two distinct modes—single (content auto-decides CREATE/UPDATE/SUPERSEDE) and batch (items array for session-end saves)—and lists the cognitive pipeline steps. This differentiates it effectively from sibling tools like 'memory' or 'merge_candidates'.

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?

The description provides context for when to use each mode: single mode for individual content, batch mode at session end or before context compaction. However, it does not explicitly state when NOT to use this tool or mention alternative tools. The guidance is clear but lacks exclusion criteria.

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/samvallad33/vestige'

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