Skip to main content
Glama
vivashu27

SQL Injection MCP Server

by vivashu27

scan_url

Scans a URL for SQL injection vulnerabilities in all parameters using error, time, union, boolean, and blind techniques. Supports multiple databases, custom headers, cookies, bearer token, proxy, and WAF bypass.

Instructions

Scan a URL for SQL injection vulnerabilities in all detected parameters.

Args: target_url: Target URL with query parameters to scan (e.g., http://example.com/page?id=1) method: HTTP method - GET or POST post_data: POST data as key=value pairs separated by & (e.g., username=admin&password=test) injection_types: Comma-separated injection types to test (error_based, time_based, boolean_based, union_based, blind) database_types: Comma-separated database types to test (mysql, mssql, postgresql, oracle, sqlite, generic) headers: Custom headers as key:value pairs separated by | (e.g., X-Custom:value|X-API-Key:abc123) cookies: Cookies as key=value pairs separated by ; (e.g., session=abc123;token=xyz) bearer_token: Bearer token for Authorization header proxy_url: Proxy URL for Burp Suite or other proxies (e.g., http://127.0.0.1:8080) verify_ssl: Verify SSL certificates (set to false when using proxy) waf_bypass: WAF bypass technique (none, url_encode, double_url_encode, hex_encode, unicode, case_swap, comment_injection) timeout: Request timeout in seconds delay_threshold: Delay threshold in seconds for time-based detection

Returns: Scan results with vulnerabilities found

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_urlYes
methodNoGET
post_dataNo
injection_typesNo
database_typesNo
headersNo
cookiesNo
bearer_tokenNo
proxy_urlNo
verify_sslNo
waf_bypassNonone
timeoutNo
delay_thresholdNo
Behavior3/5

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

With no annotations, the description covers many behavioral aspects like injection types, WAF bypass, proxy, and timeouts. However, it omits disclosing that scanning sends potentially intrusive requests to the target, which is a significant behavioral trait.

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 with a clear purpose first, then parameter documentation. It is slightly verbose with a vague 'Returns' line, but overall efficient for a 13-parameter tool.

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?

Input parameters are thoroughly documented, but the return value is minimally described as 'Scan results with vulnerabilities found'. Given no output schema, more detail on the result format would improve completeness.

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

Parameters5/5

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

Schema coverage is 0%, so the description provides full parameter documentation. Each parameter includes explanation and examples, e.g., 'target_url: Target URL with query parameters to scan (e.g., http://example.com/page?id=1)'. This far exceeds the schema.

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 'Scan a URL for SQL injection vulnerabilities in all detected parameters' which is a specific verb+resource. It distinguishes from siblings like scan_get_parameter and scan_post_parameter which focus on individual parameters.

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

Usage Guidelines3/5

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

The description implies that this tool scans all parameters of a URL, contrasting with sibling tools that scan specific parameters. However, it does not explicitly state when to use this vs. alternatives, nor provide when-not-to-use conditions.

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/vivashu27/SQLinjector_MCP'

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