Skip to main content
Glama

pwntools_shellcraft

Read-onlyIdempotent

Generate exploit shellcode: set architecture, shell purpose (e.g., sh, reverse shell), and arguments.

Instructions

Generate shellcode using pwntools shellcraft module.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations indicate readOnlyHint=true, idempotentHint=true, and destructiveHint=false, but the description adds no behavioral context beyond 'Generate shellcode'. It does not disclose traits like platform dependencies, shellcode size limits, or that output format is raw bytes. With annotations, the bar is lower, but adding zero behavioral detail still warrants a low score.

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

Conciseness3/5

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

The description is extremely concise (single sentence), but it lacks necessary details, making it feel under-specified rather than efficiently concise. It is front-loaded with the verb, but could benefit from a brief elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having an output schema, the description fails to explain the tool's full capacity. It does not mention that the generated shellcode is for exploitation contexts, that it can handle multiple architectures, or how 'args' and 'purpose' interact. The tool has moderate complexity (3 params) but the description provides almost no contextual information.

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

Parameters1/5

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

Schema description coverage is reported as 0%, so the description must explain parameters. However, the description ignores all parameters (arch, args, purpose). It provides no insight into valid values, defaults, or how to specify shellcode type. This leaves the agent entirely dependent on the input schema's descriptions, which are present in the JSON but flagged as uncovered.

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 tool's action ('Generate shellcode') and identifies the specific module ('pwntools shellcraft'). Among sibling tools like pwntools_asm and pwntools_flat, this one is uniquely for shellcraft shellcode, effectively distinguishing its purpose.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives (e.g., pwntools_asm for custom assembly, pwntools_flat for packing). There is no mention of prerequisites, contexts, or when to avoid this tool.

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/oakkaya/edb-debugger-mcp'

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