Skip to main content
Glama

Reproleaf

audit_dom_perf_hints

Read-onlyIdempotent

Check static HTML for Core Web Vitals DOM risks (missing image dimensions, lazy hero images, blocking head scripts, viewport, DOM size/depth) without network requests.

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": {
      "html": "<html>"
    },
    "name": "audit_dom_perf_hints"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety and isolation are covered. The description adds the useful confirmation that no network requests occur and lists the inspection targets, but says nothing about the shape, severity, or ordering of findings returned, which matters since no output schema exists.

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?

A single sentence, front-loaded with the action and resource, then the enumerated checks, ending with the scoping constraint. Every clause carries information and nothing is repeated from the schema or annotations.

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 one-parameter, read-only, closed-world checker this covers the essentials: what it inspects, what it does not do (network), and the input kind. The remaining gap is return-value expectations, which the description cannot lean on an output schema to supply, so a small deduction stands.

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?

Only one parameter ('html') with 0% schema description coverage, but the description's phrase 'static HTML' disambiguates the input as markup content rather than a URL or document identifier, which is the main ambiguity an agent would face here. It stops short of stating size limits or encoding expectations that the 1,000,000-char cap implies.

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?

States a specific verb ('Check') and resource ('static HTML') and enumerates the exact risk classes it detects: missing image dimensions, lazy hero images, blocking head scripts, viewport, DOM size/depth. The clause 'without network requests' implicitly separates it from live-crawl and hydration siblings, so an agent can pick it without opening the schema.

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?

The 'static HTML ... without network requests' framing implies when this applies (source-level auditing of already-fetched markup rather than a live page), but there is no explicit when-to-use statement, no named alternative, and no stated exclusions. Usage must be inferred from the scope phrase rather than read directly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources