Skip to main content
Glama

Get domain keyword opportunities

get_domain_keyword_suggestions
Read-onlyIdempotent

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 (~100-300 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 NameIO 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).
locationCodeNoLocation code. Defaults to the project's default market (see list_projects; editable in project settings). 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
Behavior5/5

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

The annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds genuinely non-derivable operational context: credit consumption of ~100-300 per call and a 12-hour cache. Cost and cache freshness materially affect how an agent should batch and reuse this call, which is exactly the added value expected beyond annotations.

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?

Four short sentences with zero filler: what it returns, when to use it, what it costs, and how it caches. The return semantics are front-loaded and each sentence carries distinct, actionable information.

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 present and annotations plus a fully documented input schema, the description only needs to add routing, cost, and freshness context, which it does. Completeness is slightly short only in not clarifying how its output differs from the overlapping keyword-listing siblings.

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%, and the schema already documents scope semantics, language/location defaults, and the Google Ads data caveat for certain countries. The description adds nothing parameter-specific beyond naming the domain, so the baseline 3 applies.

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 gives a specific verb and resource ('Returns the organic keywords a domain ranks for') plus the return contents (position, metrics). It even positions itself against a named sibling ('after get_domain_overview'), but it never distinguishes itself from get_ranked_keywords, which reads like a near-equivalent keyword list, leaving a small ambiguity gap.

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?

The description supplies explicit sequencing ('Use after get_domain_overview') and a clear trigger ('when you want the detailed keyword opportunity list for a competitor or reference domain'). It lacks a 'when not to use' exclusion for the similar keyword tools, but the positive guidance is unambiguous.

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