# url2Pdf

Convert a URL to PDF

Agent View of the PolicyLayer registry record for `url2Pdf`. HTML page: https://policylayer.com/tools/com-geekflare-mcp/url2pdf

## Facts

- Tool: `url2Pdf`
- Server: Mcp (`@geekflare/mcp`) — https://policylayer.com/tools/com-geekflare-mcp.md
- Install: `npx -y @geekflare/mcp`
- Homepage: https://github.com/oci:geekflarehq/geekflare-api-mcp:0.3.5
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 10 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | Target URL |
| `scale` | number | no | Zoom level (0–2) |
| `device` | string | no |  |
| `format` | string | no |  |
| `margin` | object | no |  |
| `hideCookie` | boolean | no |  |
| `orientation` | string | no |  |
| `skipCaptcha` | boolean | no |  |
| `addTimestamp` | boolean | no |  |
| `proxyCountry` | string | no | Country code for proxy routing |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "url2Pdf",
    "arguments": {
      "url": "<url>"
    }
  }
}
```

## Why url2Pdf is rated High

This tool executes an external process: it fetches a remote URL and renders its content into a PDF document. This is not a simple read (it involves rendering and file generation) nor purely destructive, but it executes an external operation whose effects depend on the URL argument. Misuse could involve fetching malicious URLs, generating PDFs of sensitive internal pages, or causing SSRF-like behavior.

From the tool's own definition: "Convert a URL to PDF — triggers an external operation (fetching a URL and rendering it to PDF)"

Risk signals: Accepts URL/endpoint input (url) · High parameter count (14 properties)

## Use case

AI agents invoke url2Pdf to trigger actions in Mcp. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "url2Pdf": {
      "limits": [
        {
          "counter": "url2pdf_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Mcp (19)

- `lighthouse` — Execute — https://policylayer.com/tools/com-geekflare-mcp/lighthouse.md
- `mtr` — Execute — https://policylayer.com/tools/com-geekflare-mcp/mtr.md
- `openPorts` — Execute — https://policylayer.com/tools/com-geekflare-mcp/openports.md
- `ping` — Execute — https://policylayer.com/tools/com-geekflare-mcp/ping.md
- `brokenLink` — Read — https://policylayer.com/tools/com-geekflare-mcp/brokenlink.md
- `dnsRecord` — Read — https://policylayer.com/tools/com-geekflare-mcp/dnsrecord.md
- `dnsSec` — Read — https://policylayer.com/tools/com-geekflare-mcp/dnssec.md
- `httpHeader` — Read — https://policylayer.com/tools/com-geekflare-mcp/httpheader.md
- `httpProtocol` — Read — https://policylayer.com/tools/com-geekflare-mcp/httpprotocol.md
- `loadTime` — Read — https://policylayer.com/tools/com-geekflare-mcp/loadtime.md
- `metaScrape` — Read — https://policylayer.com/tools/com-geekflare-mcp/metascrape.md
- `mixedContent` — Read — https://policylayer.com/tools/com-geekflare-mcp/mixedcontent.md
- `redirectCheck` — Read — https://policylayer.com/tools/com-geekflare-mcp/redirectcheck.md
- `screenshot` — Read — https://policylayer.com/tools/com-geekflare-mcp/screenshot.md
- `search` — Read — https://policylayer.com/tools/com-geekflare-mcp/search.md
- `siteStatus` — Read — https://policylayer.com/tools/com-geekflare-mcp/sitestatus.md
- `tlsScan` — Read — https://policylayer.com/tools/com-geekflare-mcp/tlsscan.md
- `ttfb` — Read — https://policylayer.com/tools/com-geekflare-mcp/ttfb.md
- `webScrape` — Read — https://policylayer.com/tools/com-geekflare-mcp/webscrape.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-geekflare-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-geekflare-mcp
