Skip to main content
Glama

sqlmap_scan

Identify and exploit SQL injection vulnerabilities in web applications by running sqlmap against target URLs, with options for custom data, test levels, and database extraction.

Instructions

Automated SQL injection detection and exploitation using sqlmap. url: target URL with parameter (e.g. 'http://site.com/page.php?id=1') data: POST data string (e.g. 'user=foo&pass=bar') level: test level 1-5 (higher = more tests, slower) risk: risk level 1-3 (higher = more aggressive, may alter data) dbms: force DBMS type e.g. 'mysql', 'postgresql', 'mssql', 'oracle' technique: SQL injection techniques — B=Boolean, E=Error, U=Union, S=Stacked, T=Time, Q=Inline (default all: BEUSTQ) enumerate_dbs: enumerate databases (--dbs) enumerate_tables: enumerate tables (--tables) dump: dump table data — use with database and table params database: target database name (-D) table: target table name (-T) cookie: HTTP cookie header value random_agent: use random User-Agent NOTE: Always runs non-interactively (--batch).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
dataNo
dbmsNo
dumpNo
riskNo
levelNo
tableNo
cookieNo
databaseNo
techniqueNoBEUSTQ
random_agentNo
enumerate_dbsNo
enumerate_tablesNo
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explicitly notes 'Always runs non-interactively (--batch)' and warns that higher risk levels 'may alter data,' adding context beyond the schema. It also explains that higher levels mean more tests and slower execution. However, it does not describe output format or potential side effects like database modification during exploitation, which prevents a perfect score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured: a one-sentence purpose, then a compact parameter list with explanations, and a final note about non-interactive execution. Every line adds value; there is no fluff or repetition. The list format makes it scannable despite having 13 parameters.

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 (13 params, no annotations, no output schema), the description is highly complete. It covers all parameters, provides usage examples, and discloses key operational behavior like batch mode and potential data alteration. The only gap is the lack of information about return values or how results are accessed, which is partly mitigated by the absence of an output schema.

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?

The schema has 0% description coverage, so the tool description fully compensates by explaining every parameter with examples, ranges, and sqlmap flags. For instance, 'technique: SQL injection techniques — B=Boolean, E=Error, U=Union, S=Stacked, T=Time, Q=Inline' and 'risk: risk level 1-3 (higher = more aggressive, may alter data)' add substantial meaning beyond the raw schema names.

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 opens with 'Automated SQL injection detection and exploitation using sqlmap,' which clearly states the tool's specific verb ('detection and exploitation'), resource ('SQL injection'), and underlying engine ('sqlmap'). This distinguishes it from sibling scanning tools like nmap or nikto, which target different vulnerability classes.

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 usage for SQL injection testing via the first line, but it does not explicitly state when to choose this tool over alternatives, nor does it provide exclusions or prerequisites. There is no mention of when not to use it, such as when a non-invasive scan is required, though the 'may alter data' caveat hints at risk.

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/Neeraj829784/kali-mcp'

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