Skip to main content
Glama

browser_screenshot

Captures the active browser viewport and saves it as an image file at a chosen path, enabling visual checks and documentation.

Instructions

Simpan screenshot viewport aktif ke file.

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": {
      "filename": "<filename>"
    },
    "name": "browser_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesPath file tujuan, contoh: .playwright-mcp/panel.png

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It implies that a file will be written, but it does not say whether an existing file is overwritten, whether the path is relative to a working directory, what image format is produced, or what happens if the directory is missing. Saying 'viewport aktif' adds useful capture-scope context, but for a write-to-disk operation this leaves significant gaps.

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?

This is one short sentence with no wasted words, and the capture scope plus the destination are stated up front.

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?

The tool is simple with only one parameter, so the description is not badly incomplete; still, it omits any distinguishing guidance from the near-identically named sibling and any behavioral notes about writing a file. This is adequate but not complete for an agent choosing among many browser tools.

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 100%: the single filename parameter is already documented with an example path ('.playwright-mcp/panel.png'). The description adds no meaning beyond the schema, so the baseline of 3 is appropriate.

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 and resource: 'Simpan screenshot viewport aktif ke file' (save the active viewport screenshot to a file). It is clear about what is captured (viewport, not full page), but it does not distinguish this tool from the sibling browser_integrated_screenshot or explain how it differs from browser_snapshot.

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?

The description gives no guidance on when to use this tool instead of alternatives such as browser_integrated_screenshot or browser_snapshot, and it states no prerequisites or exclusions. The only clue about scope is 'viewport aktif', and the agent has to infer the rest.

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