Skip to main content
Glama

reverse_shell_send_payload

Initiate a reverse shell by sending a payload command that runs in a background thread, then verify the session status to confirm connection.

Instructions

Send a payload command to trigger a reverse shell connection in a non-blocking way.

Executes the payload in a background thread to avoid blocking the server. Waits then returns session status to verify the connection was established.

Args: session_id: The session ID of the reverse shell listener payload_command: The payload command to execute (e.g., curl with reverse shell) timeout: Timeout for the payload execution in seconds (default: 10) wait_seconds: Seconds to wait before checking session status (default: 5)

Returns: Payload execution status and session info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
session_idYes
wait_secondsNo
payload_commandYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description discloses key behavioral aspects: non-blocking execution in a background thread, waiting, and returning session status. However, it omits potential pitfalls such as required active session or error handling.

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 three sentences plus a parameter list, front-loads the purpose, and contains no extraneous information. Every sentence earns its place.

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 output schema exists, the description need not detail return values, but it provides a summary. It lacks an example payload_command or additional context on typical usage, but covers most essentials.

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 description provides a full parameter list with purposes and defaults (timeout=10, wait_seconds=5), compensating for the 0% schema description coverage. Each parameter's role is clearly explained.

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 the verb 'Send' and the resource 'payload command to trigger a reverse shell connection', distinguishing it from other reverse shell tools that generate payloads or start listeners.

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 implies use after a listener is started (session_id) and explains the non-blocking execution and status verification, but does not explicitly state when not to use it or list alternative tools.

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

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