Skip to main content
Glama

viewprobe_check

Scan a URL for CSS layout violations across responsive viewports and return compact JSON with the exact selectors and computed styles causing overflow, truncation, or undersized tap targets.

Instructions

Scan a URL for CSS layout violations (overflow, truncation, tap-target sizing) across responsive viewports. Returns compact JSON with the exact CSS selectors and computed styles causing each issue.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "viewprobe_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to scan (e.g. http://localhost:3000)
selectorsNoOptional comma-separated CSS selectors to focus the scan on specific elements.
viewportsNoComma-separated viewport names to test: mobile, tablet, desktop, wide. Defaults to mobile,desktop.mobile,desktop
microCropsNoAttach base64 micro-crop images of violations. Default true.
skipSelectorsNoOptional comma-separated CSS selectors to exclude from scanning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. It discloses that the result is compact JSON containing offending selectors and computed styles and implies a read-only scan, but it omits that microCrops defaults to true and attaches base64 images to the response, which materially changes payload size and shape. It also says nothing about network/permission requirements or how long a scan takes.

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?

Two sentences, zero filler, with the action and the return shape front-loaded. Every clause earns its place and no structured-field content is redundantly restated.

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?

For a five-parameter read-only tool with full schema coverage and no output schema, the description is largely sufficient: purpose, checks, and return contents are covered. The remaining gaps are the undisclosed base64 micro-crop payload and any note about which sibling to use for viewport discovery.

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?

Schema description coverage is 100%, so every parameter including defaults and the viewport enumeration is already documented in the schema. The description adds only the general framing of the scan and no extra meaning about selectors, skipSelectors, or microCrops interaction, so the baseline of 3 applies.

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?

The description uses a specific verb and resource ('Scan a URL for CSS layout violations') and enumerates the concrete checks (overflow, truncation, tap-target sizing) across responsive viewports. It does not differentiate itself from the sibling viewprobe_viewports, so an agent cannot tell from the text alone which one to reach for.

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

Usage Guidelines3/5

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

Usage is only implied: 'Scan a URL' tells the agent what it operates on, but there is no explicit statement of when this tool is preferred over viewprobe_viewports or any exclusions. No prerequisite is stated (e.g. that the target server must be running), which matters for a URL-scanning tool whose example is localhost.

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

Deploy Server

Other Tools