Skip to main content
Glama

saveScreenshot

Save a webpage or element screenshot directly to a file, with automatic scaling and compression for efficient storage and reduced context overhead.

Instructions

Save screenshot to file without returning in context. Auto-scales and compresses. Use maxWidth: null and format: 'png' for original quality.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoFormat (default: auto)
paddingNoPadding px (default: 0)
qualityNoJPEG quality (default: 80)
filePathYesSave path (extension auto-adjusted)
maxWidthNoMax width px (default: 1024, null=original)
selectorYesCSS selector
maxHeightNoMax height px (default: 8000, null=original)
Behavior3/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 discloses auto-scaling and compression behavior, and how to achieve original quality, but does not mention file overwrite behavior, return value details, or error conditions. This is adequate but not comprehensive.

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?

The description is two sentences long, front-loaded with the core purpose, and every phrase adds value. It is concise and well-structured with no wasted words.

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 tool with 7 parameters and no output schema, the description covers the core purpose, key behavioral traits, and a practical usage tip. It does not detail return values or error handling, but given the schema richness and the straightforward nature of the tool, it is reasonably complete.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds valuable semantic guidance beyond the schema by explaining the interplay of maxWidth and format for original quality, which is not obvious from the schema alone.

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 saves a screenshot to a file and does not return it in context. This distinguishes it from the likely sibling tool 'screenshot' which presumably returns the image, so the purpose is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'without returning in context' suggests this tool is appropriate when a file output is desired rather than an in-context return. It also provides a concrete usage tip for original quality (maxWidth: null, format: 'png'), but does not explicitly name alternatives or exclusion criteria.

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/docentovich/chrometools-mcp'

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