Skip to main content
Glama
Ads.txt MCP Server

Ads.txt MCP Server

by miyaichi

validate_adstxt

Validates ads.txt syntax and format, then cross-checks seller account IDs against sellers.json to verify declared sellers are valid.

Instructions

Full ads.txt validation with sellers.json cross-checking. Validates syntax, format, and verifies account IDs against sellers.json.

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": {
      "content": "<content>"
    },
    "name": "validate_adstxt"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesThe ads.txt file content to validate
publisherDomainNoOptional publisher domain for cross-checking

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It usefully discloses what is checked (syntax, format, seller account IDs) but says nothing about whether network or cache access is required, what happens when publisherDomain is omitted, latency, or what kind of result/error output comes back.

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

Conciseness4/5

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

Two short sentences, front-loaded with the tool's identity and then the check scope. Slightly redundant in restating 'validation' as 'Validates', but there is essentially no wasted wording.

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 two-parameter, non-nested tool this is close, and no output schema exists that would need explaining. However, with no annotations and no output schema, the description should say more about the result shape, failure modes, and what the cross-check does when no publisherDomain is given.

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 the schema already documents both parameters, including that publisherDomain is optional and used for cross-checking. The description restates the sellers.json cross-check without adding format, syntax, or behavioral detail beyond the schema.

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 gives a specific verb and resource (validate ads.txt) plus the scope of checks: syntax, format, and account ID verification against sellers.json. The word 'Full' signals this is the exhaustive variant versus a lighter sibling, but no sibling is ever named, so differentiation remains implicit.

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?

'Full' hints at when to prefer this over a quick-check style tool, but there is no explicit when-to-use, when-not-to-use, or stated prerequisite such as requiring a populated sellers.json cache. An agent must infer the routing decision.

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