Skip to main content
Glama

Backlinks and Spam Score

backlinks

Backlinks of any public domain or page from the DataForSEO Backlinks index: who links to it, how strong and how spammy those links are, and how the profile changed. view overview (default) returns the summary (backlinks, referring domains, referring pages, rank (site strength 0-100: how strong the target website is overall, from all the links pointing to it), backlink spam score 0-100, target spam score, broken backlinks and broken pages, link types and attributes) and the monthly history since January 2019 (backlinks, referring domains, new and lost backlinks and referring domains per month), plus profile: the follow/nofollow split, link types, address endings (TLDs) and countries as shares, and referring IPs and subnets (countries come from the address ending; worldwide endings such as .io and .ai count as no country). view backlinks lists links (source page and domain, target URL, anchor text (the clickable words), link type, dofollow or nofollow, domain_rank (site strength 0-100: how strong the linking website is overall), spam score (0-100: how likely the linking site is spam), first seen (the date the index first found the link) and last seen). sort best (default) puts the links worth the most to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. sort newest puts the links the index found most recently first. Filters: one_per_domain, dofollow_only and max_spam_score. The other tabs: referring_domains (the different websites that link, highest rank first by default; here rank is link value 0-100: how much that website's links are worth to the target, not the website's own site strength, so one website can show a different rank here than its domain_rank in the backlinks view), anchors (the clickable words used, most backlinks first by default; rank is how much the links with those words are worth to the target) and pages (the target's pages that attract most links, most backlinks first; rank is page strength 0-100: how strong that page is); up to 100 rows per call, page with offset. view link_gap is the backlink gap: set target to a competitor's domain and compare_to to your own; it lists the domains that link to the competitor but not to you (your link prospects), highest rank first, where rank is how much that domain's links are worth to the competitor (link value 0-100, not its own site strength), each with its rank, links to the competitor, linking pages, spam score and first seen; one request. By default it leaves out link farms (sites that started linking to the competitor in the last 6 months from 500 or more of their pages) and sites with a spam score above 30; quality_filter in the answer says what was left out. show_link_farms true keeps the farms, max_spam_score 100 keeps every spam score. view audit is the backlink audit: one request per 100 linking sites, the riskiest first (page with offset 0, 100 … 1000; no sort, limit or filters). Its answer adds audit: each site's toxic_score 0-100 (higher is worse) with its reasons in plain words (spam score, spam words in the link text, the link-farm rule, repeated link text, a spam address ending, site strength 0, a burst of new sites in one month; lowered for strong sites), level toxic (60+), review (30-59) or fine, the organization's own saved decision (disavow or keep, set on the workspace Backlinks page), and disavow_file, ready for Google Search Console's disavow tool: toxic sites not marked keep plus every site marked disavow. Google ignores most spam links by itself; a disavow file is only for links known to be spammy or bought. view web_graph is free and never charged: in-house data from Common Crawl's monthly web graph, the target domain's strength (0-100 from its place among about 135 million domains) and the domains linking to it, strongest first (limit and offset page them, 25 rows unless limit says otherwise; a comparison too large for a free question answers too_large; a site on a shared host such as name.github.io is counted as the host as a whole, as Common Crawl counts it, and the answer says so); with compare_to (your own domain) it lists the domains linking to target but not to you; add up to 2 more competitors in targets, and the domains linking to the most of them come first (the best prospects in your niche). It names linking domains only (no individual links, anchors or follow attributes), counts are a lower bound, and many new or small sites are not in it; the overview carries the same free block (web_graph) beside the paid figures. view pages_summary takes targets instead of target (1 to 10 pages or domains, such as the URLs of Google's top 10 for a keyword) and returns each one's link profile in one request: rank (page rank 0-100), backlinks and referring domains; a page the index does not hold has null figures. Credits: 60 per provider request (overview is two: summary and history), charged only when it delivered data (an empty NO_DATA answer is free); an answer any account bought in the last 7 days is served free from the shared cache, with fetched_at naming when it was measured. measure false only reads what is already stored and never charges; refresh true buys a new answer. allow_older true: when no answer from the last 7 days is stored, an older answer DataFluxor kept (kept up to 400 days after it was bought) is shown instead of NOT_MEASURED, free, marked stale true with its fetched_at and age_days and listed in stale_views; credits_to_measure still prices today's figures. With measure, today's figures are still bought, and the older answer stands in only when the purchase is refused or the source fails (purchase_refused says why; nothing charged). A value the index does not hold is null, never zero; NO_DATA means the index has no links for the target. This is a third-party index sample, not a complete list of every link on the web.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "backlinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoThe order of a list over the whole index. backlinks view: best (default) puts the links worth the most to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. newest puts the links the index found most recently first. referring_domains view: best (most link value), backlinks (most backlinks) or newest. anchors view: best (most backlinks), domains (most referring domains) or newest. pages and link_gap: best only.best
viewNooverview
limitNoRows of a list view.
offsetNoRows of a list view to skip.
targetNoA domain such as example.com (its subdomains included unless subdomains is false) or a full http(s) URL for one page. Required, except with view pages_summary (targets).
measureNofalse: only read stored answers, never charge.
refreshNoBuy a new answer even when a stored one exists.
targetsNopages_summary view: 1 to 10 pages (full http(s) URLs) or domains. web_graph view with compare_to: up to 3 competitor domains in all, counting target.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
compare_toNolink_gap and web_graph views: your own domain, such as example.com; the answer lists domains linking to target but not to it.
subdomainsNoFor a domain: include links to its subdomains.
allow_olderNoShow an older kept answer (stale, dated) when none from the last 7 days is stored; free.
dofollow_onlyNobacklinks view: only links without nofollow.
max_spam_scoreNobacklinks, referring_domains, anchors and link_gap views: leave out rows with a spam score above this (100 keeps all). link_gap uses 30 when it is not sent.
one_per_domainNobacklinks view: at most one link per referring domain.
idempotency_keyNoOptional. A repeated identical call is answered from the shared cache at no charge.
show_link_farmsNolink_gap view: keep the link farms (sites that started linking in the last 6 months from 500 or more of their pages), which the gap leaves out by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / targets / description
      Previous value: -"pages_summary view only: 1 to 10 pages (full http(s) URLs) or domains."New value: +"pages_summary view: 1 to 10 pages (full http(s) URLs) or domains. web_graph view with compare_to: up to 3 competitor domains in all, counting target."
  2. Changed2 schema fields changed
    • changedInput schema / properties / compare_to / description
      Previous value: -"link_gap view: your own domain, such as example.com; the answer lists domains linking to target but not to it."New value: +"link_gap and web_graph views: your own domain, such as example.com; the answer lists domains linking to target but not to it."
    • changedInput schema / properties / view / enum
      Previous value: -[
      -  "overview",
      -  "summary",
      -  "history",
      -  "backlinks",
      -  "referring_domains",
      -  "anchors",
      -  "pages",
      -  "link_gap",
      -  "audit",
      -  "pages_summary"
      -]New value: +[
      +  "overview",
      +  "summary",
      +  "history",
      +  "backlinks",
      +  "referring_domains",
      +  "anchors",
      +  "pages",
      +  "link_gap",
      +  "audit",
      +  "pages_summary",
      +  "web_graph"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / sort / description
      Previous value: -"The order of a list over the whole index. backlinks view: best (default) puts the links passing the most strength to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. newest puts the links the index found most recently first. referring_domains view: best (most strength passed), backlinks (most backlinks) or newest. anchors view: best (most backlinks), domains (most referring domains) or newest. pages and link_gap: best only."New value: +"The order of a list over the whole index. backlinks view: best (default) puts the links worth the most to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. newest puts the links the index found most recently first. referring_domains view: best (most link value), backlinks (most backlinks) or newest. anchors view: best (most backlinks), domains (most referring domains) or newest. pages and link_gap: best only."
  4. Changed1 schema field changed
    • addedInput schema / properties / allow_older
      Added value: +{
      +  "default": false,
      +  "description": "Show an older kept answer (stale, dated) when none from the last 7 days is stored; free.",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / view / enum
      Previous value: -[
      -  "overview",
      -  "summary",
      -  "history",
      -  "backlinks",
      -  "referring_domains",
      -  "anchors",
      -  "pages",
      -  "link_gap",
      -  "pages_summary"
      -]New value: +[
      +  "overview",
      +  "summary",
      +  "history",
      +  "backlinks",
      +  "referring_domains",
      +  "anchors",
      +  "pages",
      +  "link_gap",
      +  "audit",
      +  "pages_summary"
      +]
  6. Changed2 schema fields changed
    • changedInput schema / properties / max_spam_score / description
      Previous value: -"backlinks, referring_domains, anchors and link_gap views: leave out rows with a spam score above this."New value: +"backlinks, referring_domains, anchors and link_gap views: leave out rows with a spam score above this (100 keeps all). link_gap uses 30 when it is not sent."
    • addedInput schema / properties / show_link_farms
      Added value: +{
      +  "default": false,
      +  "description": "link_gap view: keep the link farms (sites that started linking in the last 6 months from 500 or more of their pages), which the gap leaves out by default.",
      +  "type": "boolean"
      +}
  7. Changed2 schema fields changed
    • changedInput schema / properties / sort / description
      Previous value: -"backlinks view: best (default) puts the links passing the most strength to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. newest puts the links the index found most recently first."New value: +"The order of a list over the whole index. backlinks view: best (default) puts the links passing the most strength to the target first; the index scores that for each link but does not return it, so the list is not sorted by source domain rank. newest puts the links the index found most recently first. referring_domains view: best (most strength passed), backlinks (most backlinks) or newest. anchors view: best (most backlinks), domains (most referring domains) or newest. pages and link_gap: best only."
    • changedInput schema / properties / sort / enum
      Previous value: -[
      -  "best",
      -  "newest"
      -]New value: +[
      +  "best",
      +  "newest",
      +  "backlinks",
      +  "domains"
      +]
  8. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Given annotations (readOnlyHint false, openWorldHint true, idempotent false, destructive false), the bar is lower, and the description still covers credits (60 per provider request, overview two requests), 7-day free shared cache, measure/refresh semantics, stale handling with age_days, and the NO_DATA vs null distinction, which matches the non-readonly annotations. Minor gap: no explicit note that the call spends credits upfront when refresh is set.

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 dense but sprawling: a single enormous paragraph with deeply nested parentheticals (e.g., rank definitions inside view definitions inside the overview block) that make it hard to scan. It is front-loaded with the default view and mostly earns its length, but restructuring into per-view bullets would substantially improve parseability.

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?

For a 17-parameter operation with no output schema, the description covers every view's output shape, filters, paging cap (100 rows, offset to 1000), audit toxicity levels and disavow_file semantics, credit model, and edge cases (too_large, NOT_MEASURED, shared host counting). Nothing essential to invocation or interpretation is missing.

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 94%, so the schema already documents most parameters. The description adds some meaning (why sort best does not correlate with domain rank, spam score polarity, link_gap's implicit spam cap, allow_older vs measure interaction), but most of this is repeated in the schema descriptions rather than extending them.

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 description opens with a specific verb and resource ('Backlinks of any public domain or page from the DataForSEO Backlinks index') and then enumerates the eleven views with what each returns. An agent can distinguish overview from backlinks from link_gap from audit without opening the 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?

Guidance is explicit per view: overview is the default summary, backlinks lists individual links, link_gap compares you to a competitor for prospects, audit is for toxicity/disavow, web_graph is free and only names domains, pages_summary takes multiple targets. Defaults (sort best, max_spam_score 30 for link_gap) and when NOT to trust results (lower-bound counts, index sample, not every web link) are stated.

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