Skip to main content
Glama

safari_screenshot

Capture a visual Safari screenshot as base64 JPEG to verify page layout, styling, images, or colors when text snapshots cannot show them; set maxWidth to reduce token size.

Instructions

Take a visual screenshot (base64 JPEG). EXPENSIVE — use safari_snapshot instead for most tasks. Only use screenshot when you need to verify visual layout, styling, images, or colors that snapshot can't show. Pass maxWidth (e.g. 1024) for layout checks — far fewer tokens.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "safari_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
fullPageNoCapture full page (not just viewport)
maxWidthNoDownscale to this pixel width before returning (default: env SAFARI_MCP_SCREENSHOT_MAX_WIDTH, else none). Retina captures are 2× the viewport; 1280 keeps text readable at a third fewer tokens, 800 is plenty for layout checks. 0 = never scale.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does disclose the key traits: it is expensive, output is base64 JPEG, and downscaling reduces token cost. It does not say whether capture defaults to the viewport versus full page, which is left entirely to the fullPage parameter.

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?

Three compact sentences, front-loaded with the cost warning and the cheaper alternative before the exception. No filler; every clause carries decision-relevant information.

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

Completeness4/5

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

For a three-parameter, annotation-free tool with no output schema, the description covers cost, return type, and selection criteria well. The only real gap is default capture behavior (viewport vs full page) and what receipt does beyond the schema's note to omit it.

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 baseline is 3, but the description adds an actionable recommendation to pass maxWidth (e.g. 1024) for layout checks and ties it to token cost. That partly duplicates the schema's own 800/1280 guidance, and fullPage/receipt are not discussed.

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?

States a specific verb and resource ("Take a visual screenshot") plus the return format (base64 JPEG). It also draws an explicit boundary against safari_snapshot, so an agent can pick between them without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a default recommendation ("use safari_snapshot instead for most tasks") and the precise exception where this tool is required (verifying layout, styling, images, colors). The when-not guidance is explicit rather than implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools