Skip to main content
Glama
klimadev

MCP Codebase Symbols Server

by klimadev

analyze_codebase

Analyze codebases to extract functions, classes, methods, and other symbols into LLM-optimized markdown for AI assistants to understand project structures efficiently.

Instructions

Analyzes a codebase and returns a comprehensive LLM-optimized markdown with all symbols (functions, classes, methods, interfaces, types, etc.) and their file paths. Respects .gitignore rules. Perfect for giving LLMs complete understanding of code structure in a single request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the codebase directory to analyze
Behavior3/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. It describes key behaviors: returns comprehensive markdown, respects .gitignore rules, and is optimized for LLMs. However, it doesn't address potential limitations like performance characteristics, error conditions, or what happens with invalid paths. It provides useful context but lacks complete behavioral transparency.

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 appropriately sized with two sentences that each serve distinct purposes: the first describes the core functionality, the second provides usage context. It's front-loaded with the main purpose. While efficient, it could be slightly more structured by explicitly separating functional description from usage guidance.

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?

Given the tool's moderate complexity (codebase analysis), no annotations, and no output schema, the description does a good job covering the essential aspects: what it does, what it returns, and key behavioral constraints (.gitignore). However, it doesn't describe the output format in detail (beyond 'LLM-optimized markdown') or potential limitations, leaving some gaps in completeness.

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% with the single 'path' parameter well-documented in the schema. The description doesn't add any parameter-specific information beyond what the schema provides (it doesn't mention the path parameter at all). Since the schema does the heavy lifting, the baseline score of 3 is appropriate.

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 the tool's purpose with specific verbs ('analyzes', 'returns') and resources ('codebase', 'LLM-optimized markdown with all symbols'). It explicitly distinguishes from the sibling tool 'read_codebase' by emphasizing comprehensive analysis versus simple reading, mentioning specific symbol types and .gitignore handling.

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 for when to use this tool ('Perfect for giving LLMs complete understanding of code structure in a single request'), but doesn't explicitly state when NOT to use it or mention the sibling 'read_codebase' as an alternative. It implies usage for comprehensive analysis rather than basic reading, but lacks explicit exclusions.

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/klimadev/MyCodeKit-MCP'

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