Skip to main content
Glama

Get Screenshot

getScreenshot

Capture a base64 screenshot of the full page or top viewport. Browser rendering is always enabled.

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

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute HTTP or HTTPS URL of the page to process.
htmlNoWhether to include the page HTML in the response.
proxyNoCustom proxy URL used to load the page.
superNoWhether to route the request through real devices.
geoCodeNoTwo-letter country code to load the page from, sent in lowercase.us
timeoutNoPage load timeout in seconds, from 1 to 300. The HTTP request allows 30 additional seconds.
markdownNoWhether to include the page Markdown in the response.
waitUntilNoNavigation completion event to wait for: domcontentloaded, load, networkidle0, or networkidle2.domcontentloaded
maxRetriesNoMaximum number of retries, as a nonnegative integer. Omit this parameter for no limit.
saveResultNoWhether to save the result to the dashboard Result tab.
screenshotNoScreenshot area to capture: full for the entire page or top for the top viewport.full
proxyCountryNoTwo-letter country code of the proxy server, sent in lowercase.us
returnCookieNoWhether to include browser session cookies in the response.
blockResourcesNoWhether to block images, fonts, and stylesheets while loading the page.
waitForSelectorNoWait for the page to contain the specified CSS selector before returning the result.

Output Schema

NameRequiredDescriptionDefault
dataYesParsed response JSON or text.
errorNo
headersYesResponse headers with credentials removed.
status_codeYesUpstream HTTP status, or null for a network failure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already cover open-world access and non-destructiveness, and the description adds two useful facts: output is base64 and browser rendering can never be disabled (implying JS execution and heavier loads). It says nothing about latency, cost, retries, proxy/geo behavior, or that the page is actually loaded over the network.

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?

Two short sentences, front-loaded with the payload statement and scope, with the always-on rendering caveat immediately after. No filler or redundancy.

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?

A 15-parameter tool with full schema coverage, annotations, and an output schema is adequately served: return values are documented elsewhere and safety hints are present. Still, for a browser-automation capture tool, a note on side effects or cost would round it out.

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?

With 15 parameters at 100% schema coverage, the schema carries the semantics, and the baseline of 3 applies. The description only restates the screenshot enum (full vs top) and never touches the higher-impact switches like html, markdown, returnCookie, blockResources, or saveResult.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("Capture a base64 screenshot") plus the scope choice (full page or top viewport), so the agent knows exactly what it gets back. It never names or contrasts a sibling such as scrapeHtml or scrapeMarkdown, so differentiation is implied rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not guidance. Nothing tells the agent to prefer this over scrapeHtml/scrapeMarkdown when it needs pixels rather than markup, and no prerequisites (paid tier, browser availability) are mentioned.

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.