Skip to main content
Glama
lfnovo

Code Expert MCP Server

by lfnovo

get_repo_documentation

Retrieve and analyze documentation files—READMEs, API docs, design docs—from a previously cloned repository to understand project context.

Instructions

Retrieve and analyze documentation files from a repository, including README files, API docs, design documents, and other documentation. Repository must be previously cloned via clone_repo.

PARAMETER:

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states 'retrieve and analyze' but does not explicitly indicate whether this is a read-only operation, whether it modifies the repository, or what side effects might occur. The prerequisite about cloning is present, but it does not disclose safety or side-effect behavior.

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 relatively concise, with a clear first sentence and a structured parameter section. The formatting is slightly unconventional for a description, but every sentence conveys useful information without unnecessary padding.

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?

Even though the tool is moderately simple, it has no output schema and no annotations. The description does not explain what the tool returns or what 'analyze' produces (e.g., extracted text, summaries, file paths), leaving a significant gap for an agent deciding how to use the output. The prerequisite is stated, but return semantics are missing.

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

Parameters4/5

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

The schema has a single parameter (repo_path) with zero description coverage, but the description compensates by providing a dedicated PARAMETER section explaining the accepted formats (GitHub URL, Azure DevOps URL, local path) and including concrete examples. This adds meaningful value beyond the bare schema definition.

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 retrieves and analyzes documentation files from a repository, listing specific types like README and API docs. However, it does not explicitly differentiate from sibling tools such as get_repo_file_content or get_repo_structure, so it falls short of a 5.

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 gives a clear prerequisite: the repository must be previously cloned via clone_repo. It does not mention when to use this tool over alternatives or provide exclusions, but the enforcement of the clone prerequisite provides useful usage context.

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/lfnovo/code-expert-mcp'

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