Skip to main content
Glama

check_fbc_url

Fetches a landing page and scans its HTML plus same-origin external scripts to flag fbclid-to-_fbc cookie handling issues, returning pass, fail, warning, and unknown rule results.

Instructions

Fetch a landing page and run the same checks as check_fbc_code on its HTML plus every same-origin it loads, so tracking code kept in an external file is included. Cross-origin scripts (tag managers, the Meta Pixel, analytics SDKs) are never fetched and are listed under skipped_scripts. Limits: 30 s timeout per request, at most 20 scripts, 2 MB per file. Uses a mobile Safari user agent. Only public hosts are fetched: URLs that resolve to loopback, private, link-local or other internal addresses are refused, on every redirect hop too (start the server with FBC_GUARD_ALLOW_PRIVATE=1 to check local pages). Returns JSON with status ("pass", "fail", "unknown" or "not_applicable"), failed, unknown and warnings (rule IDs), and rules (one entry per rule with status "pass", "fail", "unknown" or "warn", evidence, what it protects against, severity, and a link to Meta's documentation). "unknown" means no rule failed but at least one could not decide, for example FBC-01 when it cannot tell which variable holds the fbclid from the URL. "not_applicable" means no _fbc appeared in the content, so nothing was judged. Neither is a pass. "warn" comes from a warning-level rule (FBC-06) and never changes the overall status. Also returns final_url (after redirects), scanned_scripts and skipped_scripts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYeshttp or https URL of the landing page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: 30 s timeout, 20-script cap, 2 MB per file, mobile Safari UA, SSRF guard behavior including redirect hops, and the FBC_GUARD_ALLOW_PRIVATE override. It also explains the meaning of every possible status value, including the subtle distinction that 'unknown' and 'not_applicable' are not passes.

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 purpose is front-loaded in the first sentence, followed by fetch limits, security behavior, and return structure in a logical order. Every sentence carries information an agent needs given the lack of annotations and output schema, and nothing is redundant.

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?

There is no output schema or annotations, so the description must explain behavior and returns itself, which it does in detail. It covers fetch scope, limits, security refusals, status semantics, and the full shape of the JSON response, leaving no material gap for correct invocation or interpretation.

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?

There is only one parameter, and the schema already documents it at 100% coverage as an http or https URL of the landing page. The description adds no format or validation detail beyond the schema, so the baseline of 3 applies.

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?

It names a specific verb (fetch a landing page) and a specific action (run the same checks as check_fbc_code) on HTML plus same-origin <script src> files. It also clearly distinguishes itself from the sibling tool by explaining that external tracking files are included, which the code snippet check cannot do.

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

Usage Guidelines4/5

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

It gives a clear positive condition for use: checking a live landing page where tracking code may live in an external file. It also states exactly what is never fetched (cross-origin scripts) and where those appear in the result. It does not explicitly say when to prefer check_fbc_code instead, so a 4 rather than a 5.

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