Skip to main content
Glama

Screenshot

browser_screenshot

Captures the current browser page as an image, saves it to a specified or default path, and returns the file path.

Instructions

截图并返回文件路径。默认 ego 引擎。

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
pathNo保存路径,不传则由 ego 决定
engineNo浏览器引擎:ego(默认,真实浏览器 + 登录态)/ edge(Playwright/Edge,需另装 playwright)ego

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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. It does disclose the return value (file path), which is useful, but it says nothing about scope of the capture (viewport vs full page), whether it blocks until render settles, or permission/engine requirements — all of which matter for a browser tool.

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 with no filler, and the outcome (file path) is front-loaded. It is lean without being cryptic, though the second sentence is largely redundant with the schema's default.

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?

For a two-optional-parameter tool with no output schema, the description covers what it returns and the default engine, which is the minimum viable. Missing are capture scope and any dependency notes, which the annotations do not cover either.

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 both path and engine are already fully documented in the schema, including the engine enum semantics. The description only restates the ego default and adds no meaning beyond the structured fields, which is the baseline case.

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?

States a concrete verb and resource (screenshot) plus the return shape (file path), which lets an agent distinguish it from browser_snapshot or ego_page. It stops short of explicitly naming a sibling it is not, so it is clear but not maximally differentiated.

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 guidance on when to capture a screenshot versus using browser_snapshot or ego_page, and no stated preconditions (page must be loaded, login state, viewport vs full page). The only hint, '默认 ego 引擎', is a default value restated from the schema rather than usage advice.

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