Skip to main content
Glama

Import URL

import_url

Import a public web page as an editable screen: the page is loaded in a browser (scrolled to the bottom so that what loads on scroll comes along, reveal animations shown as they end), its elements written as HTML + Tailwind from their computed styles, its images stored as workspace assets. Fonts Saymock cannot load (not on Google Fonts nor in the workspace) are replaced by the next font of their stack, and listed; iframes, canvases (WebGL) and videos become grey boxes of their size, listed; cookie banners, full-screen overlays and what only screen readers see are left out. Answers within about 50 s: a slow page is scrolled less far, and says so. The screen hugs its height (at most 20000px of the page) and remembers a screenshot of the page as its reference: refine it with compare_to_reference {fileId, frameId} (no reference needed), then edit_html. Public pages only: no sign-in, no localhost. Counts as a render.

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": {
      "fileId": "<fileId>",
      "url": "<url>"
    },
    "name": "import_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe page, e.g. https://example.com/pricing.
widthNoOr a viewport width in px (desktop layout).
deviceNoViewport the page is loaded at: a device preset (phones and tablets get the site's mobile layout): iphone-16, iphone-16-pro-max, iphone-se, pixel-9, galaxy-s24, ipad, ipad-pro-13, laptop, desktop, desktop-hd. Default desktop, 1440px wide.
fileIdYes
nearIdNoA frame or section to put the screen beside (right of it if there is room, else below).
pageIdNoPage of the file to put the screen on. Default: the first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes far beyond the annotations (openWorldHint=true, destructiveHint=false) by disclosing scroll-to-bottom capture, animation settling, font substitution rules, grey-box handling of iframes/canvases/videos, exclusion of cookie banners and screen-reader-only content, the ~50s timeout with reduced scrolling, the 20000px height cap, the stored reference screenshot, and the fact it counts as a render (billing/quota).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense paragraph, front-loaded with the core action and ending with the refinement workflow, so an agent can stop reading early. The nested parentheticals about reveal animations and font stacks are long but each carries real behavioral information.

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

Completeness5/5

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

For a six-parameter, side-effectful import with no output schema, the description covers what is produced, what is degraded, timing limits, failure/partial-result behavior, and the natural next steps. Nothing an agent needs before invoking it appears to be missing.

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 coverage is already 83%, and the description adds nothing about url, device, width, nearId, or pageId semantics; those are fully documented in the schema. The only parameter-adjacent value is naming the fileId/frameId pair used with compare_to_reference, so baseline 3 applies.

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 ('Import a public web page as an editable screen') and immediately unpacks the output form: HTML + Tailwind from computed styles, images as workspace assets. That distinguishes it from edit_html and compare_to_reference, which the description explicitly casts as follow-up tools.

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

Usage Guidelines4/5

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

Gives hard eligibility constraints ('Public pages only: no sign-in, no localhost') and an explicit follow-up chain: refine with compare_to_reference {fileId, frameId} then edit_html. It does not name a competing import or screenshot-only alternative, but the when-to-use boundaries are still clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.