Skip to main content
Glama

screenshot_file

Read-only

Saves a screenshot to the output directory at full size or constrained by max_width and returns its file path, keeping image data out of the context.

Instructions

Like screenshot but saves the image into the output dir at full size (unless max_width is set) and returns the path, so no image enters the context. The format follows the extension (.png | .jpg).

Input Schema

NameRequiredDescriptionDefault
formatNo
qualityNo
annotateNo
filenameNoshot.jpg
selectorNo
full_pageNo
max_widthNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior1/5

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

The annotations declare readOnlyHint=true, meaning the tool should not modify its environment. The description says it 'saves the image into the output dir', which is a filesystem write. That directly conflicts with the read-only annotation, so the behavioral signal is misleading.

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?

Two tight sentences, front-loaded with the tool's purpose and key behavioral distinction. No filler, and the parenthetical format detail is useful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the return path need not be fully explained. But with 7 undocumented parameters, the description is not complete enough to guide correct invocation, especially for non-default options like selector, full_page, quality, and annotate.

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% across 7 parameters. The description adds meaning only for max_width and the format-follows-extension behavior; it leaves selector, full_page, quality, annotate, and filename unexplained.

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 states a specific verb and resource: it saves a screenshot image into the output dir and returns the path. It also clearly distinguishes this from the sibling screenshot tool by explaining that no image enters the context.

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?

It explicitly contrasts with screenshot via 'Like screenshot but...' and gives the selecting condition: use this when you want no image in context and a file path returned. It does not spell out when-not cases, but the alternative is named.

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