Skip to main content
Glama

Dock snapshot

dock_snapshot
Read-onlyIdempotent

Capture a browser tab as a compact accessibility outline with [ref_N] handles for browser automation; passwords and card numbers are redacted, and diffs show changes since a revision.

Instructions

Read a tab as a compact accessibility outline: one line per element with [ref_N] handles for dock_act. Passwords and card numbers are redacted. Returns url, title, doc, rev and tree — or, with since=, only a diff (added / changed / removed lines).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNorev of your last snapshot of this page → diff only.
filterNoOnly return elements whose text or role matches this substringinteractive
tab_idYesTab id from dock_tabs or dock_open.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds genuinely useful behavioral context: passwords and card numbers are redacted, the full return shape is enumerated, and diff mode reports added/changed/removed lines. No contradiction with annotations.

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 tightly packed sentences with no filler. The core purpose and ref-handle linkage come first, and the diff behavior is second — appropriately front-loaded for the common case.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and full annotation coverage, the description carries the return-value burden itself and does so: it names url, title, doc, rev and tree plus the diff variant. An agent has everything needed to call and interpret it.

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 100%, so the baseline is 3, but the description meaningfully enriches the `since` parameter by explaining the diff output it triggers (added / changed / removed lines) beyond the schema's 'diff only' note. The `filter` parameter is not mentioned in the description, capping this at 4.

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 and resource ('Read a tab') and names the output format ('compact accessibility outline', one line per element). It ties the [ref_N] handles to dock_act, making the purpose concrete, but it never distinguishes itself from nearby siblings like dock_text or cdp_snapshot.

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?

Gives clear usage context: use it to obtain [ref_N] handles that feed dock_act, and pass since=<rev you hold> to get a diff instead of a full tree. It lacks an explicit when-not-to-use or alternative-tool statement (e.g., vs dock_text), so it falls short of a 5.

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