Skip to main content
Glama
Ads.txt MCP Server

Ads.txt MCP Server

by miyaichi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_KEYYesAPI key for authentication. Required.
API_RETRIESNoNumber of retry attempts. Default: 33
API_TIMEOUTNoRequest timeout in milliseconds. Default: 3000030000
API_BASE_URLNoAds.txt Manager backend URL. Default: https://adstxt-manager.jphttps://adstxt-manager.jp

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
validate_adstxt_quickA

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

validate_adstxtB

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

optimize_adstxtA

Optimize ads.txt content. Level 1: remove duplicates, standardize format, group by domain. Level 2: Level 1 + sellers.json integration and categorization.

optimize_adstxt_by_domainB

Optimize ads.txt by domain (automatically fetches from cache). More efficient than fetching content separately. Reduces latency and data transfer.

get_adstxt_cacheB

Retrieve cached ads.txt content for a domain from the database. Optionally force refresh from source.

get_domain_infoB

Get comprehensive domain information (ads.txt + sellers.json status) in a single API call. Reduces API calls by 60-70%.

get_batch_domain_infoB

Get information for multiple domains (up to 50) in a single request. Reduces API calls by 90%+.

get_sellers_jsonB

Get full sellers.json data for an advertising system domain. Includes all seller records, contact information, and metadata.

get_sellers_json_metadataA

Get sellers.json metadata only (no seller list). Fast check for availability, seller count, and contact information.

search_sellers_batchB

High-performance batch search for multiple seller IDs in a single domain. Up to 100 IDs per request.

get_seller_by_idB

Search for a specific seller ID in an ad system's sellers.json. Returns seller details including type and confidentiality status.

get_error_helpA

Get detailed help information for ads.txt validation errors and warnings. Supports multiple languages (English, Japanese).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target clearly distinct operations (quick vs full validation, single vs batch domain info, full vs metadata-only sellers.json, single vs batch seller search). The main overlap is between optimize_adstxt and optimize_adstxt_by_domain, which differ only in whether content is fetched from cache, and get_seller_by_id vs search_sellers_batch which are close but separable by cardinality.

Naming Consistency4/5

All names are snake_case with consistent verb_noun structure (validate_, optimize_, get_, search_). Minor deviation: the 'batch' qualifier appears in different positions (get_batch_domain_info vs search_sellers_batch) and the _quick/_metadata suffixes vary slightly, but the pattern remains readable.

Tool Count4/5

12 tools is well within the sensible range and maps cleanly onto the domain's sub-areas: validation, optimization, caching, domain info, sellers.json, and error help. One tool (optimize_adstxt_by_domain) is largely a convenience wrapper duplicating optimize_adstxt + get_adstxt_cache, so the set is slightly over-provisioned but reasonable.

Completeness4/5

The surface covers the full lifecycle: fetch/cache ads.txt, validate (fast and full), optimize, inspect domain and sellers.json data, search sellers, and interpret errors. Gaps are minor, e.g. no tool to persist or write back an optimized ads.txt, and no bulk/batch validation of multiple ads.txt contents in one call.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues