Skip to main content
Glama

analyze_project_structure

Analyze project structure and architecture to identify issues, assess technical debt, and provide actionable recommendations for code improvement.

Instructions

Analyze complete project structure and architecture with actionable strategic recommendations

WORKFLOW: Perfect for understanding complex code, identifying issues, and technical debt assessment TIP: Use Desktop Commander to read files, then pass content here for analysis SAVES: Claude context for strategic decisions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysisDepthNoLevel of analysis detaildetailed
analysisTypeNoType of analysis to performcomprehensive
codeNoThe code to analyze (for single-file analysis)
filePathNoPath to single file to analyze
filesNoArray of specific file paths (for multi-file analysis)
focusAreasNoAreas to focus on: architecture, dependencies, complexity, patterns
languageNoProgramming languagejavascript
maxDepthNoMaximum directory depth to analyze (1-5)
projectPathNoAbsolute path to project root
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. While it mentions the tool 'SAVES: Claude context for strategic decisions,' it doesn't describe critical behaviors like whether this is a read-only analysis or if it modifies files, what permissions are required, potential rate limits, or what the output format looks like. For a complex analysis tool with 9 parameters, this leaves significant gaps in understanding how it behaves.

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 efficiently structured with clear sections (main description, WORKFLOW, TIP, SAVES) and uses bullet-like formatting. Each sentence adds value, though the 'SAVES' section could be more clearly integrated. It's appropriately sized for a complex tool without unnecessary verbosity.

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

Completeness3/5

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

Given the tool's complexity (9 parameters, no annotations, no output schema), the description provides good purpose and usage context but lacks critical behavioral information. The absence of output schema means the description should ideally explain what kind of analysis results to expect, but it only mentions 'actionable strategic recommendations' without detailing the format or scope of outputs.

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?

The schema description coverage is 100%, so the schema already documents all 9 parameters thoroughly with descriptions, defaults, and enums. The description adds no additional parameter information beyond what's in the schema, making the baseline score of 3 appropriate since the schema does the heavy lifting for parameter documentation.

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 analyzes 'complete project structure and architecture' and provides 'actionable strategic recommendations,' which is a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like 'analyze_code_quality' or 'analyze_single_file,' which appear to have overlapping purposes in code analysis.

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?

The description provides clear context with 'WORKFLOW: Perfect for understanding complex code, identifying issues, and technical debt assessment' and 'TIP: Use Desktop Commander to read files, then pass content here for analysis,' giving practical guidance on when and how to use it. However, it doesn't explicitly state when NOT to use it or name specific alternatives among the many sibling tools.

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/houtini-ai/houtini-lm'

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