Skip to main content
Glama
Ads.txt MCP Server

Ads.txt MCP Server

by miyaichi

validate_adstxt_quick

Validate ads.txt content for syntax errors and duplicate entries without database queries, returning detailed error messages to confirm proper file format.

Instructions

Fast syntax-only validation without database queries (10-20x faster). Checks ads.txt format, detects duplicates, and provides detailed error messages.

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_quick"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesThe ads.txt file content to validate
checkDuplicatesNoCheck for duplicate entries (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must carry full behavioral disclosure. It usefully states no database queries, speed, duplicate detection, and detailed errors, but it omits whether the tool is strictly read-only and how results or errors are returned.

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 sentences with the purpose and differentiator front-loaded. The speed claim is compact and useful, and there is no unnecessary 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 simple two-parameter validation tool, the description covers purpose and core behavior adequately. However, with no annotations and no output schema, it leaves return/error shape and explicit read-only behavior unstated.

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%, and both parameters are already fully described in the input schema. The description only hints at checkDuplicates via 'detects duplicates' and adds no format, default, or usage detail beyond the schema.

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: syntax-only validation of ads.txt format. The first-sentence differentiator 'without database queries' and '10-20x faster' clearly separates it from heavier validation siblings.

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?

Gives clear context for when a quick syntax-only check is appropriate instead of database-backed validation. It does not explicitly name validate_adstxt or state when not to use this tool, so the guidance is strong but not fully explicit.

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