Skip to main content
Glama

Run compliance scan

run_compliance_scan

Scan a public web page for trackers (GA4, Google Ads, GTM, Meta Pixel, Hotjar, TikTok, LinkedIn…), cookies and Consent Mode setup, and get a 0–100 compliance score. Scans of your own domains are saved; apply=true adds the detected services to that site's banner.

Input Schema

NameRequiredDescriptionDefault
urlYesPage URL, e.g. https://example.com
applyNoAdd detected services and cookie names to the site's banner.
site_idNoSave the scan to this site (otherwise matched by domain).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the write surface is partially covered; the description adds real value by disclosing the side effect that own-domain scans are persisted and that apply=true mutates the site's banner configuration. It stops short of saying whether apply is reversible or what permissions/plan are required.

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 tight sentences: capability and detected signal types first, then the persistence and apply semantics. Every clause carries information an agent needs; no filler.

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?

With no output schema, the description must carry return semantics, and it names the headline output (0–100 compliance score). It omits the shape of the rest of the result (per-tracker detections, cookie list, Consent Mode findings) and whether the scan is synchronous or asynchronous, which matters for an open-world network fetch.

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 coverage is 100%, so all three parameters are already documented. The description restates the apply behavior and adds the useful default-resolution rule ("otherwise matched by domain") for site_id, but provides no format or constraint detail beyond the schema. Baseline 3 is appropriate.

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?

Specific verb ("Scan") plus a concrete resource ("a public web page") and an enumerated list of what it detects (GA4, GTM, Meta Pixel, cookies, Consent Mode) with a 0–100 score output. It does not, however, differentiate itself from the sibling pre_consent_scan, which reads as a closely related scan operation.

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 description conveys context ("Scans of your own domains are saved") and the effect of apply=true, which implies when the mutation path is appropriate. But it never states when to choose this over pre_consent_scan or configure_banner, and no exclusions or prerequisites are given.

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