Skip to main content
Glama

Get domain keyword opportunities

get_domain_keyword_suggestions

Returns the organic keywords a domain ranks for, including position and available metrics. Use after get_domain_overview when you want the detailed keyword opportunity list for a competitor or reference domain. Charges credits (~5 typical). Cached for 12 hours.

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>",
      "domain": "<domain>"
    },
    "name": "get_domain_keyword_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoResearch scope: 'domain' (hostname without subdomains), 'subdomains' (hostname plus all subdomains), 'subfolder' (path and its children), or 'exact_url' (one page). Defaults to 'subdomains' for root inputs and 'subfolder' when the input has a path.
domainYesCompetitor or reference domain or URL to extract keywords from.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
languageCodeNoLanguage code (e.g. 'en', 'es', 'vi'). Defaults to the project's default market language (see list_projects).
locationCodeNoDataForSEO location code. Defaults to the project's default market (see list_projects; editable in project settings). See dataforseo.com/help-center/locations. Some countries (e.g. Iceland, 2352) are served from Google Ads data: keyword volume/CPC/trends work, but keyword difficulty, search intent, and domain analytics are unavailable.

Output Schema

NameRequiredDescriptionDefault
metaNo
scopeNo
targetNo
keywordsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with destructiveHint=false, which is consistent with a call that consumes credits rather than mutating data. The description adds genuinely useful behavior beyond the annotations: an approximate credit charge (~5 typical) and a 12-hour cache window, both of which affect whether an agent should call it. It doesn't mention rate limits or what happens when credits run out, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what is returned, then when to use it, then the cost and caching caveats. Every sentence carries actionable information with no filler or repetition of schema content.

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?

With an output schema present, the description needn't explain return fields, and it covers the remaining agent-relevant concerns: sequencing after get_domain_overview, credit consumption, and cache staleness. For a read-style analytics call with fully documented parameters, nothing essential 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 description coverage is 100%, including the scope enum and a detailed locationCode caveat about Google Ads-sourced countries, so the schema already does the heavy lifting. The description adds only a light hint that the domain may be a competitor or reference domain, with no detail on scope or language/location behavior beyond what the schema states. Baseline 3 is appropriate.

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+resource: returns the organic keywords a domain ranks for, including position and available metrics. It also positions itself relative to get_domain_overview as the deeper keyword-level follow-up, which helps distinguish it from the simpler overview call. It stops short of clarifying how it differs from a broad ranked-keywords style sibling, leaving some ambiguity.

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?

"Use after get_domain_overview when you want the detailed keyword opportunity list for a competitor or reference domain" gives a clear sequencing rule and target scenario. It does not state when NOT to use it or name an alternative for adjacent use cases, so it falls just short of the explicit when/when-not/alternatives bar.

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.