Skip to main content
Glama

Find SERP competitors

find_serp_competitors

Compares domains competing in Google results for a supplied keyword set in a country-level DataForSEO Labs market. Accepts location/language codes; not radius-based local SEO. Charges credits (~5 typical).

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": {
      "projectId": "<projectId>",
      "keywords": "<keywords>"
    },
    "name": "find_serp_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum competitors to return (1-100). Defaults to 50.
marketNoLegacy US selector. Prefer locationCode/languageCode for any Labs market. Explicit locationCode takes precedence; otherwise omitted = the project's default market.
offsetNoRows to skip for pagination.
sortByNoSort order for returned competitors. Defaults to visibility.
keywordsYesKeywords whose SERPs are compared (1-100).
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
resultTypesNoSERP result types to include. Defaults to organic and local_pack.
languageCodeNoLanguage for locationCode. Defaults to that location's primary language when locationCode overrides the project market.
locationCodeNoCountry-level DataForSEO Labs location code. Defaults to the project's market; takes precedence over the legacy market object.
excludeDomainsNoDomains to exclude from results (e.g. the user's own site).
includeSubdomainsNoCount subdomains as part of the same competitor domain.

Output Schema

NameRequiredDescriptionDefault
metaNo
competitorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, and the description supplies the most useful missing piece: the credit cost (~5 typical), which plausibly explains the non-read-only flag. It does not discuss return shape, rate limits, or failure modes, and pulling live Google SERP data is arguably closer to open-world than the annotation suggests, though the market-scoping language partly reconciles that.

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?

Three tight clauses with the core purpose front-loaded and no filler. The middle clause partially restates what the schema already documents, which is the only waste.

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

Completeness4/5

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

With an output schema, full parameter documentation, and annotations present, the description's job is mostly to convey cost and market scope, which it does. Pagination, sorting, and exclusion behavior are left to the schema, which is acceptable given its completeness.

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%, so every parameter is already documented, including precedence of locationCode over the legacy market object. The description only echoes the location/language-code concept and adds no new syntax, defaults, or enum meaning, so the baseline of 3 applies.

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?

Names a specific verb and resource ('Compares domains competing in Google results') and scopes it precisely to a keyword set within a country-level DataForSEO Labs market. The clause 'not radius-based local SEO' steers an agent away from the local-pack/rank-grid siblings without needing to open any schema.

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

Usage Guidelines4/5

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

Provides a clear when-not ('not radius-based local SEO') and states the location/language-code mode of operation, which is the key selector between this and geo-grid tools. It stops short of naming an explicit alternative tool, so routing still requires a small 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.