Skip to main content
Glama

See the page

view
Read-only

Capture a snapshot_id as a screenshot with actionable elements outlined and ID-badged to inspect layout, images, or visual state when text listings fall short.

Instructions

The screenshot of a snapshot_id from observe or an action, each actionable element outlined with its id in a badge of the same color. Costs about 1,500 tokens; use it when the text listing is not enough (layout, an image, a visual state).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "snapshot_id": "<snapshot_id>"
    },
    "name": "view"
  }
}

Input Schema

NameRequiredDescriptionDefault
snapshot_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the behavioral load, and it does add real value: a ~1,500 token cost estimate and the fact that the input must be a snapshot_id from observe or a prior action (a provenance constraint). It does not say what happens with a stale or invalid snapshot_id, nor whether the image is returned inline or as a reference, which is the remaining behavioral gap.

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 sentences, no padding: the output is described first, then the cost and selection criterion. The most decision-relevant fact for an agent (token cost) is placed before the guidance clause rather than buried.

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?

With no output schema, the description must characterize the return value, and it does reasonably well (image with id badges on actionable elements). Combined with the cost note and provenance rule, an agent can call it correctly, but the absence of any failure-mode or freshness caveat for snapshot_id leaves a real hole for a tool whose only input is a handle.

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 0% and the single parameter `snapshot_id` has no schema description, so the description must compensate — and it does, by stating where a valid snapshot_id comes from (observe or an action) and what it produces. It still doesn't describe the expected format of the id itself (opaque string vs. structured handle).

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?

The description states the concrete resource: a screenshot rendered from a snapshot_id returned by observe or an action, with every actionable element outlined and tagged with an id badge. That element-overlay detail implicitly separates it from a plain capture tool, but the sibling literally named 'screenshot' is never mentioned, so the agent must infer the boundary rather than being told it.

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 gives an explicit positive trigger — 'use it when the text listing is not enough (layout, an image, a visual state)' — and a cost-based reason to prefer text output first. It stops short of an explicit when-not/alternative statement (e.g. use `screenshot` when you don't need element ids), leaving that choice to inference.

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