Skip to main content
Glama

snapshot

Retrieves the accessibility tree of a page with element references for clicking and typing, including iframes, to read structure and enable interaction.

Instructions

Árbol de accesibilidad de la página con refs para click y type. Primera opción para leer estructura. Incluye iframes.

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

Input Schema

NameRequiredDescriptionDefault
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
maxCharsNo
interactiveOnlyNoSolo controles interactivos.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It usefully notes that iframes are included and that emitted refs are the handles consumed by click/type, but it says nothing about output size limits or truncation — a real concern given an undocumented maxChars parameter — nor about read-only safety semantics.

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?

Three short sentences, front-loaded with the core purpose and with zero filler. Nothing is repeated from the schema and every clause adds distinct information.

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 snapshot tool with no output schema and no annotations, the description should clarify the shape of the return value and any truncation behavior. It covers the gist (accessibility tree, refs, iframes) but leaves the output size and the maxChars escape hatch unexplained.

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 67%, and the description adds no parameter meaning whatsoever. tabId and interactiveOnly are explained in the schema, but maxChars has no description anywhere, and the text gives no hint about its effect on the returned tree.

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 concrete verb and resource: the page's accessibility tree with refs for click/type, plus iframe inclusion. That is specific enough to distinguish it from reading tools like screenshot, but it never names the closest sibling (read_page) explicitly, so differentiation is implied rather than stated.

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?

'Primera opción para leer estructura' gives clear positive guidance on when to reach for this tool over other reading approaches. There are no explicit exclusions or named alternatives, so an agent must infer the when-not from the sibling list itself.

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