Skip to main content
Glama

Look up a domain's Domain Rating

check_domain_rating
Read-onlyIdempotent

Look up a domain's Domain Rating (Ahrefs' 0–100 measure of its backlink profile) and its rank, from Ahrefs' free Domain Rating endpoint — credit it as "Domain Rating by Ahrefs" wherever you show it. Needs an agent token (connect an account first): each reading spends a shared daily budget. Cached; nothing else is read from the site.

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

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain to look up (example.com), or any URL on it.

Output Schema

NameRequiredDescriptionDefault
hostYes
rankNo
toolYes
creditYesShow this credit with the number (Ahrefs' Domain Rating licence).
listingNoWhether the site is listed on the directory: its page when it is (and claimUrl while nobody has proven they own it), where to list it when not.
toolUrlYes
checkedAtNoUnix seconds.
domainRatingYes0–100, Domain Rating by Ahrefs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Well beyond the annotations, it discloses an auth requirement, a shared daily budget consumed per reading, caching behavior, scoping ('nothing else is read from the site'), and an attribution obligation. What remains unstated is failure behavior when the budget is exhausted or the token is absent. With readOnly/idempotent/OpenWorld already declared, this is meaningful added context.

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?

Front-loads the purpose, then packs auth, quota, cache, and attribution into em-dash clauses with little filler. The single run-on sentence is dense but each segment carries distinct operational 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?

An output schema exists, so return values need no explanation; the description instead covers the things the schema cannot: auth, quota cost, caching, data scope, and attribution. That is complete for a one-parameter, annotated read tool.

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 100% and the single parameter's description already explains that any URL on the domain is accepted, so the schema does all the work. The tool description adds no further meaning about the domain argument, which is the expected baseline at full coverage.

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?

States a specific verb ('look up') and resource ('a domain's Domain Rating'), and even defines what the metric is (Ahrefs' 0-100 measure of its backlink profile). It does not explicitly distinguish itself from the many sibling check_* tools (e.g. check_agent_readiness, lookup_domain), so the differentiation is implicit in the resource name rather than stated.

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 description supplies prerequisites ('Needs an agent token (connect an account first)') but never states when to choose this over a sibling check or lookup_domain, nor any when-not condition. Usage context is implied by the metric name rather than spelled out.

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