Skip to main content
Glama

screenshot_local_files

Capture screenshots of HTML files in a directory by specifying glob patterns and grid size for full-page or viewport snapshots.

Instructions

Take screenshots of local HTML files in a directory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryNoDirectory containing HTML files to screenshot (defaults to current directory)
patternNoGlob pattern to match HTML files (default: "*.html")
fullPageNoWhether to capture full page or just viewport. Default: false
gridSizeNoSize of grid (2 for 2x2, 4 for 4x4). Default: 2
Behavior2/5

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

Without annotations, the description carries full disclosure burden. It states the tool takes screenshots but omits any behavioral details such as whether a browser is launched, if files are modified, or what happens with defaults. Side effects are not addressed.

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 a single concise sentence that front-loads the purpose. No redundancy. While slightly minimal, it is efficient for a simple task.

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?

Given four parameters, no output schema, and no annotations, the description is insufficiently complete. It does not explain how the directory is used, the meaning of gridSize, or what pattern does. The schema descriptions partially compensate but the overall context is lacking.

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 coverage is 100%, so baseline is 3. The description adds no additional meaning to the parameters beyond what the schema already provides. No parameter details are mentioned in the description.

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 takes screenshots of local HTML files within a directory, using specific verbs and resource. It distinguishes from sibling tools like batch_screenshot_urls and playwright_screenshot which target URLs or current pages.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention preconditions, exclusions, or situations where another tool would be more appropriate.

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/samihalawa/visual-ui-debug-agent-mcp'

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