Skip to main content
Glama

clickjacking_test

Test websites for clickjacking vulnerabilities by checking X-Frame-Options and CSP headers, then generate proof-of-concept HTML if protections are missing.

Instructions

Check X-Frame-Options and CSP frame-ancestors headers; generate PoC iframe HTML. Fetches response headers and checks for framing protections. If protections are missing, generates a ready-to-use PoC HTML page that embeds the target in a transparent iframe with a decoy button overlay. Returns: {headers, x_frame_options, csp_frame_ancestors, vulnerable, poc_html}. Side effects: Single HEAD/GET request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_urlYesURL to test for clickjacking vulnerability, e.g. https://target/my-account
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and does so comprehensively. It explicitly describes side effects ('Single HEAD/GET request'), output structure, vulnerability assessment logic, and the conditional generation of PoC HTML. This provides excellent transparency about how the tool behaves.

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 efficiently structured with zero wasted sentences. It front-loads the core purpose, explains the process, describes the output, and notes side effects—all in three concise, information-dense sentences that each earn their place.

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?

Given the tool's complexity (security testing with conditional PoC generation) and the absence of both annotations and output schema, the description provides complete contextual information. It explains what the tool does, how it works, what it returns, and side effects, making it fully self-contained for an AI agent.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds meaningful context by specifying that the target_url should be tested for clickjacking vulnerability and providing an example ('e.g. https://target/my-account'), which enhances understanding beyond the schema's basic parameter documentation.

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 purpose with specific verbs ('check', 'generate', 'fetches') and resources (X-Frame-Options and CSP frame-ancestors headers, PoC iframe HTML). It distinguishes itself from sibling tools by focusing specifically on clickjacking vulnerability testing rather than other security tests like XSS, SQLi, or authentication attacks.

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 provides clear context for when to use this tool: to test for clickjacking vulnerabilities by checking specific headers. However, it doesn't explicitly state when not to use it or name specific alternatives among the sibling tools, though the security testing context is implied by the sibling list.

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/operantlabs/operant-mcp'

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