Skip to main content
Glama
klimadev

MCP Codebase Symbols Server

by klimadev

read_codebase

Reads all code files in a directory while respecting .gitignore rules, returning structured content for AI analysis of project structures.

Instructions

Reads the full content of all code files in a directory respecting .gitignore rules and returns in a structured format. WARNING: This tool can generate very large responses, use on smaller directories or specific subdirectories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the codebase directory to read
Behavior4/5

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

With no annotations provided, the description carries full burden and adds valuable behavioral context: it discloses that the tool respects .gitignore rules and warns about potentially very large responses. It doesn't cover other aspects like error handling or performance characteristics, but provides key operational guidance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured in two sentences: the first states the core functionality, the second provides critical usage warning. Every sentence earns its place with no wasted words.

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 complexity (reading entire codebases) and lack of annotations/output schema, the description provides good coverage of key behavioral aspects but doesn't explain the 'structured format' of returns or error conditions. It's mostly complete but has some gaps.

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 the schema already documents the 'path' parameter fully. The description adds no additional parameter information beyond what the schema provides, maintaining the baseline score of 3.

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 specific action ('Reads the full content of all code files'), the resource ('code files in a directory'), and scope ('respecting .gitignore rules'). It distinguishes from the sibling 'analyze_codebase' by focusing on reading content rather than 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 for when to use ('use on smaller directories or specific subdirectories') due to the warning about large responses. However, it does not explicitly mention when NOT to use it or name alternatives like the sibling tool.

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