Skip to main content
Glama

security_scan

Scan codebase for security vulnerabilities with deterministic checks and graph-aware severity scoring. Get ranked findings with attack scenarios and fixes.

Instructions

Scan the codebase for security vulnerabilities using deterministic checks + graph-aware severity scoring. No API key required.

Checks: dependency CVEs, shell injection, hardcoded secrets, path traversal, auth bypass, input validation, information disclosure, cryptography weaknesses, frontend XSS, architecture-level risks.

Graph-aware severity: vulnerabilities reachable from MCP tools or HTTP routes are automatically elevated. A medium shell injection reachable from connect_repo becomes Critical.

Returns ranked findings (Critical → Low) with attack scenarios and suggested fixes. Use --target for single-file scan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoRelative file path to scan. Omit to scan entire repo.
classesNoVulnerability classes to check. Omit for all.
graphAwareNoEnable graph-aware severity elevation (recommended). Default: true.
Behavior4/5

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

With no annotations, the description fully carries the burden. It transparently describes the scanning process, graph-aware severity elevation, and output format. No contradictions exist since there are no annotations.

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 well-structured and front-loaded with the primary purpose. It efficiently lists checks and explains key features without unnecessary verbosity, though a slightly more concise phrasing could be possible.

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?

Given the tool's complexity and lack of output schema, the description adequately informs about inputs and expected outputs (ranked findings with fixes). It fits well among sibling tools, providing enough context for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds value beyond schema by explaining the effect of parameters (e.g., 'Use --target for single-file scan' and graph-aware behavior). This enhances agent understanding of parameter usage.

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 it scans for security vulnerabilities using deterministic checks and graph-aware severity scoring. It lists specific vulnerability classes and distinguishes from siblings by noting graph-aware severity elevation from MCP tools like connect_repo.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool (security scanning) and hints at its unique graph-aware severity feature. However, it does not explicitly list exclusions or alternative tools for other analysis tasks.

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/depwire/depwire'

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