Skip to main content
Glama

chrome_snapshot

Capture a sanitized text snapshot of a page with hidden elements removed, content wrapped in trust labels, and injection patterns flagged for safer analysis.

Instructions

Get sanitized text snapshot. Hidden elements stripped. Content wrapped in trust labels. Injection patterns flagged.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/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 add real behavioral context: hidden elements are stripped, content is wrapped in trust labels, and injection patterns are flagged — useful for interpreting output. However, it omits read-only confirmation, output size/truncation behavior, and whether the snapshot covers the full page or viewport.

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?

Four short sentences, front-loaded with the core action and followed by the behavioral traits. Every sentence earns its place with no filler.

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 zero-param, no-annotation, no-output-schema tool the essential action and sanitization behavior are covered, but the agent still lacks guidance on scope (viewport vs full page), result size, and how this differs from sibling read tools.

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?

Zero parameters, so there is nothing to document and the baseline of 4 applies. The description correctly presents this as a no-argument call.

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+resource: 'Get sanitized text snapshot.' The 'text snapshot' phrasing implicitly distinguishes it from chrome_screenshot (image) and chrome_page_info (metadata), but it never names or explicitly contrasts with any sibling, leaving the agent to infer the boundary.

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 at all: no statement of when to pick this over chrome_screenshot, chrome_page_info, or chrome_evaluate, and no preconditions (page must be loaded, mode requirements). The agent must infer usage purely from the name.

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