Skip to main content
Glama
ravinwebsurgeon

DataForSEO MCP Server

backlinks_bulk_spam_score

Analyze bulk domains, subdomains, and pages to determine their spam score using DataForSEO's proprietary metric, helping identify potentially harmful backlink sources.

Instructions

This endpoint will provide you with spam scores of the domains, subdomains, and pages you specified in the targets array. Spam Score is DataForSEO’s proprietary metric that indicates how “spammy” your target is on a scale from 0 to 100

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetsYesdomains, subdomains or webpages to get rank for required field you can set up to 1000 domains, subdomains or webpages the domain or subdomain should be specified without https:// and www. the page should be specified with absolute URL (including http:// or https://) example: "targets": [ "forbes.com", "cnn.com", "bbc.com", "yelp.com", "https://www.apple.com/iphone/", "https://ahrefs.com/blog/", "ibm.com", "https://variety.com/", "https://stackoverflow.com/", "www.trustpilot.com" ]

Implementation Reference

  • The `handle` method implements the core logic of the `backlinks_bulk_spam_score` tool, making a POST request to DataForSEO's `/v3/backlinks/bulk_spam_score/live` endpoint with the `targets` parameter and handling the response.
    async handle(params: any): Promise<any> {
      try {
        const response = await this.client.makeRequest('/v3/backlinks/bulk_spam_score/live', 'POST', [{
          targets: params.targets
        }]);
        return this.validateAndFormatResponse(response);
      } catch (error) {
        return this.formatErrorResponse(error);
      }
    }
  • Zod schema defining the input parameters for the tool: an array of strings for `targets` (domains, subdomains, or URLs).
      getParams(): z.ZodRawShape {
        return {
          targets: z.array(z.string()).describe(`domains, subdomains or webpages to get rank for
    required field
    you can set up to 1000 domains, subdomains or webpages
    the domain or subdomain should be specified without https:// and www.
    the page should be specified with absolute URL (including http:// or https://)
    example:
    "targets": [
    "forbes.com",
    "cnn.com",
    "bbc.com",
    "yelp.com",
    "https://www.apple.com/iphone/",
    "https://ahrefs.com/blog/",
    "ibm.com",
    "https://variety.com/",
    "https://stackoverflow.com/",
    "www.trustpilot.com"
    ]`)
        };
      }
  • Import statement for the BacklinksBulkSpamScoreTool class.
    import { BacklinksBulkSpamScoreTool } from './tools/backlinks-bulk-spam-score.tool.js';
  • Instantiation of the BacklinksBulkSpamScoreTool instance added to the tools list in BacklinksApiModule's `getTools()` method, which registers the tool with name from `getName()`.
    new BacklinksBulkSpamScoreTool(this.dataForSEOClient),
  • The `getName()` method returns the exact tool name 'backlinks_bulk_spam_score' used for registration.
    getName(): string {
      return 'backlinks_bulk_spam_score';
    }
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions the spam score metric and scale, but lacks critical behavioral details: whether this is a read-only operation, rate limits, authentication requirements, response format, pagination, or error handling. For a bulk processing tool with no annotations, this leaves significant gaps in understanding how the tool behaves.

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 appropriately concise with two sentences that directly state the tool's function and explain the spam score metric. There's no unnecessary information, and it's front-loaded with the core purpose. It could be slightly improved by adding a brief usage context, but it's efficiently written.

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

Completeness2/5

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

For a tool with no annotations and no output schema, the description is incomplete. It doesn't explain what the output looks like (e.g., structured data with scores per target), error conditions, or performance characteristics. Given the complexity of bulk processing and the lack of structured metadata, the description should provide more operational context to be fully helpful.

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%, providing comprehensive details about the 'targets' parameter including format, examples, and constraints. The description adds minimal value beyond the schema by mentioning that targets include 'domains, subdomains, and pages' and that spam scores are returned. This meets the baseline for high schema coverage where the schema does most of the work.

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 clearly states the tool's purpose: 'provide you with spam scores of the domains, subdomains, and pages you specified in the targets array.' It includes a specific verb ('provide') and resource ('spam scores'), and explains the proprietary metric scale (0-100). However, it doesn't explicitly differentiate from sibling tools like 'backlinks_bulk_ranks' or 'backlinks_bulk_pages_summary' that also process bulk targets.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools, prerequisites, or specific use cases. The only contextual information is the target format, which is covered in the schema. Without usage context, an agent might struggle to choose between this and other bulk backlink tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ravinwebsurgeon/seo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server