Skip to main content
Glama

get-element-dimensions

Retrieve precise dimension and position data for any element using its CSS selector, aiding in accurate element inspection and live code updates within the Vite MCP Server.

Instructions

Retrieves dimension and position information of a specific element

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector of the element to inspect

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "selector": { "description": "CSS selector of the element to inspect", "type": "string" } }, "required": [ "selector" ], "type": "object" }

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/ESnark/blowback'

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