Skip to main content
Glama
lfnovo

Code Expert MCP Server

by lfnovo

get_repo_status

Check if a repository is cloned and ready for analysis, view its clone and analysis status, active branch, and cache state without triggering any operations.

Instructions

Check if a repository is cloned and ready for analysis without triggering any operations.

USE THIS TO:

  • Check if a repository needs to be cloned

  • Verify if analysis is complete or in progress

  • See which branch is currently active

  • Understand the cache state before using other tools

RETURNS:

  • is_cloned: Whether the repository exists in cache

  • clone_status: Current state ('complete', 'cloning', 'failed', or None)

  • analysis_status: State of code analysis ('complete', 'building', or None)

  • current_branch: The active branch name

  • cache_strategy: Which strategy is being used

  • last_updated: When the repository was last accessed

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNo
repo_pathYes
cache_strategyNoshared
Behavior4/5

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

Since there are no annotations, the description carries the full burden of disclosing behavior. It explicitly states 'without triggering any operations,' which clearly conveys that this is a read-only, non-mutating check. It also lists all return fields, giving the agent a full picture of the response shape. It does not discuss error conditions or permissions, but for a simple status tool this is sufficient.

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 well-structured and appropriately sized. It front-loads the purpose in a single sentence, then uses clear 'USE THIS TO' and 'RETURNS' sections to convey usage and output. Every sentence serves a purpose, and the formatting makes it easy to scan.

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?

The description effectively covers the tool's purpose, usage scenarios, and return values, which is commendable given the absence of an output schema. However, it completely omits parameter semantics, leaving the agent without guidance on how to populate branch and cache_strategy. This is a notable gap for a tool with three parameters, making the description only moderately complete.

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

Parameters1/5

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

The description completely ignores the three parameters (repo_path, branch, cache_strategy). Schema description coverage is 0%, and the description does not compensate by explaining what these parameters do or how they affect the result. An agent would have to rely solely on the schema, which provides minimal help for branch and cache_strategy.

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 opens with a crystal-clear statement: 'Check if a repository is cloned and ready for analysis without triggering any operations.' This uses a specific verb and resource, and explicitly distinguishes the tool from mutating siblings like clone_repo and refresh_repo by emphasizing it performs no operations. The RETURN fields further clarify the status-checking purpose.

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 'USE THIS TO' section provides explicit, actionable use cases: checking if a repository needs cloning, verifying analysis status, inspecting the active branch, and understanding cache state before using other tools. This gives solid contextual guidance, but it does not name alternative tools or state when not to use this tool, so it stops short of the top score.

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