Skip to main content
Glama
czx1111

Code Audit MCP Server

by czx1111

audit_scan

Scans codebases for security vulnerabilities using AST analysis and generates detailed reports. Supports multiple programming languages.

Instructions

执行完整的代码安全审计扫描,包括AST解析、漏洞检测和报告生成。支持Python、JavaScript、TypeScript、Go、Java、PHP等多种语言。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo扫描模式:quick(快速扫描高危漏洞)、standard(标准扫描)、deep(深度扫描)standard
scopeNo扫描范围security
languageNo指定编程语言,默认自动检测auto
maxFilesNo最大扫描文件数
targetPathYes要扫描的代码路径(文件或目录)
outputFormatNo输出格式markdown
Behavior2/5

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

No annotations are provided, so the description must convey behavioral traits. It describes scanning and analysis but does not disclose whether the tool is read-only, resource-intensive, or requires specific permissions. The lack of detail on side effects or constraints leaves the agent underinformed.

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?

The description is a single sentence that efficiently conveys the main purpose and supported languages. It is front-loaded with the key action. However, it could be more structured (e.g., bullet points for languages) to improve scannability.

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?

Given the tool's complexity (6 parameters, 4 enums, no output schema or annotations), the description is too sparse. It does not explain the output format beyond the parameter, nor the implications of different modes/scopes. The tool's full behavior is not adequately described.

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 clear descriptions for all 6 parameters. The tool description adds marginal value beyond the schema (e.g., mentioning supported languages, but that's already in the schema's 'language' enum). Baseline score of 3 is appropriate given high schema coverage.

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 performs a complete code security audit with AST parsing, vulnerability detection, and report generation. However, it does not distinguish itself from sibling tools like 'audit_quick_scan' or 'audit_analyze_file', which could lead to confusion about when to use this tool.

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 explicit guidance is provided on when to use this tool versus its alternatives (e.g., quick scans, per-file analysis, data flow analysis). The description implies a comprehensive scan, but lacks context on prerequisites, scenarios, or exclusions.

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/czx1111/Code-audit-MCP'

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