Skip to main content
Glama

screenshot

Capture the current tab, full page, or a specific element as JPEG, PNG, or WebP, and save it locally for visual verification or documentation.

Instructions

Captura de la pantalla, página completa o elemento.

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

Input Schema

NameRequiredDescriptionDefault
refNoRef de snapshot, por ejemplo e42 o s0e17.
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
formatNo
qualityNo
fullPageNo
savePathNoRuta local donde guardar el archivo.
selectorNoSelector CSS o text=Texto visible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does not state that savePath writes a file to disk, what the default format/quality is, whether the operation is read-only, or what the tool returns (inline image data vs path). For a 7-parameter tool with zero annotation coverage this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short, front-loaded sentence with no waste, but its brevity is under-specification rather than discipline given the tool's seven parameters.

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?

With no annotations, no output schema, and 7 parameters at 57% coverage, the description should explain the return value (image vs saved file) and the capture-mode trade-offs. It covers only the high-level intent.

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 coverage is only 57%, and the description adds almost nothing: 'página completa o elemento' vaguely gestures at fullPage and selector/ref but leaves format, quality, tabId, and savePath semantics unexplained. It does not compensate for the undocumented parameters.

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?

Names the resource (screen, full page, or element) and the action of capturing, which is specific enough to distinguish it from most siblings. It does not explicitly contrast with close alternatives such as pdf or snapshot, so it stops short of 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 Guidelines2/5

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

No when-to-use guidance: nothing says when to screenshot versus exporting a PDF or taking a snapshot, nor what is required to capture a specific element (ref vs selector). The agent must infer everything from the schema.

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