Skip to main content
Glama

Batch Analysis

batch_analysis

Batch analysis: compare up to 200 domains or pages (full https:// addresses) in one call: each site's link figures from DataForSEO Backlinks and its Google figures in one market from DataForSEO Labs. rows answers every site in the order given (www., case and duplicates removed; lines that are not a site are listed in invalid): kind (domain or page); links with status MEASURED, site_strength (0-100, how strong its links make it; for a page, the page's own), domain_strength (its whole site's), backlinks, referring_domains, referring_main_domains, spam_score (0-100, average of its links) and first_seen; traffic with status MEASURED, organic_keywords (keywords it ranks for in Google's top 100), organic_traffic (estimated monthly visits from Google), paid_keywords and paid_traffic (its Google ads). status NO_DATA means the source holds nothing for that site (free); NOT_MEASURED means it is not stored and was not bought (measure false, or the rest of the list was refused: purchase_refused says why); NOT_SUPPORTED means the market has no Google figures. A missing figure is null, never 0. Link counts include every link the source has recorded, so they can be a few per cent above the backlinks tool's live-link counts; strength and spam score are the same. organic_traffic for a domain is the domain_overview figure. Price: each site's figures are stored for 7 days and free to anyone; the rest is bought in blocks of up to 100 sites: links 50-60 credits a block and Google figures 25-50 credits a block by size (200 new sites: at most 220 credits), nothing for a block that returns no data. credits_to_measure quotes what is not stored; measure false only reads what is stored and never charges. max_credits caps the call: when the sites not stored would cost more, nothing is bought (PRICE_ABOVE_LIMIT). For one site in depth use backlinks and domain_overview.

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": {
      "targets": "<targets>"
    },
    "name": "batch_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoTwo-letter market of the Google figures, such as US or GB (UK is read as GB). Link figures are the same in every market.US
measureNofalse: only read stored figures, never charge (credits_to_measure quotes the rest).
targetsYes1 to 200 domains (such as example.com) or pages (full https:// addresses).
languageNoTwo-letter language code, such as en or de.en
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
max_creditsNoOptional. The most this call may charge; when the sites not stored would cost more, nothing is bought.
idempotency_keyNoOptional. A repeated identical call is answered again at no charge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false; the description goes far beyond, disclosing the credit price tiers, 7-day storage and free re-reads, block granularity (up to 100 sites), that nothing is charged for a block returning no data, and exactly why data is absent (NO_DATA / NOT_MEASURED / NOT_SUPPORTED, purchase_refused). It also clarifies that missing figures are null, never 0, which prevents real misinterpretation of results.

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

Conciseness3/5

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

The content is valuable but delivered as dense semicolon chains and run-on clauses, making it hard to scan for the one fact an agent needs. It is front-loaded with the core action, but the output-field and pricing passages could be broken into short sections or bullets without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of explaining the returned row shape (kind, links, traffic, status) and it does so field by field, including the caveat that link counts can run a few percent above the live-link counts from backlinks. Pricing, failure modes and edge cases are all covered for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning on top: what measure=false implies (read-only, no charge, use credits_to_measure for the rest), how max_credits blocks the purchase entirely rather than partially, and that link figures are market-independent while Google figures depend on country. Verbosity and language remain schema-only, which is fine.

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?

The opening states a specific verb, resource and scale: 'compare up to 200 domains or pages (full https:// addresses) in one call', and names the two data sources (Backlinks, Labs). It also distinguishes itself from the in-depth siblings ('For one site in depth use backlinks and domain_overview'), so an agent can choose without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit routing: use this for many sites at once, use backlinks/domain_overview for one site in depth, and use measure=false when only stored figures are wanted with no charge. The max_credits guard and the PRICE_ABOVE_LIMIT outcome are also stated as usage conditions, not left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources