Skip to main content
Glama

Preview domain

preview_domain

Render a domain before adding it as an asset on a monitor with a capture reference. A preview exists only for a planned add_asset: it needs the monitor, passes the same checks add_asset would (valid domain, plan slot free, not already watched) and its confirm records that the user asked for the add. Returns the screenshot as image content so it can be shown to the user, plus a capture_token bound to that domain with its expiry in expires_at (a few minutes). The image is for the user to approve; the token then goes to add_asset as reference.capture_token, and a new preview_domain call retries the render. captured marks a usable capture: a favicon-only render has a token but no image, while a failed or blocked render returns the outcome with neither. Requires the mcp:write scope, since it only makes sense when setting up monitoring.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesA valid domain, e.g. "acme.com".
confirmYesRequired. true records that the user asked to add this domain to this monitor; a preview is the first step of add_asset, not a standalone lookup.
monitor_idYesMonitor id from list_monitors or create_monitor. The render is for a domain asset planned on this monitor.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
capturedYes
expires_atYes
capture_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Required. Set true only after the user has asked to add this domain to this monitor; a preview is the first step of add_asset, never a standalone lookup."New value: +"Required. true records that the user asked to add this domain to this monitor; a preview is the first step of add_asset, not a standalone lookup."
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources