Skip to main content
Glama

msfvenom_generate

Generate reverse shell payloads with msfvenom, specifying payload type, listener IP, port, and output format. Saves the artifact securely for use in penetration testing.

Instructions

Generate a payload using msfvenom. Saved to ~/kali-mcp/artifacts/ (chmod 600). payload: e.g. 'linux/x64/meterpreter/reverse_tcp' lhost: listener IP address lport: listener port format: elf, exe, raw, php, py, rb, sh, dll, jar, war filename: output filename (auto-generated if empty)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lhostYes
lportYes
formatNoelf
payloadYes
filenameNo
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It does mention the save location (~/kali-mcp/artifacts/) and file permission (chmod 600), but it does not describe what happens on success or failure, whether existing files are overwritten, or any prerequisite like msfvenom being installed.

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 extremely concise, with a one-line action summary followed by a clearly formatted parameter list. Every line adds meaningful information without wasted words.

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 no annotations or output schema, the description covers the core behavior and all parameters well. However, it omits the return value or how the agent will know the artifact path/status, which is important contextual information for a file-generating tool.

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% and the description fully compensates by explaining every parameter: payload with an example, lhost/lport meanings, allowed format values, and filename behavior when left empty. This is essential semantic information not present in 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?

Description clearly states the tool generates a payload using msfvenom, with a specific resource (payload artifact). The verb 'Generate' and destination path distinguish it from sibling tools like msf_run_module or msf_search.

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 makes the use case clear: create an msfvenom payload file. It does not explicitly state when not to use it, but the context and parameter list are unambiguous, and no conflicting alternatives are mentioned.

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