Skip to main content
Glama
Ads.txt MCP Server

Ads.txt MCP Server

by miyaichi

get_domain_info

Retrieve combined ads.txt and sellers.json status for a domain in one API call to reduce API calls by 60-70%.

Instructions

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

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": "get_domain_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to query

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 full disclosure burden. It does add real behavioral context beyond the schema: this is a composite read that merges two data sources into one call for efficiency. It says nothing about authentication needs, rate limits, whether results are live-fetched or served from cache (relevant given the get_adstxt_cache sibling), or failure behavior when a domain has no ads.txt/sellers.json.

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 core capability, with no filler. The efficiency statistic is brief and actually aids tool selection, though it edges toward promotional framing rather than operational detail.

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 tool with no output schema, the description gives the right high level of what is returned but omits the shape of the response, error/partial-result behavior, and any caching semantics. Adequate to call it correctly, but thin on what to expect back.

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 a single required parameter with 100% schema description coverage, so the schema already fully documents it. The description adds no format guidance (e.g., whether to pass a bare domain or a URL, whether subdomains are accepted), so it does not exceed the baseline expected when the schema does the heavy lifting.

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 names a specific verb and resource ('Get comprehensive domain information') and specifies the payload ('ads.txt + sellers.json status'), so an agent knows exactly what comes back. It does not distinguish itself from siblings such as get_batch_domain_info or the individual get_sellers_json/get_adstxt_cache tools, leaving that boundary to be inferred.

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?

The phrase 'in a single API call' and 'Reduces API calls by 60-70%' implies this tool is preferred over making the ads.txt and sellers.json lookups separately, which is latent when-to-use guidance. However, no sibling is named and there is no statement about when not to use it (e.g., multiple domains, which appears to be get_batch_domain_info's territory) or about caching trade-offs.

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