Skip to main content
Glama
Suyash2013

omni-rag-mcp

by Suyash2013

ingest

Index files in the current directory for semantic search and analysis. Supports incremental updates or full re-index, with optional extension filters.

Instructions

Manually trigger indexing of the current working directory.

Auto-indexes on first search, so you rarely need this. By default, does incremental indexing (only changed files). Use force=True to do a full re-index from scratch.

Args: force: If True, full re-index. If False, incremental update. include_extensions: Optional list of file extensions to include (e.g. [".py", ".ts", "js"]). When provided, ONLY files with these extensions are indexed; the default TEXT_EXTENSIONS allowlist is replaced. Leading dots are optional. exclude_extensions: Optional list of file extensions to exclude (e.g. [".txt", ".md"]). Files with these extensions are skipped even if they would otherwise be indexed. Leading dots are optional.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
include_extensionsNo
exclude_extensionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses default incremental indexing, the option for full re-index via force, and extension filtering. It does not mention side effects like blocking or locking, but is transparent enough.

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 well-structured: a one-liner purpose, a usage note, then concise bullet-like parameter explanations. Every sentence adds value without fluff.

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

Completeness5/5

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

Given there is an output schema (not shown), description need not explain returns. It covers when to use, parameter nuances, and default behavior. The context of working directory and auto-indexing is clearly provided.

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

Parameters5/5

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

Schema description coverage is 0%, but the description adds thorough explanations for all three parameters, including default behavior, effect of include_extensions replacing defaults, and note about leading dots. This greatly exceeds the schema's content.

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 it 'manually trigger indexing of the current working directory', providing a specific verb and resource. It distinguishes from sibling tools like 'search' and 'check_index_status' by focusing on triggering indexing.

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?

It tells users they 'rarely need this' due to auto-indexing, and explains when to use force or extensions. However, it does not explicitly contrast with the nearly identical sibling 'ingest_current_directory'.

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/Suyash2013/codebase-rag-mcp'

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