Skip to main content
Glama

shot

Capture JPEG screenshots of browser pages or elements, zoom by ref or region, and optionally save to a file path for later use.

Instructions

Screenshot (JPEG). ref or region [x,y,w,h] to zoom; full = whole page; save = file path, returns only the path.

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": "shot"
  }
}

Input Schema

NameRequiredDescriptionDefault
wNomax width px (1024)
refNo
tabNo
fullNo
saveNo
regionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the meaningful behavioral fact that save returns only a path rather than image data, plus the JPEG format. It says nothing about side effects (navigation, focus, tab targeting), permissions, or whether the tab parameter is required to control what is captured.

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 purpose and output format are front-loaded, and every fragment carries information with no filler. The semicolon-chained style is cryptic in places, and the "[x,y,w,h]" notation is ambiguous, but nothing is wasted.

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 six-parameter tool with no annotations and no output schema, the definition covers the core capture modes and the return behavior of save, which is enough to attempt a call. It still leaves tab undefined and does not say what is captured when neither ref, region, nor full is supplied.

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 coverage is only 17%, so the description has to compensate, and it does for four of six parameters: ref vs region as zoom targets, the [x,y,w,h] region shape, full as whole-page capture, and save as a path-returning write. Only tab is left completely unexplained, and ref is not defined as to what kind of reference it takes.

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?

"Screenshot (JPEG)" gives a specific verb and output format, so the agent knows exactly what the tool produces. It does not distinguish itself from siblings like gif or read, which is the only thing keeping it from a 5.

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

Usage Guidelines3/5

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

The fragments "ref or region [x,y,w,h] to zoom", "full = whole page", and "save = file path" effectively explain which option to pick for a desired result. However, there is no tool-level guidance on when to use shot versus gif or read, and no stated prerequisites such as having a page loaded.

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

Deploy Server

Other Tools