Skip to main content
Glama

set_qrcode_attack

Generate a QR code that encodes a malicious URL, allowing you to print and place it on badges, posters, or signs for physical social engineering tests of user awareness.

Instructions

Generate a QR code pointing to a malicious URL for physical social engineering.

Uses SET's QRCode Generator Attack Vector via seautomate. The generated QR code can be printed and placed physically (badge lanyards, posters, signs) as part of a physical social engineering assessment to test user awareness.

Args: url: The URL to encode in the QR code (must be in tengu.toml allowlist). timeout: Execution timeout in seconds (default: from config).

Returns: Dict with tool name, url, returncode, output (truncated), errors, and success flag. The QR code image is written to SET's output directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the transparency burden. It discloses that the QR code is written to SET's output directory, that the URL must be allowlisted in tengu.toml, and that the return value is a dict with specific keys. It could go deeper on permissions or failure modes, but for a generation tool this is solid.

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?

The description is organized with a purpose statement, usage context, Args, and Returns sections. Every sentence contributes, though the phrasing is slightly more verbose than strictly necessary. Still, it is easy to scan and front-loads the key information.

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

Completeness5/5

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

For a low-complexity tool, the description covers the full context: purpose, physical deployment scenario, parameter constraints, return format, and output location. The presence of an output schema is noted, but the description also explains what the return dict contains, making it self-sufficient.

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 description coverage is 0%, so the description fully compensates by explaining both parameters: url requires an allowlist entry in tengu.toml, and timeout defaults from config. This adds meaningful constraints beyond what the bare schema shows.

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 opens with a specific verb and resource: 'Generate a QR code pointing to a malicious URL for physical social engineering.' It clearly identifies the tool's unique purpose among siblings like set_credential_harvester and set_payload_generator by naming SET's QRCode Generator Attack Vector.

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?

It provides clear context for when to use the tool: physical social engineering through printed QR codes on lanyards, posters, and signs to test user awareness. It does not explicitly name alternatives or exclusions, but the use case is distinct and well described.

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/rfunix/tengu'

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