Skip to main content
Glama

Start Sqlmap Os Shell

start_sqlmap_os_shell

Attempts to gain an interactive OS command shell on a target by exploiting high-privilege SQL injection, launching a background process managed by the returned PID.

Instructions

Attempts to gain an interactive command-line shell on the underlying operating system. Tags: security, pentest, exploitation, vulnerability-scanner

Usage Guide:

  • This command launches a persistent process to attempt OS takeover.

  • Requires high database privileges.

  • This tool runs in the background. Use the returned PID to manage it.

Warnings: ⚠️ WARNING: This tool contains exploitation/destructive capabilities. Use with extreme caution.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "start_sqlmap_os_shell"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTarget URL to exploit.
batchNoAutomatically choose default behavior for prompts.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose key traits: persistent background process, privilege requirement, and an explicit exploitation/destructive warning. However, it says nothing about failure modes, whether the shell survives process restarts, or how to interpret the returned PID beyond managing it.

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?

Front-loaded with the core action, then organized into tags, usage bullets, and a warning section. Slight redundancy between the tags line and the explicit WARNING, but every section remains scannable and brief.

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?

An output schema exists, so return-value explanation isn't needed, and parameters are fully covered by the schema. What's missing is lifecycle detail an agent would want for a persistent exploit session — how the PID maps to the session and what conditions make the shell attempt fail.

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%, so both url and batch are fully documented in the schema itself. The description adds only indirect context (target must be exploitable, high privileges needed) and no meaning about the url or batch parameters beyond what the schema provides, so baseline 3 applies.

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?

States a specific verb+resource: gaining an interactive command-line OS shell, which is distinct from the sibling stop_sqlmap_os_shell and from the general-purpose run_sqlmap. It doesn't explicitly contrast itself with run_sqlmap, so sibling differentiation is implied rather than stated.

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 Usage Guide gives clear operating context: it launches a persistent background process, requires high database privileges, and should be managed via the returned PID — which implicitly points at stop_sqlmap_os_shell. It stops short of naming alternatives or stating when-not to use it (e.g., low-privilege targets).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.