Skip to main content
Glama

Take Screenshot

take_screenshot
Read-onlyIdempotent

Capture a screenshot of any webpage. Returns image URL showing the rendered page layout and visual content, use to verify page state or design.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "https://www.example.com"
    },
    "name": "take_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL of the webpage to screenshot.

Output Schema

NameRequiredDescriptionDefault
urlNoThe URL that was screenshotted
widthNoScreenshot width in pixels
heightNoScreenshot height in pixels
screenshot_urlNoURL of the generated screenshot image

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "height": {
      +      "description": "Screenshot height in pixels",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "screenshot_url": {
      +      "description": "URL of the generated screenshot image",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "description": "The URL that was screenshotted",
      +      "type": "string"
      +    },
      +    "width": {
      +      "description": "Screenshot width in pixels",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "url": "https://www.example.com"
      +  },
      +  {
      +    "url": "https://www.wikipedia.org"
      +  }
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorld, so the safety profile is fully covered and the description doesn't contradict it. The description does add genuine value by disclosing what comes back: an image URL showing rendered layout and visual content. It omits render-wait behavior, full-page vs viewport framing, and any failure modes.

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?

Two short sentences, front-loaded with the action and followed by the return value and use case. The second sentence is a comma splice that reads slightly run-on, but nothing is padded or redundant.

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?

With one fully documented parameter, rich annotations, and an output schema that needn't be restated in prose, the description covers everything the agent needs to select and call this tool. The remaining gaps (framing, render timing) are refinements rather than selection blockers.

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?

There is only one parameter and the schema documents it at 100% coverage ("The URL of the webpage to screenshot"), so the schema already carries the load. The phrase "any webpage" adds a small scope hint that the URL can point at arbitrary public pages, but nothing about format, timeouts, or viewport control.

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 states a specific verb ("Capture") and resource ("screenshot of any webpage"), so the agent immediately knows the action and target. It doesn't differentiate from any sibling, but the sibling list contains no competing screenshot capability, so the omission costs little.

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?

"use to verify page state or design" gives an implied use case, which is better than nothing. There is no statement of when not to use it, no alternative tool named, and no note about pages that require authentication or that render slowly, so the agent is left to infer the boundaries.

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.