Skip to main content
Glama

analyze_documentation_gaps

Identify documentation gaps in a project folder by analyzing its structure, then generate knowledge-capture checklists for missing documentation.

Instructions

Analyzes folder structure to identify documentation needs and create knowledge capture checklists. Phase 2.3 of Knowledge Archaeology & Reality Sync Engine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxDepthNoMaximum directory traversal depth (default: 5)
folderPathYesPath to the folder to analyze for documentation gaps
projectNameYesName of the project for context and checklist generation
includeTestsNoWhether to include test files in analysis (default: false)
fileExtensionsNoComma-separated list of file extensions to analyze (default: "js,ts,py,md,json,yml,yaml")
createChecklistNoWhether to auto-generate a Cursor-Cortex completion checklist (default: true)
includeNodeModulesNoWhether to include node_modules in analysis (default: false)
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing side effects. It mentions 'analyzes' (read-like) and 'create' (potential write), but doesn't state whether files are created on disk, what permissions are needed, or what the return value looks like. The lack of output schema makes this gap more significant.

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 concise sentence with no filler or repetition. It efficiently conveys the main purpose and adds a phase reference. It earns a 4 for being appropriately sized, though it could be slightly more detailed without becoming verbose.

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

Completeness2/5

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

Despite having 7 parameters and no output schema, the description gives minimal context. It doesn't explain what the generated checklist contains, whether any files are modified, or how results are returned. For this complexity level, the description is incomplete and leaves the agent under-informed.

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

Parameters3/5

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

Schema description coverage is 100%, so all 7 parameters are already documented. The description adds no extra semantic meaning beyond what the schema provides, which aligns with the baseline score of 3.

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's function: analyzing folder structure to identify documentation gaps and create checklists. It names a specific verb ('Analyzes') and resource ('folder structure'), making the core purpose obvious. However, it doesn't explicitly distinguish this from related sibling tools like 'create_completion_checklist' or 'construct_project_narrative', so it misses the top score.

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 only usage hint is 'Phase 2.3', which implies it's part of a larger workflow but offers no explicit when-to-use or when-not-to-use guidance. It doesn't mention alternatives or prerequisites, leaving the agent to guess when this tool is appropriate compared to its many siblings.

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/flores-ac/cursor-cortex'

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