Skip to main content
Glama
sinewaveai

agent-security-scanner-mcp

by sinewaveai

scan_security

Scan files for security vulnerabilities using multiple analysis engines. Choose verbosity levels from minimal counts to full metadata, and output results in JSON or SARIF format.

Instructions

Scan a file for security vulnerabilities. Use verbosity='minimal' for counts only (~50 tokens), 'compact' (default) for actionable info (~200 tokens), 'full' for complete metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
engineNoAnalysis engine: 'auto' (default, AST+semantic with regex fallback), 'ast' (tree-sitter only), 'regex' (regex only), 'semantic' (semantic/CPG only), 'all' (all engines)
file_pathYesPath to the file to scan
verbosityNoResponse detail level: 'minimal' (counts only), 'compact' (default, actionable info), 'full' (complete metadata)
output_formatNoOutput format: 'json' (default) or 'sarif' for GitHub/GitLab integration
enable_semanticNoEnable semantic/CPG analysis (default: true if available)
include_contextNoInclude surrounding code context for each issue
project_contextNoInclude project context (framework, security middleware, dependencies)
Behavior2/5

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

No annotations are provided. The description only mentions scanning behavior and rough token counts for verbosity levels, but lacks details on side effects, permissions, or error cases. Insufficient for a secure scanning tool.

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?

Two sentences with clear front-loaded purpose. The second sentence adds actionable usage guidance for verbosity. Efficient and focused, no 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?

No output schema exists; description does not explain return values or structure beyond vague 'actionable info' vs 'complete metadata'. Lacks details on result format, severity levels, or how to interpret output, making it incomplete for practical use.

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 covers 100% of parameters, so baseline is 3. Description adds token count estimates and default verbosity behavior, but other parameters like engine and output_format are not explained in the description, missing opportunity to add value.

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 scans a file for security vulnerabilities. It implies single-file scope, which distinguishes it from sibling tools like scan_project and scan_packages, but doesn't explicitly differentiate.

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 provides guidance on verbosity usage (~50, ~200 tokens) but fails to specify when to use this tool vs alternatives or when not to use it. No explicit context for tool selection.

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/sinewaveai/agent-security-scanner-mcp'

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