Skip to main content
Glama

Project Index

mcp_m7_project_index

Automatically generate and manage PROJECT_INDEX.md with project details for AI assistants. Scan, update, and validate project structure to maintain accurate AI context.

Instructions

Automatically generate and manage PROJECT_INDEX.md file with comprehensive project information for AI assistants

Input Schema

NameRequiredDescriptionDefault
forceNoForce regeneration even if index exists
actionYes
sectionsNo
templateNostandard
max_depthNoMaximum directory depth to scan (1-10)
auto_updateNoEnable automatic updates when project changes
include_gitNoInclude Git repository information
output_pathNoOutput path for INDEX.md (optional - defaults to PROJECT_INDEX.md in project root)
project_pathNoPath to project root (optional - defaults to current directory)
include_hiddenNoInclude hidden files and directories
exclude_patternsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.18.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It implies file creation ('generate... PROJECT_INDEX.md') but never states that it writes to disk, whether existing files are overwritten, whether it is safe/idempotent, or what auto_update and force actually do to project state.

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?

A single front-loaded sentence that identifies the artifact and its purpose without padding. It is efficient, though the brevity comes at the cost of the usage and behavioral detail noted elsewhere.

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 an 11-parameter mutation tool with no annotations and no output schema, the description is too thin to be complete—it omits action-mode semantics, write/overwrite behavior, and parameter meaning. An agent could invoke it but would be guessing about mode selection and side effects.

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

Parameters2/5

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

Schema coverage is 64%, and the description adds nothing beyond the output file name. The central 'action' and 'template' enums have no schema descriptions and no explanation in the description, and 'sections' and 'exclude_patterns' are entirely undocumented, so the description fails to compensate for the coverage gap.

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?

States a specific verb pair ('generate and manage') and a concrete artifact (PROJECT_INDEX.md) with its purpose ('comprehensive project information for AI assistants'). It does not, however, distinguish itself from likely-overlapping siblings such as init_project, create_structure, or scope, which an agent could easily confuse with index generation.

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?

There is no guidance on when to use this tool versus the many siblings, nor any explanation of the four action modes (generate/update/scan/validate) that are the primary decision axis. The agent must infer usage entirely from the enum names in the schema.

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