Skip to main content
Glama

snapshot

Read-only

Capture a structured snapshot of a web page with Markdown and element selectors to locate and interact with elements via refs.

Instructions

Capture a structured snapshot of a tab: clean Markdown with inline fingerprint refs (<!--fp:...-->) and an 'Element Selector Map' (fp | tag | text). Use this instead of read_page+grep to locate elements, then pass a ref to click. Targets the active tab unless a browserId is given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
browserIdNoTarget tab (from list_tabs). Defaults to active.
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds useful context about output structure and usage pattern without contradicting annotations. No additional behavioral traits need disclosure.

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?

Single sentence efficiently conveys purpose, output format, usage guidance, and parameter behavior. No unnecessary words.

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?

For a simple tool with one optional parameter and no output schema, the description fully explains what the tool does, its output, and how it integrates with click, making it complete for effective use.

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 covers the single parameter (browserId) with description. The description reinforces the default behavior and relationship to list_tabs, adding value beyond schema. Baseline 3 due to high schema coverage, but description justifies a 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool captures a structured snapshot with specific output formats (Markdown with fingerprint refs and Element Selector Map) and explicitly distinguishes from siblings like read_page and click by saying 'use this instead of read_page+grep' and then pass ref to click.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance ('Use this instead of read_page+grep to locate elements, then pass a ref to click') and specifies the default behavior ('Targets the active tab unless a browserId is given').

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Frumane/gecko-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server