Skip to main content
Glama
Filmystar

LightRAG Code Brain MCP

by Filmystar

brain_reindex

Replays the local durable memory log into LightRAG to re-index a codebase, restoring agent memory and reducing token usage.

Instructions

Replay the local durable memory log into LightRAG.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_idNo
limitNo
Behavior2/5

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

No annotations are provided, and the description does not disclose side effects, prerequisites, or safety considerations (e.g., whether replaying is idempotent, what gets overwritten). The description carries the full burden and falls short.

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 single sentence is terse but omits critical details. It is underspecified rather than efficiently concise, especially given missing parameter explanations.

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?

No output schema, no annotations, and incomplete parameter documentation. The description fails to provide enough context for correct tool invocation, e.g., return values, error behavior, or mechanism.

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?

The input schema has 2 parameters with no descriptions, and the description adds zero information about 'repo_id' or 'limit'. With 0% schema description coverage, the description must compensate but does not.

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 a specific action ('Replay the local durable memory log into LightRAG'), with a verb and resource. It distinguishes from sibling tools like 'brain_recent' (list recent) and 'rag_index_repo' (index repository).

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 explicit guidance on when to use this tool versus alternatives like 'brain_recent' or 'rag_index_repo'. The context is implied but not clarified, leaving the agent with insufficient decision support.

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/Filmystar/lightrag-code-brain-mcp-server'

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