Skip to main content
Glama

enrich

Add LLM-extracted metadata—topics, sentiment, entities—to existing memories, enabling structured filtering and better organization.

Instructions

Enrich memories with LLM-extracted metadata (topics, sentiment, entities, categories). USE THIS WHEN: you want to add structured metadata to existing memories for better filtering. Requires LORE_ENRICHMENT_ENABLED=true and a configured LLM provider (LORE_LLM_PROVIDER + API key). Enrichment runs automatically on remember() when enabled; use this tool to enrich older memories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idNo
allNo
projectNo
forceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that the tool requires configuration and that it is the manual counterpart to automatic enrichment. However, it does not specify whether enrichment overwrites existing metadata or is idempotent.

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?

Very concise: two sentences plus a usage directive. Front-loaded with the core purpose. No superfluous information.

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

Completeness2/5

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

Given 4 parameters, no annotations, and an output schema that is not described, the description is incomplete. It does not explain how parameters relate to each other, what the output contains, or edge cases like setting 'all' vs 'memory_id'.

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

Parameters2/5

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

Schema has 4 parameters with 0% description coverage. The description does not explain the meaning of individual parameters like 'memory_id', 'all', 'project', or 'force'. It only loosely implies targeting via the phrase 'enrich older memories'.

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 verb 'enrich', resource 'memories', and output 'LLM-extracted metadata (topics, sentiment, entities, categories)'. This distinguishes it from sibling tools that perform different operations like classification or extraction.

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?

Explicitly states when to use: 'USE THIS WHEN: you want to add structured metadata to existing memories for better filtering'. It also explains that automatic enrichment runs on remember() and this tool is for older memories, and lists prerequisites (LORE_ENRICHMENT_ENABLED=true, configured LLM provider).

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/agentkitai/lore'

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