Skip to main content
Glama
Anselmoo

mcp-zen-of-languages

by Anselmoo

Analyze repository (batch / LLM-safe)

analyze_batch
Read-onlyIdempotent

Analyze a repository to detect language-specific violations, prioritizing severity within a token budget. Fetch additional pages with the provided cursor.

Instructions

Analyse a repository path and return token-budgeted, paginated violations designed for LLM context windows. Highest-severity violations appear first. Pass the returned cursor to resume from the next page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute or relative path to the repository root.
cursorNoOpaque continuation token from a previous call. Omit or pass ``None`` to start from the first page. Default to None.
languageYesLanguage identifier to restrict analysis (e.g. ``"python"``).
max_filesNoCap on the number of files to analyse. Default to 100.
max_tokensNoApproximate token budget for the ``violations`` payload. Violations are added until the budget would be exceeded; the envelope overhead is excluded from this count. Default to 8000.
enable_external_toolsNoOpt-in execution of external linters. Default to False.
allow_temporary_runnersNoPermit temporary-runner strategies. Default to False.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
cursorYes
has_moreYes
violationsYes
files_totalYes
files_in_pageYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering safety. The description adds meaningful behavioral context by revealing token budgeting, severity ordering, and cursor-based pagination, which are not visible from annotations alone. This goes beyond schema parameter descriptions and helps the agent anticipate the tool's output characteristics.

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 compact: two sentences capture the main purpose and the crucial pagination mechanism. It is front-loaded with the core action and outcome, and no unnecessary details or repetition inflate the length.

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?

With an output schema present, the description need not explain return values. It adequately conveys the primary function, token budget, ordering, and resume behavior, which are the key operational aspects. The only notable gap is the lack of guidance on choosing this tool over sibling analysis tools, but given the schema and annotation coverage, the description remains sufficiently complete for a 7-parameter tool.

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 baseline is 3. The description does not add extra parameter-level insight beyond what the schema already provides; it simply reflects the overall token-budget and pagination behavior. No additional syntax, format, or edge-case details are given, so it meets but does not exceed the baseline.

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 action (analyse a repository path) and its specific output (token-budgeted, paginated violations) with a memorable detail (highest-severity first). The title adds 'batch / LLM-safe,' which helps distinguish it from sibling tools like analyze_repository without needing to name them.

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

Usage Guidelines3/5

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

The description implies the intended use case ('designed for LLM context windows') but does not explicitly say when to use this tool over alternatives such as analyze_repository or analyze_batch_summary. It lacks any exclusion criteria or direct mention of alternative tools, so the guidance is implicit rather than explicit.

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