Skip to main content
Glama

callback_generate

Generate callback payload URLs and commands for injection testing, each with a unique identifier for tracking when triggered.

Instructions

Generate callback payload URLs and commands for injection testing.

Creates ready-to-use payloads with unique identifiers that will be captured by the callback catcher when triggered.

Args: listener_ip: IP address of the callback listener (your Kali IP). http_port: HTTP listener port (default 8888). dns_port: DNS listener port (default 5353). payload_type: Type of payload to generate. Options: 'url' — simple callback URL 'curl' — curl and wget one-liners 'xxe' — XML External Entity payloads 'ssrf' — SSRF test URLs 'dns' — DNS lookup commands (nslookup, dig, host) 'all' — all of the above

Returns: Generated payloads with unique identifiers for tracking.

Example: callback_generate(listener_ip='10.10.14.5') callback_generate(listener_ip='10.10.14.5', payload_type='xxe')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dns_portNo
http_portNo
listener_ipYes
payload_typeNoall

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses that payloads include unique identifiers for tracking and are captured by the callback catcher. No annotations provided, so description carries the full burden. Mentions creation but not side effects; still sufficiently transparent for a generation tool.

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?

Efficient structure: summary line, short overview, then args and return sections. Every sentence adds value with no redundancy.

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?

Covers purpose, parameters, and behavior well. Has output schema, so detailed return format is not required. Some minor gaps like output examples beyond 'unique identifiers', but overall complete for a generation 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%, but the description explains all four parameters in detail: listener_ip (your Kali IP), http_port (default 8888), dns_port (default 5353), and payload_type with options (url, curl, xxe, ssrf, dns, all). Adds significant meaning beyond 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 it generates callback payload URLs and commands for injection testing, distinguishing it from sibling tools like callback_check or callback_list which monitor results.

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?

Provides clear context for use (injection testing) and describes payload types, but does not explicitly state when to avoid using this tool in favor of alternatives. However, the sibling tools list implies that callback_check etc. are for verification after generation.

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