Skip to main content
Glama

project_audit

Scans project directories for code quality issues such as hardcoded secrets, absolute paths, SQL errors, and CSS anomalies. Returns a severity-flagged problem list.

Instructions

扫描项目目录,检测常见的代码质量问题:硬编码密码/密钥、硬编码绝对路径、SQL语法错误、CSS变量异常(循环引用、引用未定义变量、非:root区域引用未定义变量)等。运行后返回带有严重级别的问题列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
severityNo筛选最低严重级别,默认 all
projectPathYes要扫描的项目根目录(绝对路径)
Behavior2/5

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

No annotations provided, so description must carry full burden. It discloses detected issue categories and return format but does not mention read-only nature, required permissions, performance impact, or safety profile. Significant behavioral gaps remain.

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?

Description is concise and front-loaded with the main action ('scan project directory') and then lists specific issues. It is efficient but slightly run-on as a single long sentence. One sentence earns its place.

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?

Tool has no output schema, so description should explain output format. It mentions a list with severity but omits details like object structure or property names. Parameter descriptions are clear but output remains ambiguous. Adequate but with gaps.

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 coverage is 100% with descriptions for both parameters. The description adds no additional meaning beyond the schema (e.g., severity filter and project path are already clear). Baseline 3 applies as no extra value is provided.

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?

Description clearly states it scans a project directory for code quality issues like hardcoded passwords, absolute paths, SQL errors, and CSS variable anomalies. It distinguishes itself from sibling tools (e.g., browser audits, security scans) by focusing on static code analysis of a project directory.

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 guidance on when to use this tool versus alternatives. It does not specify prerequisites, exclusions, or compare with sibling tools like 'css_var_check' or 'security_scan'. The description only lists what it checks, leaving the agent to infer 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/validpilot/ai-verify-mcp'

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