Skip to main content
Glama

Bulk Keyword Metrics

keyword_metrics

Bulk keyword analysis: search volume, keyword difficulty, CPC, competition, intent and the 12-month trend of up to 100 keywords you give, in one market and one call, from DataForSEO Labs (Google Ads data). rows answers every keyword in the order given (duplicates and case removed; measured, no_data and unavailable count them): status MEASURED with search_volume (monthly average of the last 12 months), keyword_difficulty (0-100), cpc (USD), competition (0-1) and competition_level, intent, monthly_searches and trend (% change of the newest month: yearly against the same month a year earlier, the change every DataFluxor page shows; quarterly against 2 months before; monthly against the month before), serp_features, source_updated_at and fetched_at; NOT_IN_DATABASE when the source holds no data for it and NO_VOLUME when Google Ads reports too few searches to measure (both free, counted in no_data); NOT_MEASURED when it is not stored and measure is false; UNAVAILABLE with message when the source could not answer (free). A keyword the Labs database lacks may get search_volume, cpc and competition from Google Ads (volume_provider says so) without difficulty or intent. A missing figure is null, never 0. Price: 1 credit per keyword newly measured with data; a keyword any account measured in the last 30 days is free, and so are keywords with no data and failed calls. credits_to_measure is the most the keywords not stored would cost; measure false only reads what is stored and never charges. max_credits caps the call: when the keywords not stored would cost more, nothing is bought (PRICE_ABOVE_LIMIT). allow_older true: a keyword with no answer from its window (30 days; 48 hours for a Google Ads-only answer) is answered with the older answer DataFluxor kept (up to 400 days after it was bought) instead of NOT_MEASURED, free, marked stale true with its fetched_at and age_days and listed in stale_keywords; credits_to_measure still prices today's figures. With measure, today's figures are still bought, and the older answer stands in only when the purchase is refused or the source fails (purchase_refused says why; nothing charged). For ideas around one seed keyword use keyword_research; for everything about one keyword (its Google top 10, questions, related searches) the workspace Keyword overview.

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

Input Schema

NameRequiredDescriptionDefault
countryNoTwo-letter market code, such as US or GB (UK is read as GB).US
measureNofalse: only read stored figures, never charge (credits_to_measure quotes the rest).
keywordsYes1 to 100 keywords, such as ["crm software", "best crm for small business"].
languageNoTwo-letter language code, such as en or de.en
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
allow_olderNoShow an older kept answer (stale, dated) for a keyword with none from its window; free.
max_creditsNoOptional. The most this call may charge; when the keywords not stored would cost more (1 credit each), nothing is bought.
idempotency_keyNoOptional. A repeated identical call is answered again at no charge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / allow_older
      Added value: +{
      +  "default": false,
      +  "description": "Show an older kept answer (stale, dated) for a keyword with none from its window; free.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description goes far beyond by disclosing the credit price model, the 30-day free-cache window, free failure/no-data cases, PRICE_ABOVE_LIMIT refusal semantics, and stale-answer aging (up to 400 days). It also enumerates per-keyword statuses and states that missing figures are null, never 0, which is exactly the kind of behavior an agent cannot infer from structured fields.

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

Conciseness3/5

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

The purpose and sibling routing are front-loaded, which is good, but the body is one enormous run-on paragraph dense with semicolon-chained status codes and parenthetical rules. Nearly every detail earns its place, yet the lack of structure (no separation of pricing, statuses, and fallback behavior) makes it hard to parse on first read.

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?

For a paid, open-world tool with no output schema, the description supplies everything needed: the exact fields per row, the status vocabulary (MEASURED, NOT_IN_DATABASE, NO_VOLUME, NOT_MEASURED, UNAVAILABLE), null-vs-zero convention, and cost behavior. Little an agent needs in order to call it safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: measure false only reads stored data and never charges, max_credits causes an all-or-nothing refusal, and allow_older substitutes dated stale answers and populates stale_keywords. It does not restate the country/language/verbosity semantics beyond what the schema already documents.

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 first sentence names a specific verb and resource (bulk keyword analysis) and enumerates exactly what is returned (search volume, difficulty, CPC, competition, intent, 12-month trend) for up to 100 keywords in one market. It also explicitly separates itself from keyword_research and the Keyword overview, so an agent can route correctly without opening another schema.

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?

Alternatives are named with the conditions that select them: keyword_research for ideas around a seed, Keyword overview for everything about one keyword. It also gives in-tool decision rules for measure true/false, max_credits caps, and allow_older fallback, which is unusually explicit guidance.

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