Skip to main content
Glama

safari_paste_image

Paste a local image file into the focused page element via JS DataTransfer without clipboard access or stealing focus.

Instructions

Paste an image from a local file into the focused element via JS DataTransfer (no clipboard, no focus steal). Works on Medium, dev.to, HackerNoon, TOI, etc.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filePath": "<filePath>"
    },
    "name": "safari_paste_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
filePathYesAbsolute path to the image file (PNG, JPG, WebP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It usefully explains that the tool uses DataTransfer rather than the clipboard and does not steal focus, but it omits important behavioral details such as what focused element types are supported, whether the file must already exist, and what happens on failure.

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 two tight sentences with no wasted wording. The core action and distinguishing mechanism are front-loaded, followed by concise compatibility context.

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

Completeness3/5

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

For a tool with two parameters, no annotations, and no output schema, the description covers the mechanism and site compatibility reasonably well. It is less complete on prerequisites and failure behavior, which matters because pasting into a focused element can fail depending on the page and element state.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents filePath and the unusual receipt parameter. The description adds context that the file is a local image but does not add meaning beyond the schema for either parameter, which is an appropriate baseline 3.

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 states a specific verb and resource: paste an image from a local file into the focused element. It also identifies the mechanism (JS DataTransfer) and distinguishes itself from clipboard-based approaches by explicitly saying 'no clipboard'.

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

Usage Guidelines3/5

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

It gives useful context by naming supported sites such as Medium, dev.to, and HackerNoon, and by noting that it avoids clipboard and focus-steal behavior. However, it does not explicitly say when to choose this over sibling tools like safari_clipboard_write or when-not to use it, leaving the guidance implied rather than explicit.

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