Skip to main content
Glama

web_ads_txt

Read-only

ads.txt / app-ads.txt validator and seller check — Fetch and validate a publisher's ads.txt (or app-ads.txt with type=app) per the IAB Tech Lab ads.txt 1.1 spec: counts records, DIRECT vs RESELLER split, distinct ad systems with per-system counts, variables (CONTACT, OWNERDOMAIN, MANAGERDOMAIN, SUBDOMAIN, INVENTORYPARTNERDOMAIN), malformed lines with line numbers, duplicates, missing certification IDs, Google publisher accounts, and a VALID / WARNINGS / INVALID verdict. Optional adsystem= (e.g. google.com) and account= (publisher id) check whether a seller is authorized and with which relationship - useful for ad-fraud and supply-path checks. Tries the bare domain then www. Param: domain. Price: $0.004 USDC (Base, via x402).

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": {
      "domain": "<domain>"
    },
    "name": "web_ads_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYestheguardian.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description goes further by disclosing fallback behavior ('tries the bare domain then www'), the verdict taxonomy (VALID / WARNINGS / INVALID), and the per-call price of $0.004 USDC via x402 on Base — cost disclosure is genuinely valuable for an agent deciding whether to call. It stops short of stating response structure or latency, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The tool's identity and purpose are front-loaded, which is good, but the body is a single sprawling sentence that chains a long colon-list of outputs with em-dash clauses and a price footnote. It is readable but would benefit from splitting verdict/output details from the seller-check and pricing sections, and the phantom-parameter clause is pure wasted surface area.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 validator with no output schema, the description does the necessary work: it explains what is analyzed, what verdict is produced, and what it costs. The significant gap is the mismatch between the advertised adsystem/account/type modes and the actual one-parameter schema, which leaves an agent unsure what it can actually request.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single required 'domain' parameter, which alone would justify a baseline 3, but the description instead advertises 'adsystem=' and 'account=' and 'type=app' options that are absent from the schema. An agent following the description may pass parameters that will fail validation, which is worse than adding no semantic value.

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 and resource ('Fetch and validate a publisher's ads.txt / app-ads.txt') plus the spec it enforces (IAB Tech Lab ads.txt 1.1), and enumerates the returned analysis (record counts, DIRECT vs RESELLER split, per-system counts, verdict). An agent can distinguish this from generic text-file checkers like web_llms_txt_check or security_security_txt without opening any 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?

Provides a real use context ('useful for ad-fraud and supply-path checks') and describes a seller-authorization mode via adsystem= and account=. However, those parameters do not exist in the input schema, so the alternative usage path it recommends cannot actually be taken — guidance is implied and partly unexecutable rather than cleanly actionable.

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