Skip to main content
Glama

memory_index

Index texts into a local memory store using embeddings, enabling semantic retrieval and context-aware responses without relying on external services.

Instructions

Index texts into the local memory store using embeddings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textsYes
doc_idsNo
metadatasNo
namespaceYes
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

With no annotations provided, the description must disclose behavioral traits, but it only mentions the action and embedding mechanism. It does not state whether the operation is a write, whether existing texts are replaced or appended, whether the operation is idempotent, any permission requirements, or the return/response format. This is a major transparency gap for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded, but it is under-specified. For a tool with five parameters and no annotations, this single sentence does not provide enough information to be considered effective. It is minimal to the point of being unhelpful.

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

Completeness1/5

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

Given the tool's complexity (5 parameters, no annotations) and the existence of an output schema, the description should at least outline the indexing behavior and parameter roles. It does not, making the tool effectively unusable without relying on external knowledge or guessing.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not explain the parameters at all. Beyond the implicit 'texts' and 'namespace', optional parameters like doc_ids, metadatas, and session_id are completely undocumented, leaving the agent to guess their meaning and usage.

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 states the tool's purpose with a specific verb ('index'), a resource ('local memory store'), and a method ('using embeddings'). It clearly differentiates from sibling tools like memory_search and memory_delete, but does not explicitly contrast with configuration tools like configure_memory, so it stops short of a 5.

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?

No usage guidelines are provided. The description does not specify when this tool should be used over alternatives, nor does it mention any prerequisites, exclusions, or typical scenarios. The only implied guidance is that this is for adding texts to memory.

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/groxaxo/mcp-llm-router'

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