Skip to main content
Glama

Import Google Ranked Keywords

pull_ranked_keywords

Fetch Google Top-100 ranked keywords for a site domain from DataForSEO, including search volume, CPC, difficulty, and estimated traffic, then import them to discover existing rankings.

Instructions

Query DataForSEO for Google Top-100 ranked keywords on a site domain (with search volume, CPC, difficulty, and est. traffic) and import them. Use to discover existing rankings; for manual additions or live Serper checks on tracked terms, use add_keywords or enrich_keywords_serp. Requires a write token and consumes DataForSEO quota.

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": {
      "site_id": "<site_id>"
    },
    "name": "pull_ranked_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum top ranked keywords to fetch from DataForSEO (default 30).
countryNoISO 3166-1 alpha-2 country code for Google location (e.g. "US", "GB", default "US").US
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.1.1
    • addedInput schema / properties / country / default
      Added value: +"US"
    • changedInput schema / properties / country / description
      Previous value: -"ISO country code e.g. US, GB (default US)"New value: +"ISO 3166-1 alpha-2 country code for Google location (e.g. \"US\", \"GB\", default \"US\")."
    • addedInput schema / properties / limit / default
      Added value: +30
    • changedInput schema / properties / limit / description
      Previous value: -"Max keywords to pull (default 30)"New value: +"Maximum top ranked keywords to fetch from DataForSEO (default 30)."
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare non-read-only, open-world, non-destructive, non-idempotent behavior, so the safety profile is largely covered. The description adds real value with the write-token requirement and DataForSEO quota consumption, but does not warn that re-running imports duplicates (the non-idempotent trait) or what happens to keywords already tracked.

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 tight sentences: action first, alternative routing second, cost/auth constraints last. Every clause carries information and nothing is redundant.

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 no output schema, the description usefully enumerates the returned metrics (search volume, CPC, difficulty, est. traffic) and covers auth and quota cost. The only real gap is duplicate-handling behavior on re-import, which matters for a non-idempotent write 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%, so site_id, country, and limit are already documented with defaults and ranges. The description implies the 'Top-100' ceiling and the domain scope, but adds no syntax or format detail beyond the schema; baseline 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?

States a concrete verb chain (query DataForSEO, then import) on a specific resource (Google Top-100 ranked keywords for a site domain), and even names the data fields returned. It is clearly distinguishable from add_keywords and enrich_keywords_serp, which are named directly.

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

Usage Guidelines5/5

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

Explicitly says when to use it ('discover existing rankings') and routes the agent elsewhere for the two nearest alternatives: manual additions via add_keywords, live Serper checks via enrich_keywords_serp. No inference required.

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