Skip to main content
Glama
Filmystar

LightRAG Code Brain MCP

by Filmystar

brain_finish

Finalize the brain workflow by recording memory updates, profile changes, and search status to ensure the final response uses accurate context.

Instructions

Finish the mandatory project-brain workflow and record whether memory/profile updates were made before final response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idsNo
profile_updatedNo
brain_search_doneNo
noteNo
Behavior2/5

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

With no annotations, the description carries full burden. It mentions recording updates but does not disclose side effects (e.g., workflow finalization, irreversible actions) or auth requirements. The behavioral impact is only vaguely implied.

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

Conciseness4/5

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

The description is a single efficient sentence that immediately conveys the core purpose. It is well front-loaded, though it could include a bit more detail without becoming verbose.

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 0% schema coverage, no output schema, and four parameters, the description is severely incomplete. It fails to explain parameters or what 'finish' entails, leaving the agent with insufficient information to use the tool correctly.

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 adds no meaning to the four parameters. It only vaguely references recording updates but does not explain memory_ids, profile_updated, brain_search_done, or note.

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 clearly states the tool finishes the mandatory project-brain workflow and records memory/profile updates, which distinguishes it from siblings like brain_begin or brain_search. However, it could be more specific about the workflow context.

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?

The description implies usage at the end of the project-brain workflow but provides no explicit when-to-use, when-not-to-use, or alternatives. There is no guidance on prerequisites or 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/Filmystar/lightrag-code-brain-mcp-server'

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