Skip to main content
Glama

index_project

Indexa archivos de código fuente de un proyecto en Hipocampo (RAG).

Escanea archivos PHP, JS, TS, Python, SQL, HTML, CSS, JSON, YAML,
los divide en chunks significativos y los guarda como recuerdos con
embedding para búsqueda semántica.

La segunda corrida solo indexa archivos modificados (por mtime).

Args:
    project_path: Ruta absoluta del proyecto a indexar.
                  Si está vacía, usa el directorio actual.
    force: Si True, re-indexa todo aunque no haya cambios.

Returns:
    Estadísticas de la indexación.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
project_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description correctly carries the full disclosure burden. It reveals substantial non-obvious behavior: file type filtering, chunking into semantic memories with embeddings, incremental indexing by mtime on the second run, and force semantics. The mtime incremental behavior is exactly the kind of trait an agent can't infer from the schema. It stops short of stating side effects (whether re-indexing replaces or duplicates existing memories), which keeps it from a 5.

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?

Well-structured with clear sections: purpose, scan scope, process, incremental behavior, Args, and Returns. The content is front-loaded with the core purpose. The file type list is somewhat long but earns its place since it defines scan scope precisely; no sentence is wasted.

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

Completeness4/5

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

For a tool with 2 optional parameters and an existing output schema, the description covers the essentials: input semantics, behavior, and a Returns note ('Estadísticas de la indexación'). No annotations exist, so it also carries safety disclosure for a mutation-style tool, which it does adequately by describing what gets stored. The lack of sibling differentiation and undocumented re-index side effects are the only notable gaps.

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%, so the description fully compensates: it explains project_path is an absolute path that falls back to the current directory when empty, and clarifies force re-indexes everything regardless of changes. Both parameters gain real meaning beyond the bare type/default declarations in the input schema.

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 opens with a specific verb and resource: 'Indexa archivos de código fuente de un proyecto en Hipocampo (RAG)'. It further enumerates the exact file types scanned (PHP, JS, TS, Python, SQL, HTML, CSS, JSON, YAML), distinguishing it clearly from siblings like search_hipocampo, watch_hipocampo, and reindex_now without needing to open their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied through the behavioral details — initial indexing, incremental mtime-based re-runs, and force re-indexing — but no alternative tools are ever named. With 30+ siblings including reindex_now, an explicit 'use X instead when...' note would materially help routing; its absence leaves the agent to infer when this tool is the right choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources