Skip to main content
Glama

Keyword Research

keyword_research

Keyword research with metrics for one seed keyword in one market, from DataForSEO Labs (Google Ads data): seed_row is the seed itself and rows are its ideas, each with search_volume (monthly average), cpc (USD), competition (0-1) and competition_level, keyword_difficulty (0-100, DataForSEO Labs; a different measure from DataFluxor's own results-page estimate on google_serp_scrape, topic_research and competitor_gap_extractor, and the two can differ widely), intent, monthly_searches and trend, source_updated_at (when Labs last updated the keyword) and fetched_at (when DataFluxor bought it). A keyword DataForSEO's keyword database does not hold yet (it is updated monthly, so new terms take weeks) gets search_volume, cpc and competition from Google Ads search volume instead: provider is DataForSEO (Google Ads) and it has no keyword_difficulty, intent or SERP features; such a seed is shown in seed_row, such Autocomplete or results-page ideas in partial_rows. A seed neither source has a volume for, whose words with one number lower are measured (fc 27 -> fc 26), gets estimated_search_volume from Google Trends (volume_estimate says how; free); search_volume stays null. source auto (default: ideas containing the seed), phrase (the same list), exact (ideas holding the seed as one phrase, words in order), questions (ideas worded as a question, from every idea the source holds, not only the most searched), related (Google's related searches, a few levels deep) or category (ideas from the seed's category); exact and questions are lists of their own, priced like phrase. Other wordings Google Ads reports as one search (same words in another order, or the same Google Ads group: equal volume, CPC and monthly series) are one row, naming the others in close_variants. rows hold only ideas with all four figures (search volume, keyword difficulty, cpc and competition). Ideas with volume and difficulty but no cpc or no competition in any source checked are counted in partial (coverage.partial_* say why) and left out of the answer; include_partial true lists them in partial_rows (partial_listed says which), never mixed into rows; hidden counts the ideas without volume or difficulty. A cpc or competition the current record lacks is first looked up in DataForSEO Labs' monthly history: the latest of the last 24 months holding one fills it, dated by cpc_month / competition_month with cpc_provider / competition_provider naming the history; rows looked up carry history_checked_at and history_fill reports what it supplied. While rows are fewer than limit, auto fills them from a related list, then a category list, then the 300-idea list of each when the shorter one held more ideas; sources lists each list read (rows_in_table, partial, total, credits_used, or why it was not read) and each row's provider names its list. A missing figure is null, never 0, and says why: cpc_status is measured, bid_range_only (no CPC, but low_top_of_page_bid and high_top_of_page_bid), no_bid_data (the keyword's dated Google Ads record reports no CPC and no bid estimate) or not_returned; competition_status is measured, not_reported (the record reports no competition index) or not_returned. coverage counts each and how many rows have every figure (all_figures); partial_* count partial_rows the same way. ads_check true also asks DataForSEO's Google Ads data (Google Ads search volume) for the missing CPC and competition figures: filled figures name cpc_provider / competition_provider, rows Google Ads answered carry ads_checked_at, and ads_check reports what it supplied; 185 credits once per list, free when any account already checked it or when Google Ads supplies no figure. complete is true only when the rows are every idea the source holds; total counts them. Price, quoted before you buy: a new search costs its list (40 credits for limit 50, 50 for 100, 65 for 150, 100 for 300; category, which adds the seed's own figures: 65, 75, 85, 125), charged only when at least one of the list's ideas reaches the answer (a list with no idea, only the seed's figures or only ideas already listed is free; so is an auto fill list whose ideas all lack the seed's words), plus at most as much again for the lookup of the figures some of its ideas lack (DataForSEO's cost at the cheapest credit, rounded up to 5; history_fill false skips it, and those ideas stay in partial); auto may also buy its fill lists, each at its own price and with its own lookup, only while rows are short of limit (credits_top_up_max is the most the lists add; an auto search's lookups are at most credits_history_max in all). max_credits caps the whole search: no list, lookup or Google Ads check is bought that would take the charge past it, price.skipped names each part left out with its price, and a search whose own list costs more than max_credits is refused before anything is charged (PRICE_ABOVE_LIMIT). Without max_credits the cap is what the workspace page sends for the keyword data: the list's price plus its lookup (80 for limit 50, 100 for 100, 130 for 150, 200 for 300; category: 105, 125, 150, 225; the list alone with history_fill false), plus 185 each for ads_check and global_volume when asked, each spent only on itself; price.default_cap is then true and price.note says so. The workspace page's quote for the same list is 5 more (85 for limit 50, 135 for 150): it also buys Google's top 10 results, which this tool does not. Auto buys its fill lists only inside the cap, so to let it fill a short table from them pass a higher max_credits (price.skipped names each part left out with its price); max_credits = the list's own price (40 for limit 50) buys the list only, at a fixed price. price answers most (the most this call could charge as asked, never above max_credits), charged and parts (list, history, top_ups, ads_check). A list any account bought in the last 30 days and a stored lookup are free from the shared cache. measure false only reads what is stored and never charges: its price.most is the quote for a new search. allow_older true: when no list from its window (30 days; 48 hours for a list DataForSEO Labs held nothing for) is stored, the older list DataFluxor kept (up to 400 days after it was bought) answers instead of NOT_MEASURED, free, with stale true, fetched_at (when it was measured) and age_days, its other lists and lookups read from what was kept too; credits_to_measure is then the price of today's list. With measure, today's list is still bought, and the older list stands in only when the purchase is refused or the source fails (purchase_refused says why; nothing charged). Without allow_older stale is absent. global_volume true also answers global_volume for the seed: its monthly Google searches in every country and language (Google Ads; status MEASURED with search_volume, NO_DATA when Google Ads holds none, NOT_MEASURED when not bought, UNAVAILABLE with message on a failure); 185 credits charged apart from the list (global_volume.credits_used), free when any account bought it in the last 7 days or when the answer is NO_DATA, and with measure false only a stored figure is read. Keyword Magic filters narrow the answer for free and never change what is bought or its price: min_volume / max_volume, min_difficulty / max_difficulty, min_cpc / max_cpc, min_words / max_words, min_competition / max_competition (0-1), serp_feature (one name from rows[].serp_features), min_results / max_results (Google's result count), intent (any of the listed intents), include_words (include_mode any or all; whole words or phrases), exclude_words, questions_only (a question word anywhere, or a question verb first), and topic / subtopic (a word from topics). A row without a figure never passes a range on it (unknown, not 0). With filters, rows_before_filters and filtered_out say how many were left out, filters echoes them, and partial_rows are narrowed the same way. topics groups the rows every other filter keeps by the words they share (not the seed's): topic (the word to pass as topic), label (the word or phrase to show), keywords, search_volume (null when none has one) and subtopics. For words only, without metrics, google_suggest_harvest is cheaper (1 credit per query).

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": {
      "seed": "<seed>"
    },
    "name": "keyword_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedYesThe seed keyword, such as serp api.
limitNoIdeas to return at most (also sets the price).
topicNoFilter (free): only keywords in this topic (a word from topics[].topic).
intentNoFilter (free): keep keywords with any of these intents.
sourceNoauto
countryNoTwo-letter market code, such as US or GB (UK is read as GB).US
max_cpcNoFilter (free): CPC in USD at most this.
measureNofalse: only read a stored list, never charge.
min_cpcNoFilter (free): CPC in USD at least this.
languageNoTwo-letter language code, such as en or de.en
subtopicNoFilter (free): within topic, only keywords in this subtopic (topics[].subtopics[].topic).
ads_checkNotrue: also ask DataForSEO's Google Ads data for the missing CPC and competition figures (185 credits; free when the list was already checked).
max_wordsNoFilter (free): words in the keyword at most this.
min_wordsNoFilter (free): words in the keyword at least this.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
max_volumeNoFilter (free): monthly searches at most this.
min_volumeNoFilter (free): monthly searches at least this.
allow_olderNoShow the older kept list (stale, dated) when none from its window is stored; free.
max_creditsNoOptional. The most this search may charge in all: no part that would pass it is bought (price.skipped names them). Default: the workspace's price for the keyword data, the list and its lookup (80 for a 50-idea list; the page shows 85, adding Google's top 10 results, which this tool does not buy), plus 185 each for ads_check and global_volume when asked. The list's own price (40 for 50 ideas) buys the list only; pass more to let auto buy its fill lists.
max_resultsNoFilter (free): Google's result count at most this.
min_resultsNoFilter (free): Google's result count at least this.
history_fillNofalse: do not buy the monthly-history lookup of missing CPC and competition figures; a new list then costs its own price only.
include_modeNoany
serp_featureNoFilter (free): only keywords whose Google page shows this feature, such as featured_snippet or people_also_ask (rows[].serp_features).
exclude_wordsNoFilter (free): drop keywords holding any of these whole words or phrases.
global_volumeNotrue: also answer the seed's global volume (monthly Google searches in every country and language; 185 credits, free when stored).
include_wordsNoFilter (free): keep keywords holding these whole words or phrases (include_mode any or all).
max_difficultyNoFilter (free): keyword difficulty at most this.
min_difficultyNoFilter (free): keyword difficulty at least this.
questions_onlyNoFilter (free): only question keywords (how, what, why, ... anywhere; can, is, does, ... first). source questions finds them among every idea the source holds.
idempotency_keyNoOptional. A repeated identical call is answered from the shared cache at no charge.
include_partialNotrue: also list, in partial_rows, the ideas no source checked holds a CPC or competition figure for (null, never 0). Default: they are only counted (partial).
max_competitionNoFilter (free): Google Ads competition at most this (0-1).
min_competitionNoFilter (free): Google Ads competition at least this (0-1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / max_credits / description
      Previous value: -"Optional. The most this search may charge in all: no part that would pass it is bought (price.skipped names them). Default: the workspace's price, the list and its lookup (80 for a 50-idea list), plus 185 each for ads_check and global_volume when asked. The list's own price (40 for 50 ideas) buys the list only; pass more to let auto buy its fill lists."New value: +"Optional. The most this search may charge in all: no part that would pass it is bought (price.skipped names them). Default: the workspace's price for the keyword data, the list and its lookup (80 for a 50-idea list; the page shows 85, adding Google's top 10 results, which this tool does not buy), plus 185 each for ads_check and global_volume when asked. The list's own price (40 for 50 ideas) buys the list only; pass more to let auto buy its fill lists."
  2. Changed1 schema field changed
    • addedInput schema / properties / allow_older
      Added value: +{
      +  "default": false,
      +  "description": "Show the older kept list (stale, dated) when none from its window is stored; free.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses extensive behavior: credit costs, caps, shared-cache reuse, stale-data fallback with age_days, partial-row inclusion rules, null-not-zero semantics, status fields such as cpc_status and competition_status, and failure behavior like PRICE_ABOVE_LIMIT. This goes far beyond the supplied readOnly/openWorld/idempotent/destructive hints.

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

Conciseness2/5

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

The content is front-loaded and technically rich, but the description is a single sprawling paragraph with repeated pricing explanations, repeated max_credits details, and repeated workspace quote comparisons. It is far longer than needed for scannability and would benefit from structured sections or tables, especially for the price and fallback rules.

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?

Given 34 parameters, no output schema, and complex billing/caching/fallback behavior, the description is complete enough for an agent to understand return fields, status codes, paid side effects, filtering semantics, and edge cases. The remaining issue is presentation density rather than missing information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is already 94%, the description adds substantial meaning beyond the schema: source modes define different underlying lists, measure and allow_older change charging and staleness behavior, ads_check and history_fill control paid lookups, include_partial changes where partial ideas appear, and filters are explicitly free and do not alter purchase price. These are behavioral relationships an agent could not infer from the parameter types alone.

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?

The description opens with a specific verb and resource: keyword research with metrics for one seed keyword in one market from DataForSEO Labs. It also distinguishes the tool from siblings by noting that google_suggest_harvest is cheaper for words without metrics and by contrasting its keyword_difficulty measure with DataFluxor's own estimate on google_serp_scrape, topic_research and competitor_gap_extractor.

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?

It gives explicit usage guidance for source modes, measure=false, allow_older, ads_check and global_volume, and it names google_suggest_harvest as a cheaper alternative for words-only research. However, it does not cleanly delimit when to use this tool versus other metric-oriented siblings such as keyword_metrics or topic_research, leaving some routing inference to the agent.

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