Skip to main content
Glama

check_quality

Analyze code quality by project type. Use fast logic or AI-powered deep analysis to detect issues, complexity, security, and unused code.

Instructions

Check code quality based on project type. Supports both fast (logic-based) and deep (AI-powered) analysis modes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for paginated results. Default: 1
pageSizeNoNumber of issues per page. Default: 50, Max: 100
aiEnabledNoEnable AI analysis (alternative to deepAnalysis). Default: false
projectPathYesPath to the project
projectTypeNoOverride detected project type
deepAnalysisNoEnable AI-powered deep analysis (slower but more accurate). Default: false
checkSecurityNoCheck for security issues (requires deep analysis). Default: false
checkComplexityNoCheck code complexity (requires deep analysis). Default: false
checkUnusedCodeNoCheck for unused code. Default: true
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only says 'Check code quality' and mentions modes, but does not disclose whether the tool is read-only, what it returns, or that certain checks (security/complexity) require deep analysis—a key behavioral constraint. This is insufficient for a tool with no annotation safety hints.

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 two sentences, front-loaded with the primary purpose and then providing mode information. Every word earns its place; it is concise and well-structured without redundancy.

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?

This is a moderately complex tool with 9 parameters, no output schema, and no annotations. The description does not mention the return format, pagination behavior, or how it relates to sibling tools like analyze_project. Given the lack of an output schema, the description should explain what the tool returns, but it omits that entirely.

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's mention of 'fast (logic-based) and deep (AI-powered) analysis modes' loosely maps to aiEnabled and deepAnalysis, but adds minimal new meaning beyond what the schema already describes. No parameter-specific details are added.

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 a specific action ('Check code quality') and a resource ('project type'), giving a clear sense of the tool's purpose. However, it does not explicitly distinguish itself from sibling tools like analyze_project, which could serve a similar function, so it misses full differentiation.

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?

The description mentions two modes (fast and deep) but provides no guidance on when to use this tool compared to alternatives like analyze_project or get_recommendations. There is no explicit context for selecting check_quality over its siblings, leaving the agent without decision-making guidance.

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/zoharazr/code-quality-mcp'

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