Skip to main content
Glama

Check backlinks

check_backlinks

Returns the backlink profile of any domain (competitors, prospects or the user's own site) from the DataForSEO backlinks index: Ahrefs Domain Rating, total live backlinks, referring domains, main domains and IPs, broken backlinks and pages, nofollow counts, the top TLDs of the linking pages and the 20 strongest backlinks (one per referring domain, sorted by domain rank) with source URL, target URL, anchor, dofollow flag, first-seen date and page title. Accepts a bare domain or a full URL; subdomains and paths are reduced to the registrable domain. Profiles are cached for 7 days (1 hour when the Domain Rating is unavailable) and the response says whether it came from the cache; the credit is charged for every call, cached or not, so do not call it twice for the same domain. Takes up to two and a half minutes on a cache miss. Limited to 30 checks per hour per website. Use check_domain_rating when only the Domain Rating is needed (free). Costs 1 AI brain credit, charged before the work, refunded if the provider fails. Requires an active subscription or free trial. Pass website_id when the account has several websites (see get_account).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
website_idNoWebsite id from get_account. Optional when the account has a single website.
domain_or_urlYesA domain name (example.com) or a full http(s) URL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cachedYes
domainYes
top_tldsYes
backlinksYesLive backlinks in the index.
checked_atYes
website_idYesWebsite the result belongs to.
broken_pagesYes
domain_ratingYes
referring_ipsYes
top_backlinksYesStrongest backlinks, one per referring domain.
broken_backlinksYes
referring_domainsYes
nofollow_backlinksYes
credits_balance_afterNoAI brain credits balance after this call.
referring_main_domainsYes
nofollow_referring_domainsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses meaningful behavioral details: calls are charged even when cached, results are cached for 7 days, cache misses can take up to two and a half minutes, there is a 30-per-hour limit, and the credit is refunded if the provider fails. No contradiction with annotations exists; the readOnlyHint=false aligns with the described non-free, non-idempotent behavior.

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?

The description is long but densely informative, with each clause covering a distinct operational concern: output contents, normalization, caching, cost, latency, rate limits, and authentication. It is front-loaded with the primary purpose and the most relevant selection-relevant facts, though the output field enumeration could arguably be trimmed.

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?

Given the tool's complexity, the description covers all necessary context: input normalization, caching behavior, costs, failure refund, rate limits, subscription requirements, website_id handling, and the key alternative tool. An output schema is already present, so detailing return values is unnecessary.

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 schema already documents both parameters. The description adds important semantic clarity by explaining that subdomains and paths are reduced to the registrable domain, and by specifying when website_id is needed, which goes beyond the schema's basic descriptions.

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 states a specific verb and resource: 'Returns the backlink profile of any domain' from the DataForSEO backlinks index, enumerating the exact metrics returned. It explicitly distinguishes itself from the sibling check_domain_rating by naming when that alternative is appropriate.

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?

The description clearly says to use check_domain_rating when only Domain Rating is needed, and explicitly warns not to call check_backlinks twice for the same domain due to credit charges and caching. It also provides rate limits, caching duration, and required subscription context, giving the agent actionable selection criteria.

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.