Skip to main content
Glama
sinnhirl

cdt-smart-snapshot

by sinnhirl

get_node

Retrieve role, path, DOM geometry, and CSS selector for a specific node using its uid from a prior snapshot. Call after creating a snapshot or diff to inspect element details.

Instructions

Return role, path, DOM geometry, and CSS selector for one snapshot uid. Requires a prior smart_snapshot or snapshot_diff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesStable uid from the snapshot output.
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that it returns specific node data and requires a prior snapshot, but it does not mention error behavior (e.g., invalid uid) or explicitly state that it has no side effects.

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?

One sentence that front-loads the action and outputs, with no filler. Every clause adds value, and the prerequisite is clearly stated.

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

Completeness4/5

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

Simple tool with one parameter and no output schema. Description covers purpose, exact return items, and prerequisite. It lacks error/no-result behavior, but given the simplicity, this is adequate and fits well within the snapshot workflow indicated by siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has 100% coverage with 'Stable uid from the snapshot output.' The tool description reinforces this by saying 'one snapshot uid' and 'Requires prior smart_snapshot or snapshot_diff,' but adds no new syntax or format details. Baseline 3 for full schema coverage.

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 uses the specific verb 'Return' and enumerates exact outputs (role, path, DOM geometry, CSS selector) for a single snapshot uid. This clearly distinguishes it from siblings like smart_snapshot or snapshot_diff which create snapshots/diffs.

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?

The description explicitly states a prerequisite: 'Requires a prior smart_snapshot or snapshot_diff.' This gives clear context for when the tool can be used, but it does not mention alternatives or exclusion cases.

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/sinnhirl/cdt-smart-snapshot'

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