Skip to main content
Glama

Screenshot page

screenshot
Read-only

Capture the current page to inspect editor state, results, or errors; optionally capture the full page or set a maximum width.

Instructions

Capture the current page so you can see the editor state, results, or any error.

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
fullPageNo
maxWidthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds no behavioral detail beyond that: it does not say the result is an image, whether the capture is of the viewport by default, whether it waits for render, or any size/time limits — all relevant for a screenshot tool.

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?

A single tight sentence with no filler, and the purpose clause is front-loaded. It is efficient but underspecified rather than padded, so brevity is not fully a virtue here.

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 output schema, the description must convey what comes back, and it never states that the return value is a rendered image (versus HTML or a file path). For a two-parameter capture tool this leaves an agent guessing about the most important aspect of the call.

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% and neither of the two parameters (fullPage, maxWidth) is mentioned in the description. An agent cannot learn from the description that it can request a full-page capture or cap the width, so the meaning of both parameters rests entirely on terse schema property names.

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?

States a specific verb ('Capture') and resource ('the current page') and adds the intended payoff (editor state, results, errors), which separates it from siblings like get_content or inspect_editor. It stops short of explicitly naming which sibling to use for non-visual inspection.

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 clause 'so you can see the editor state, results, or any error' implies when the tool is useful, but there is no explicit when-not guidance and no named alternative (e.g., get_content for text). Usage is inferable rather than stated.

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