Skip to main content
Glama
funkyfunc

browser-dvr-mcp

by funkyfunc

validate_spatial_coordinate

Validate that a target coordinate is not blocked by overlays, modals, or layout shifts before executing a click or hover action.

Instructions

PRE-EXECUTION SAFETY NET. Before clicking or hovering on a coordinate, call this tool to verify that the intended target is actually at those coordinates and is not occluded by an overlay, modal, cookie banner, or layout shift.

Returns: • valid=true → Safe to proceed with click/hover. • valid=false, occluded=true → Another element is blocking the target. The occluder CSS selector is returned so the agent can dismiss it or find an alternative path. • valid=false, occluded=false → Target element is invisible, zero-sized, or out of viewport.

NOTE: atomic_interact already runs spatial validation internally. Use this tool only for explicit pre-flight checks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesX coordinate to validate
yYesY coordinate to validate
targetBackendNodeIdNoExpected backendNodeId at this coordinate. If omitted, only bounds checking is performed.
Behavior5/5

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

No annotations are provided, so the description fully handles transparency. It details all return cases: valid, occluded with selector, or invisible. No contradictions or omissions.

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?

The description is well-structured with clear sections, bullet points for return values, and no wasted sentences. Every part earns its place.

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?

Given the tool has 3 parameters and no output schema, the description is complete. It explains all return scenarios and parameter nuances, providing full contextual information.

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 baseline is 3. The description adds value by explaining that targetBackendNodeId is for expected node and that omitting it only performs bounds checking, which goes beyond the schema.

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 it is a 'pre-execution safety net' for validating coordinates before clicking or hovering, with specific verbs and resource. It distinguishes itself from atomic_interact, which already performs internal validation.

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?

Explicitly tells when to use (explicit pre-flight checks) and when not to rely on it (atomic_interact does it internally). Provides clear context for usage.

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/funkyfunc/browser-dvr-mcp'

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