Skip to main content
Glama
Anselmoo

mcp-zen-of-languages

by Anselmoo

Analyze repository

analyze_repository
Read-onlyIdempotent

Analyze a repository for per-file feedback on language-specific best practices and idiomatic patterns, improving code quality across programming languages and CI/configuration formats.

Instructions

Analyze a repository path and return per-file analysis results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languagesNoRestrict analysis to specific language identifiers. Defaults to ``["python"]`` internally.
max_filesNoPer-language cap on the number of files to analyse, protecting against excessive runtime on monorepos. Default to 100.
repo_pathYesAbsolute path to the repository root. The MCP client typically resolves this from the active workspace.
enable_external_toolsNoOpt-in execution of allow-listed external tools while analyzing files. Default to False.
allow_temporary_runnersNoPermit temporary-runner fallback strategies for external tools. Default to False.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is known. The description adds the behavior of returning per-file results, but does not disclose the potential execution of external tools or file caps, which are only visible in the schema.

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 a single, front-loaded sentence that conveys the core purpose without wasted words. It is appropriately concise.

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 is minimal but the presence of a detailed schema and annotations helps. However, it lacks context about the type of analysis performed, the meaning of per-file results, and when to apply this tool, making it only minimally complete for a tool with five parameters.

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 all parameters have detailed descriptions. The tool description adds no additional parameter semantics, though it does identify repo_path as the main input. This aligns with the baseline of 3.

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 a repository path and returns per-file analysis results, using a specific verb and resource. It is distinguishable from siblings like detect_languages, though it does not specify the exact nature of the analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No usage guidance is provided. The description does not indicate when to use this tool versus alternatives such as analyze_zen_violations or generate_prompts, nor does it mention any exclusions or prerequisites.

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/Anselmoo/mcp-zen-of-languages'

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