Skip to main content
Glama

browser_screenshot

Captures a screenshot of the current web page and saves it to the output directory, with optional full-page capture and filename selection.

Instructions

截图当前页面(返回图片并保存到输出目录)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNo文件名(不含目录),如 baidu.png
fullPageNo是否截取整页,默认 false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose two real behaviors beyond the name: the tool returns an image and it writes a file into an output directory. It stops short of saying what the default filename is, whether the file is overwritten, or how failures (e.g. no page loaded) are reported.

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?

A single short sentence with the action front-loaded and the return/side-effect note parenthesized afterward; nothing is wasted. It is slightly too terse to be maximally useful, but that is a completeness issue rather than verbosity.

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?

For a simple two-parameter, zero-required capture tool with no output schema, the description covers the essential contract: what is captured, that an image comes back, and that a file is persisted. Only the default filename and fullPage behavior are left to the schema, which handles them adequately.

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 filename and fullPage are already documented in the schema and the baseline is 3. The mention of an output directory loosely ties to the filename parameter, but the description adds no format, default, or interaction detail beyond the schema.

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 ('截图当前页面' – screenshot the current page) plus a parenthetical on the return and persistence behavior. It is clear what the tool does, but it never distinguishes itself from adjacent capture tools such as browser_pdf or 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?

There is no explicit when-to-use guidance, no exclusion, and no named alternative for the other capture/inspection siblings. The only hint is the implied context that a page must already be loaded ('当前页面'), which the agent must infer.

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