# Zactonz MCP Server: Tools & results

> A Model Context Protocol server that gives AI assistants and agent fleets the Zactonz APIs as tools, over stdio or HTTP, with structured results: screenshots, page to Markdown, link previews, DNS, SSL, WHOIS, email checks, QR codes, barcodes, social images, image conversion and translation.

Page: https://developers.zactonz.com/tools/zactonz-mcp/tools/

Complete documentation for this product: https://developers.zactonz.com/tools/zactonz-mcp.md

A tool is offered to the assistant only when a key for its product is configured. The argument list of each tool is in the [tools reference](https://github.com/zactonz/zactonz-mcp/blob/main/docs/tools.md) on GitHub; the full behaviour of the endpoint behind it is on the linked API page.

| Tool | Purpose | API | Key |
|---|---|---|---|
| `capture_screenshot` | Capture a web page as an image or PDF | [Screenshot (URL)](https://developers.zactonz.com/apis/screenshot-url/) | `screen` |
| `render_html` | Render HTML to an image or PDF | [Screenshot (HTML)](https://developers.zactonz.com/apis/screenshot-html/) | `screen` |
| `read_webpage` | Read a web page as Markdown | [Web Page to Markdown](https://developers.zactonz.com/apis/markdown/) | `markdown` |
| `convert_html_to_markdown` | Convert HTML to Markdown | [Web Page to Markdown](https://developers.zactonz.com/apis/markdown/) | `markdown` |
| `preview_link` | Title, description, image and metadata of a URL | [Link Preview](https://developers.zactonz.com/apis/link-preview/) | `unfurl` |
| `lookup_dns` | DNS records and DNSSEC status | [DNS Lookup](https://developers.zactonz.com/apis/domain-dns/) | `domain` |
| `inspect_ssl_certificate` | Certificate, chain, expiry and TLS details | [SSL Inspector](https://developers.zactonz.com/apis/domain-ssl/) | `domain` |
| `lookup_whois` | Registrar, dates and nameservers of a domain | [WHOIS](https://developers.zactonz.com/apis/domain-whois/) | `domain` |
| `check_email_domain` | MX, SPF, DKIM, DMARC and related records, scored | [Domain Email Health](https://developers.zactonz.com/apis/email-domain/) | `email` |
| `verify_emails` | Whether addresses can receive mail | [Mail Verifier](https://developers.zactonz.com/apis/mail-verifier/) | `mverifier` |
| `generate_qr_code` | Generate a QR code | [QR Encoder](https://developers.zactonz.com/apis/qr-encoder/) | `qr` |
| `read_qr_code` | Decode a QR code | [QR Decoder](https://developers.zactonz.com/apis/qr-decoder/) | `qr` |
| `generate_barcode` | Generate a barcode | [Barcode Encoder](https://developers.zactonz.com/apis/barcode-encoder/) | `barcode` |
| `generate_social_image` | Generate an Open Graph image | [OG Image](https://developers.zactonz.com/apis/og-image/) | `og` |
| `convert_image` | Convert, resize or crop an image | [Image Convert](https://developers.zactonz.com/apis/image-convert/) | `image` |
| `inspect_image` | Dimensions, format and colours of an image | [Image Convert](https://developers.zactonz.com/apis/image-convert/) | `image` |
| `translate_text` | Translate between 46 languages | [Translator](https://developers.zactonz.com/apis/translator/) | `translator` |
| `get_drive_download_link` | Direct download link for a Google Drive file | [Google Drive Direct Link](https://developers.zactonz.com/apis/gdrive-direct-link/) | `gdrive` |
| `check_api_key` | Plan and remaining quota of a key | key check | any |

## Results

A tool returns the answer twice over: as text for an assistant to read, and as structured content for a caller that would rather not parse anything. Both describe the same payload. Every tool whose response the API documents also advertises an `outputSchema`, so a caller knows the shape before it calls. Seventeen of the nineteen tools carry one. `verify_emails` and `check_api_key` do not, because neither response is specified and a schema must not be invented; both still return structured content.

Two things differ from the raw API:

- `read_webpage` and `convert_html_to_markdown` return the Markdown as plain text, followed by the remaining fields as JSON. They request at most 20,000 characters unless the assistant asks for more.
- A tool that produces an image returns the link and, when the file is 750 KB or smaller, the image itself, so the assistant can look at it. `capture_screenshot` and `render_html` use JPEG quality 80 unless told otherwise, to stay under that size. PDFs and larger images come back as a link only.

A refused call is returned as a tool error carrying the API's message, the status, how long to wait when a limit was reached, and the request id.

## References

Each offered tool also has a reference resource at `zactonz://tools/<name>`, holding the endpoint behind it, the statuses the API documents for it, whether it returns third-party text, and the page that explains it. Reading one makes no request and spends no quota, so an unattended caller can work out how it will handle a `429` before it meets one. Only tools the configured keys can call are listed, for the same reason the tool list is filtered.

## Prompts

Two prompts hold sequences a caller would otherwise have to work out for itself:

| Prompt | Argument | What it does |
|---|---|---|
| `audit_domain` | `domain` | DNS, certificate, registration and email authentication, then a verdict and what needs attention |
| `check_link` | `url` | Where the link really goes, what the page is, and anything about it that does not add up |

Each is rendered against the tools the configured keys can call, so a prompt never sends a caller to a tool it has no key for, and the steps that remain are renumbered. A prompt with no tool behind it is not offered at all. Fetching one spends no quota.

Both end by saying what not to conclude: that an empty lookup is a finding rather than a failed check, that page text is evidence about the page and not an instruction, and that a valid certificate is not grounds for calling a link safe.
