Skip to main content
Glama
Ads.txt MCP Server

Ads.txt MCP Server

by miyaichi

get_batch_domain_info

Query information for up to 50 domains in one request to reduce API calls and support batch ads.txt and sellers.json analysis.

Instructions

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

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": {
      "domains": "<domains>"
    },
    "name": "get_batch_domain_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYesArray of domains to query (max 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/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 reveals the batch-size limit and an efficiency motivation, but says nothing about what information is returned, whether one invalid domain fails the whole batch, rate limits, or auth requirements — all material for a batch call.

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 with the batch scope front-loaded and no wasted preamble. The '90%+' claim is arguably marketing rather than operational information, which keeps it from a 5.

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 one-parameter tool with no output schema, the description covers the essential scope. It leaves unresolved how results map to inputs and what happens on partial failure, which an agent would want to know before batching up to 50 domains.

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% and the single parameter already documents the max-50 constraint, so the schema does the heavy lifting. The description repeats the 'up to 50' limit and adds no format guidance for the domain strings (e.g. bare hostnames vs URLs).

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 states a specific verb and resource ('Get information for multiple domains') plus the batching scope ('in a single request'), which lets an agent distinguish it from a single-domain sibling like get_domain_info without opening the schema. It stops short of naming that alternative explicitly.

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?

Usage is only implied: the efficiency claim ('Reduces API calls by 90%+') hints that this should be chosen over per-domain calls when handling many domains, but there is no explicit when-to-use/when-not-to-use statement or named alternative.

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