Skip to main content
Glama
wxhzhwxhzh

DrissionPageMCP

by wxhzhwxhzh

get_current_tab_screenshot_as_file

Capture the current browser tab as a screenshot, save it to a specified path, and return the saved file's location.

Instructions

获取当前标签页的屏幕截图并保存为文件

Args: path (str): 截图保存路径,默认为当前目录

Returns: str: 截图的文件路径

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoscreenshot.png
pathNo.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly states the file is saved and the return value is the file path, which is useful. However, it does not mention whether existing files are overwritten, what image format is used beyond the default 'screenshot.png', or whether the target directory must already exist.

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?

The description is concise and front-loaded with the main purpose, and the Args/Returns structure is readable. However, the Args section lists only 'path' and omits 'name', which is a structural inconsistency that undermines completeness despite the overall brevity.

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 simple file-saving tool, the description covers the core purpose and return value, and the schema provides defaults for both parameters. Still, it lacks important context such as file format behavior, overwrite semantics, and any relationship to the similar sibling tool 'get_current_tab_screenshot', leaving moderate gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for parameter meaning. It explains 'path' as the save directory with default current directory, but entirely omits the 'name' parameter, which is a required part of the schema for specifying the filename. The description therefore provides incomplete semantics for the tool's parameters.

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

Purpose5/5

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

The description clearly states the tool captures a screenshot of the current tab and saves it as a file, with the verb '获取' (get/capture) and resource '当前标签页的屏幕截图' (current tab screenshot). The phrase 'as file' distinguishes it from the sibling tool 'get_current_tab_screenshot', which likely returns image data rather than saving to disk.

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 provides no guidance on when to use this tool versus alternatives such as 'get_current_tab_screenshot'. It does not state any exclusions, prerequisites, or scenarios where one approach is preferred over another.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wxhzhwxhzh/DrissionPageMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server